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__
28 /* Data system and user data directories. (must free w/ g_free()) */
29 #define LGL_SYSTEM_DATA_DIR g_build_filename (LIBGLABELS_TEMPLATE_DIR, NULL)
30 #define LGL_USER_DATA_DIR g_build_filename (g_get_home_dir (), ".glabels", NULL)
33 #define G_LOG_DOMAIN "LibGlabels"
35 #define UTF8_EQUAL(s1,s2) (!lgl_str_utf8_casecmp (s1, s2))
36 #define ASCII_EQUAL(s1,s2) (!g_ascii_strcasecmp (s1, s2))
39 #endif /* __LIBGLABELS_PRIVATE_H__ */
44 * Local Variables: -- emacs
46 * c-basic-offset: 8 -- emacs
47 * tab-width: 8 -- emacs
48 * indent-tabs-mode: nil -- emacs