3 * Copyright (C) 2001-2010 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/>.
21 #ifndef __BC_BACKENDS_H__
22 #define __BC_BACKENDS_H__
25 #include <libglbarcode.h>
30 GList *gl_barcode_backends_get_backend_list (void);
31 void gl_barcode_backends_free_backend_list (GList *backend_list);
33 const gchar *gl_barcode_backends_backend_id_to_name (const gchar *backend_id);
34 const gchar *gl_barcode_backends_backend_name_to_id (const gchar *backend_name);
36 gboolean gl_barcode_backends_is_backend_id_valid (const gchar *backend_id);
37 const gchar *gl_barcode_backends_guess_backend_id (const gchar *id);
39 GList *gl_barcode_backends_get_styles_list (const gchar *backend_id);
40 void gl_barcode_backends_free_styles_list (GList *styles_list);
42 const gchar *gl_barcode_backends_style_id_to_name (const gchar *backend_id,
44 const gchar *gl_barcode_backends_style_name_to_id (const gchar *backend_id,
47 gchar *gl_barcode_backends_style_default_digits (const gchar *backend_id,
51 gboolean gl_barcode_backends_style_can_text (const gchar *backend_id,
53 gboolean gl_barcode_backends_style_text_optional (const gchar *backend_id,
56 gboolean gl_barcode_backends_style_can_csum (const gchar *backend_id,
58 gboolean gl_barcode_backends_style_csum_optional (const gchar *backend_id,
61 gboolean gl_barcode_backends_style_can_freeform (const gchar *backend_id,
63 guint gl_barcode_backends_style_get_prefered_n (const gchar *backend_id,
66 lglBarcode *gl_barcode_backends_new_barcode (const gchar *backend_id,
69 gboolean checksum_flag,
79 #endif /* __BC_BACKENDS_H__ */
84 * Local Variables: -- emacs
86 * c-basic-offset: 8 -- emacs
87 * tab-width: 8 -- emacs
88 * indent-tabs-mode: nil -- emacs