Updated Hungarian translation
[evolution.git] / mail / e-mail-label-list-store.h
blob6f90ae7e236db517d6482613c17b8a42a9797ae5
1 /*
2 * e-mail-label-list-store.h
4 * This program is free software; you can redistribute it and/or modify it
5 * under the terms of the GNU Lesser General Public License as published by
6 * the Free Software Foundation.
8 * This program is distributed in the hope that it will be useful, but
9 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
10 * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
11 * for more details.
13 * You should have received a copy of the GNU Lesser General Public License
14 * along with this program; if not, see <http://www.gnu.org/licenses/>.
17 * Copyright (C) 1999-2008 Novell, Inc. (www.novell.com)
21 #ifndef E_MAIL_LABEL_LIST_STORE_H
22 #define E_MAIL_LABEL_LIST_STORE_H
24 #include <gtk/gtk.h>
26 /* Standard GObject macros */
27 #define E_TYPE_MAIL_LABEL_LIST_STORE \
28 (e_mail_label_list_store_get_type ())
29 #define E_MAIL_LABEL_LIST_STORE(obj) \
30 (G_TYPE_CHECK_INSTANCE_CAST \
31 ((obj), E_TYPE_MAIL_LABEL_LIST_STORE, EMailLabelListStore))
32 #define E_MAIL_LABEL_LIST_STORE_CLASS(cls) \
33 (G_TYPE_CHECK_CLASS_CAST \
34 ((cls), E_TYPE_MAIL_LABEL_LIST_STORE, EMailLabelListStoreClass))
35 #define E_IS_MAIL_LABEL_LIST_STORE(obj) \
36 (G_TYPE_CHECK_INSTANCE_TYPE \
37 ((obj), E_TYPE_MAIL_LABEL_LIST_STORE))
38 #define E_IS_MAIL_LABEL_LIST_STORE_CLASS(cls) \
39 (G_TYPE_CHECK_CLASS_TYPE \
40 ((cls), E_TYPE_MAIL_LABEL_LIST_STORE))
41 #define E_MAIL_LABEL_LIST_STORE_GET_CLASS(obj) \
42 (G_TYPE_INSTANCE_GET_CLASS \
43 ((obj), E_TYPE_MAIL_LABEL_LIST_STORE, EMailLabelListStoreClass))
45 G_BEGIN_DECLS
47 typedef struct _EMailLabelListStore EMailLabelListStore;
48 typedef struct _EMailLabelListStoreClass EMailLabelListStoreClass;
49 typedef struct _EMailLabelListStorePrivate EMailLabelListStorePrivate;
51 struct _EMailLabelListStore {
52 GtkListStore parent;
53 EMailLabelListStorePrivate *priv;
56 struct _EMailLabelListStoreClass {
57 GtkListStoreClass parent_class;
58 GtkIconFactory *icon_factory;
61 GType e_mail_label_list_store_get_type (void);
62 EMailLabelListStore *
63 e_mail_label_list_store_new (void);
64 gchar * e_mail_label_list_store_get_name (EMailLabelListStore *store,
65 GtkTreeIter *iter);
66 gboolean e_mail_label_list_store_get_color (EMailLabelListStore *store,
67 GtkTreeIter *iter,
68 GdkColor *color);
69 gchar * e_mail_label_list_store_get_stock_id (EMailLabelListStore *store,
70 GtkTreeIter *iter);
71 gchar * e_mail_label_list_store_get_tag (EMailLabelListStore *store,
72 GtkTreeIter *iter);
73 void e_mail_label_list_store_set (EMailLabelListStore *store,
74 GtkTreeIter *iter,
75 const gchar *name,
76 const GdkColor *color);
77 gboolean e_mail_label_list_store_lookup (EMailLabelListStore *store,
78 const gchar *tag,
79 GtkTreeIter *iter);
80 gboolean e_mail_label_tag_is_default (const gchar *tag);
82 G_END_DECLS
84 #endif /* E_MAIL_LABEL_LIST_STORE_H */