3 * Copyright (C) 2004-2009 Jim Evins <evins@snaught.com>.
5 * This file is part of libglabels.
7 * libglabels is free software: you can redistribute it and/or modify
8 * it under the terms of the GNU Lesser 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 * libglabels 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 Lesser General Public License for more details.
17 * You should have received a copy of the GNU Lesser General Public License
18 * along with libglabels. If not, see <http://www.gnu.org/licenses/>.
21 #ifndef __LIBGLABELS_PRIVATE_H__
22 #define __LIBGLABELS_PRIVATE_H__
29 /* Data system and user data directories. (must free w/ g_free()) */
30 #define LGL_SYSTEM_DATA_DIR g_build_filename (LIBGLABELS_TEMPLATE_DIR, NULL)
31 #define LGL_USER_DATA_DIR g_build_filename (g_get_home_dir (), ".glabels", NULL)
34 #define G_LOG_DOMAIN "LibGlabels"
36 #define UTF8_EQUAL(s1,s2) (!lgl_str_utf8_casecmp (s1, s2))
37 #define ASCII_EQUAL(s1,s2) (!g_ascii_strcasecmp (s1, s2))
39 void _lgl_db_register_template_internal (const lglTemplate *template);
42 #endif /* __LIBGLABELS_PRIVATE_H__ */
47 * Local Variables: -- emacs
49 * c-basic-offset: 8 -- emacs
50 * tab-width: 8 -- emacs
51 * indent-tabs-mode: nil -- emacs