root/trunk/src/tmut-folder-selector.h

Revision 27 (checked in by pvanhoof, 10 months ago)

Added missing files

Line 
1 #ifndef TMUT_FOLDER_SELECTOR_H
2 #define TMUT_FOLDER_SELECTOR_H
3
4 /* TMut
5  * Copyright (C) 2006-2007 Philip Van Hoof <pvanhoof@gnome.org>
6  *
7  * This library is free software; you can redistribute it and/or
8  * modify it under the terms of the GNU Lesser General Public
9  * License as published by the Free Software Foundation; either
10  * version 2 of the License, or (at your option) any later version.
11  *
12  * This library is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
15  * Lesser General Public License for more details.
16  *
17  * You should have received a copy of the GNU Lesser General Public
18  * License along with self library; if not, write to the
19  * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
20  * Boston, MA 02110-1301, USA.
21  */
22
23 #include <glib.h>
24 #include <gtk/gtk.h>
25 #include <glib-object.h>
26 #include <tny-shared.h>
27
28 #include <tny-account.h>
29 #include <tny-account-store-view.h>
30
31 G_BEGIN_DECLS
32
33 #define TMUT_TYPE_FOLDER_SELECTOR             (tmut_folder_selector_get_type ())
34 #define TMUT_FOLDER_SELECTOR(obj)             (G_TYPE_CHECK_INSTANCE_CAST ((obj), TMUT_TYPE_FOLDER_SELECTOR, TMutFolderSelector))
35 #define TMUT_FOLDER_SELECTOR_CLASS(vtable)    (G_TYPE_CHECK_CLASS_CAST ((vtable), TMUT_TYPE_FOLDER_SELECTOR, TMutFolderSelectorClass))
36 #define TMUT_IS_FOLDER_SELECTOR(obj)          (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TMUT_TYPE_FOLDER_SELECTOR))
37 #define TMUT_IS_FOLDER_SELECTOR_CLASS(vtable) (G_TYPE_CHECK_CLASS_TYPE ((vtable), TMUT_TYPE_FOLDER_SELECTOR))
38 #define TMUT_FOLDER_SELECTOR_GET_CLASS(inst)  (G_TYPE_INSTANCE_GET_CLASS ((inst), TMUT_TYPE_FOLDER_SELECTOR, TMutFolderSelectorClass))
39
40 typedef struct _TMutFolderSelector TMutFolderSelector;
41 typedef struct _TMutFolderSelectorClass TMutFolderSelectorClass;
42
43 struct _TMutFolderSelector
44 {
45         GtkVBox parent;
46 };
47
48 struct _TMutFolderSelectorClass
49 {
50         GtkVBoxClass parent_class;
51
52         /* Signals */
53         void (*folder_selected) (TMutFolderSelector *self);
54
55 };
56
57
58 GType tmut_folder_selector_get_type (void);
59 TMutFolderSelector* tmut_folder_selector_new (void);
60 TnyFolderStore* tmut_folder_selector_get_current (TMutFolderSelector *self);
61
62 G_END_DECLS
63
64 #endif
Note: See TracBrowser for help on using the browser.