]> git.sur5r.net Git - glabels/blob - libglabels/libglabels-private.h
Imported Upstream version 2.2.8
[glabels] / libglabels / libglabels-private.h
1 /*
2  *  (LIBGLABELS) Template library for GLABELS
3  *
4  *  libglabels-private.h:  libglabels private header file
5  *
6  *  Copyright (C) 2004  Jim Evins <evins@snaught.com>.
7  *
8  *  This file is part of the LIBGLABELS library.
9  *
10  *  This library is free software; you can redistribute it and/or
11  *  modify it under the terms of the GNU Library General Public
12  *  License as published by the Free Software Foundation; either
13  *  version 2 of the License, or (at your option) any later version.
14  *
15  *  This library is distributed in the hope that it will be useful,
16  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
17  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
18  *  Library General Public License for more details.
19  *
20  *  You should have received a copy of the GNU Library General Public
21  *  License along with this library; if not, write to the Free
22  *  Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
23  *  MA 02111-1307, USA
24  */
25
26 #ifndef __LIBGLABELS_PRIVATE_H__
27 #define __LIBGLABELS_PRIVATE_H__
28
29 #include <glib/gutils.h>
30 #include <glib/gfileutils.h>
31 #include <glib/gunicode.h>
32
33 #include "str.h"
34
35 /* Data system and user data directories.  (must free w/ g_free()) */
36 #define LGL_SYSTEM_DATA_DIR g_build_filename (LIBGLABELS_TEMPLATE_DIR, NULL)
37 #define LGL_USER_DATA_DIR   g_build_filename (g_get_home_dir (), ".glabels", NULL)
38
39 #undef  G_LOG_DOMAIN
40 #define G_LOG_DOMAIN "LibGlabels"
41
42 #define UTF8_EQUAL(s1,s2) (!lgl_str_utf8_casecmp (s1, s2))
43 #define ASCII_EQUAL(s1,s2) (!g_ascii_strcasecmp (s1, s2))
44
45
46 #endif /* __LIBGLABELS_PRIVATE_H__ */