X-Git-Url: https://git.sur5r.net/?p=glabels;a=blobdiff_plain;f=libglabels%2Flibglabels-private.h;h=43ea4cd4443232223a1a135b27ced17e3367e07a;hp=dd8bda8320cfbfbd2e48e14b4c922aa72c0854f4;hb=db2403f05e4bd16e08346e4896e8feead63d0b12;hpb=9971dd3e6268224ee930a26fdb30f22395406233 diff --git a/libglabels/libglabels-private.h b/libglabels/libglabels-private.h index dd8bda83..43ea4cd4 100644 --- a/libglabels/libglabels-private.h +++ b/libglabels/libglabels-private.h @@ -1,40 +1,30 @@ /* - * (LIBGLABELS) Template library for GLABELS + * libglabels-private.h + * Copyright (C) 2004-2009 Jim Evins . * - * libglabels-private.h: libglabels private header file + * This file is part of libglabels. * - * Copyright (C) 2004 Jim Evins . + * libglabels is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This file is part of the LIBGLABELS library. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, + * libglabels is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, - * MA 02111-1307, USA + * You should have received a copy of the GNU Lesser General Public License + * along with libglabels. If not, see . */ #ifndef __LIBGLABELS_PRIVATE_H__ #define __LIBGLABELS_PRIVATE_H__ -#include -#include -#include - -#include "str.h" +#include -/* Data system and user data directories. (must free w/ g_free()) */ -#define LGL_SYSTEM_DATA_DIR g_build_filename (LIBGLABELS_TEMPLATE_DIR, NULL) -#define LGL_USER_DATA_DIR g_build_filename (g_get_home_dir (), ".glabels", NULL) +#include "lgl-str.h" +#include "lgl-template.h" #undef G_LOG_DOMAIN #define G_LOG_DOMAIN "LibGlabels" @@ -42,5 +32,18 @@ #define UTF8_EQUAL(s1,s2) (!lgl_str_utf8_casecmp (s1, s2)) #define ASCII_EQUAL(s1,s2) (!g_ascii_strcasecmp (s1, s2)) +void _lgl_db_register_template_internal (const lglTemplate *template); + #endif /* __LIBGLABELS_PRIVATE_H__ */ + + + +/* + * Local Variables: -- emacs + * mode: C -- emacs + * c-basic-offset: 8 -- emacs + * tab-width: 8 -- emacs + * indent-tabs-mode: nil -- emacs + * End: -- emacs + */