X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=libglabels%2Fcategory.h;fp=libglabels%2Fcategory.h;h=0000000000000000000000000000000000000000;hb=db2403f05e4bd16e08346e4896e8feead63d0b12;hp=3727d47d9b371344d9b4ef4e676b8381eb2ec605;hpb=9971dd3e6268224ee930a26fdb30f22395406233;p=glabels diff --git a/libglabels/category.h b/libglabels/category.h deleted file mode 100644 index 3727d47d..00000000 --- a/libglabels/category.h +++ /dev/null @@ -1,59 +0,0 @@ -/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 8 -*- */ - -/* - * (LIBGLABELS) Template library for GLABELS - * - * category.h: template category module header file - * - * Copyright (C) 2006 Jim Evins . - * - * 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, - * 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. - * - * 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 - */ - -#ifndef __CATEGORY_H__ -#define __CATEGORY_H__ - -#include -#include - -G_BEGIN_DECLS - -/* - * Template class - */ -typedef struct _lglCategory lglCategory; - -struct _lglCategory { - gchar *id; /* Unique ID of category */ - gchar *name; /* Localized name of category */ -}; - - -/* - * Category construction - */ -lglCategory *lgl_category_new (gchar *id, - gchar *name); - -lglCategory *lgl_category_dup (const lglCategory *orig); -void lgl_category_free (lglCategory *category); - - -G_END_DECLS - -#endif