1 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
3 * Copyright (C) 2005 Novell, Inc.
5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of version 2 of the GNU Lesser General Public
7 * License as published by the Free Software Foundation.
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the
16 * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
17 * Boston, MA 02110-1301, USA.
20 #ifndef __E_CATEGORIES__
21 #define __E_CATEGORIES__
23 #include <glib/glist.h>
24 #include <glib/gmacros.h>
28 GList *e_categories_get_list (void);
30 void e_categories_add (const char *category, const char *color, const char *icon_file, gboolean searchable);
31 void e_categories_remove (const char *category);
33 gboolean e_categories_exist (const char *category);
34 const char *e_categories_get_color_for (const char *category);
35 void e_categories_set_color_for (const char *category, const char *color);
36 const char *e_categories_get_icon_file_for (const char *category);
37 void e_categories_set_icon_file_for (const char *category, const char *icon_file);
38 gboolean e_categories_is_searchable (const char *category);