| 1 |
#ifndef TMUT_FOLDER_VIEW_H |
|---|
| 2 |
#define TMUT_FOLDER_VIEW_H |
|---|
| 3 |
|
|---|
| 4 |
|
|---|
| 5 |
|
|---|
| 6 |
|
|---|
| 7 |
|
|---|
| 8 |
|
|---|
| 9 |
|
|---|
| 10 |
|
|---|
| 11 |
|
|---|
| 12 |
|
|---|
| 13 |
|
|---|
| 14 |
|
|---|
| 15 |
|
|---|
| 16 |
|
|---|
| 17 |
|
|---|
| 18 |
|
|---|
| 19 |
|
|---|
| 20 |
|
|---|
| 21 |
|
|---|
| 22 |
|
|---|
| 23 |
#include <glib.h> |
|---|
| 24 |
#include <gtk/gtk.h> |
|---|
| 25 |
#include <glib-object.h> |
|---|
| 26 |
#include <tny-shared.h> |
|---|
| 27 |
|
|---|
| 28 |
G_BEGIN_DECLS |
|---|
| 29 |
|
|---|
| 30 |
#define TMUT_TYPE_FOLDER_VIEW (tmut_folder_view_get_type ()) |
|---|
| 31 |
#define TMUT_FOLDER_VIEW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TMUT_TYPE_FOLDER_VIEW, TMutFolderView)) |
|---|
| 32 |
#define TMUT_FOLDER_VIEW_CLASS(vtable) (G_TYPE_CHECK_CLASS_CAST ((vtable), TMUT_TYPE_FOLDER_VIEW, TMutFolderViewClass)) |
|---|
| 33 |
#define TMUT_IS_FOLDER_VIEW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TMUT_TYPE_FOLDER_VIEW)) |
|---|
| 34 |
#define TMUT_IS_FOLDER_VIEW_CLASS(vtable) (G_TYPE_CHECK_CLASS_TYPE ((vtable), TMUT_TYPE_FOLDER_VIEW)) |
|---|
| 35 |
#define TMUT_FOLDER_VIEW_GET_CLASS(inst) (G_TYPE_INSTANCE_GET_CLASS ((inst), TMUT_TYPE_FOLDER_VIEW, TMutFolderViewClass)) |
|---|
| 36 |
|
|---|
| 37 |
typedef struct _TMutFolderView TMutFolderView; |
|---|
| 38 |
typedef struct _TMutFolderViewClass TMutFolderViewClass; |
|---|
| 39 |
|
|---|
| 40 |
struct _TMutFolderView |
|---|
| 41 |
{ |
|---|
| 42 |
GtkVBox parent; |
|---|
| 43 |
}; |
|---|
| 44 |
|
|---|
| 45 |
struct _TMutFolderViewClass |
|---|
| 46 |
{ |
|---|
| 47 |
GtkVBoxClass parent_class; |
|---|
| 48 |
|
|---|
| 49 |
|
|---|
| 50 |
|
|---|
| 51 |
|
|---|
| 52 |
|
|---|
| 53 |
|
|---|
| 54 |
|
|---|
| 55 |
|
|---|
| 56 |
void (*create_menu) (TMutFolderView *self); |
|---|
| 57 |
}; |
|---|
| 58 |
|
|---|
| 59 |
GType tmut_folder_view_get_type (void); |
|---|
| 60 |
TMutFolderView* tmut_folder_view_new (TnyAccountStore *account_store); |
|---|
| 61 |
|
|---|
| 62 |
void tmut_folder_view_set_active_folder (TMutFolderView *self, TnyFolder *folder); |
|---|
| 63 |
|
|---|
| 64 |
|
|---|
| 65 |
void tmut_folder_view_on_message_delete_activated (GObject *sender, TMutFolderView *self); |
|---|
| 66 |
void tmut_folder_view_on_message_move_activated (GObject *sender, TMutFolderView *self); |
|---|
| 67 |
void tmut_folder_view_on_message_copy_activated (GObject *sender, TMutFolderView *self); |
|---|
| 68 |
|
|---|
| 69 |
G_END_DECLS |
|---|
| 70 |
|
|---|
| 71 |
#endif |
|---|