]> git.sur5r.net Git - glabels/blob - glabels2/libglabels/libglabels-private.h
2007-10-01 Jim Evins <evins@snaught.com>
[glabels] / glabels2 / 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
32 /* Data system and user data directories.  (must free w/ g_free()) */
33 #define LGL_SYSTEM_DATA_DIR g_build_filename (LIBGLABELS_TEMPLATE_DIR, NULL)
34 #define LGL_USER_DATA_DIR   g_build_filename (g_get_home_dir (), ".glabels", NULL)
35
36 #undef  G_LOG_DOMAIN
37 #define G_LOG_DOMAIN "LibGlabels"
38
39 void lgl_template_init (void);
40 void lgl_paper_init (void);
41 void lgl_category_init (void);
42
43
44 #endif /* __LIBGLABELS_PRIVATE_H__ */