3 * Copyright (C) 2002-2009 Jim Evins <evins@snaught.com>.
5 * This file is part of gLabels.
7 * gLabels is free software: you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation, either version 3 of the License, or
10 * (at your option) any later version.
12 * gLabels is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
17 * You should have received a copy of the GNU General Public License
18 * along with gLabels. If not, see <http://www.gnu.org/licenses/>.
23 #include <glib/gi18n.h>
25 #include "merge-init.h"
26 #include "merge-text.h"
29 #include "merge-evolution.h"
30 #include "merge-vcard.h"
31 #endif /* HAVE_LIBEBOOK */
35 /*========================================================*/
37 /*========================================================*/
39 /*========================================================*/
40 /* Private globals. */
41 /*========================================================*/
43 /*========================================================*/
44 /* Private function prototypes. */
45 /*========================================================*/
48 /*****************************************************************************/
49 /* Initailize document merge module, by registering all available backends. */
50 /*****************************************************************************/
55 gl_merge_register_backend (GL_TYPE_MERGE_TEXT,
57 _("Text file with comma delimeters (CSV)"),
62 gl_merge_register_backend (GL_TYPE_MERGE_TEXT,
64 _("Text file with colon delimeters"),
69 gl_merge_register_backend (GL_TYPE_MERGE_TEXT,
71 _("Text file with tab delimeters"),
78 gl_merge_register_backend (GL_TYPE_MERGE_EVOLUTION,
80 _("Data from default Evolution Addressbook"),
81 GL_MERGE_SRC_IS_FIXED,
84 gl_merge_register_backend (GL_TYPE_MERGE_VCARD,
86 _("Data from a file containing VCards"),
90 #endif /* HAVE_LIBEBOOK */
97 * Local Variables: -- emacs
99 * c-basic-offset: 8 -- emacs
100 * tab-width: 8 -- emacs
101 * indent-tabs-mode: nil -- emacs