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__
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 const gchar *gl_barcode_backends_guess_backend_id (const gchar *id);
38 GList *gl_barcode_backends_get_styles_list (const gchar *backend_id);
39 void gl_barcode_backends_free_styles_list (GList *styles_list);
41 const gchar *gl_barcode_backends_style_id_to_name (const gchar *backend_id,
43 const gchar *gl_barcode_backends_style_name_to_id (const gchar *backend_id,
46 gchar *gl_barcode_backends_style_default_digits (const gchar *backend_id,
50 gboolean gl_barcode_backends_style_can_text (const gchar *backend_id,
52 gboolean gl_barcode_backends_style_text_optional (const gchar *backend_id,
55 gboolean gl_barcode_backends_style_can_csum (const gchar *backend_id,
57 gboolean gl_barcode_backends_style_csum_optional (const gchar *backend_id,
60 gboolean gl_barcode_backends_style_can_freeform (const gchar *backend_id,
62 guint gl_barcode_backends_style_get_prefered_n (const gchar *backend_id,
65 glBarcode *gl_barcode_backends_new_barcode (const gchar *backend_id,
68 gboolean checksum_flag,
78 #endif /* __BC_BACKENDS_H__ */
83 * Local Variables: -- emacs
85 * c-basic-offset: 8 -- emacs
86 * tab-width: 8 -- emacs
87 * indent-tabs-mode: nil -- emacs