| 1 |
#ifndef TMUT_MENU_VIEW_H |
|---|
| 2 |
#define TMUT_MENU_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 |
#include <tny-account.h> |
|---|
| 29 |
#include <tny-account-store-view.h> |
|---|
| 30 |
|
|---|
| 31 |
G_BEGIN_DECLS |
|---|
| 32 |
|
|---|
| 33 |
#define TMUT_TYPE_MENU_VIEW (tmut_menu_view_get_type ()) |
|---|
| 34 |
#define TMUT_MENU_VIEW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TMUT_TYPE_MENU_VIEW, TMutMenuView)) |
|---|
| 35 |
#define TMUT_MENU_VIEW_CLASS(vtable) (G_TYPE_CHECK_CLASS_CAST ((vtable), TMUT_TYPE_MENU_VIEW, TMutMenuViewClass)) |
|---|
| 36 |
#define TMUT_IS_MENU_VIEW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TMUT_TYPE_MENU_VIEW)) |
|---|
| 37 |
#define TMUT_IS_MENU_VIEW_CLASS(vtable) (G_TYPE_CHECK_CLASS_TYPE ((vtable), TMUT_TYPE_MENU_VIEW)) |
|---|
| 38 |
#define TMUT_MENU_VIEW_GET_CLASS(inst) (G_TYPE_INSTANCE_GET_CLASS ((inst), TMUT_TYPE_MENU_VIEW, TMutMenuViewClass)) |
|---|
| 39 |
|
|---|
| 40 |
typedef struct _TMutMenuView TMutMenuView; |
|---|
| 41 |
typedef struct _TMutMenuViewClass TMutMenuViewClass; |
|---|
| 42 |
|
|---|
| 43 |
struct _TMutMenuView |
|---|
| 44 |
{ |
|---|
| 45 |
GtkVBox parent; |
|---|
| 46 |
}; |
|---|
| 47 |
|
|---|
| 48 |
struct _TMutMenuViewClass |
|---|
| 49 |
{ |
|---|
| 50 |
GtkVBoxClass parent_class; |
|---|
| 51 |
|
|---|
| 52 |
|
|---|
| 53 |
|
|---|
| 54 |
|
|---|
| 55 |
|
|---|
| 56 |
|
|---|
| 57 |
|
|---|
| 58 |
|
|---|
| 59 |
|
|---|
| 60 |
void (*create_menu) (TMutMenuView *self); |
|---|
| 61 |
}; |
|---|
| 62 |
|
|---|
| 63 |
GType tmut_menu_view_get_type (void); |
|---|
| 64 |
TMutMenuView* tmut_menu_view_new (void); |
|---|
| 65 |
|
|---|
| 66 |
void tmut_menu_view_set_active_account (TMutMenuView *self, TnyAccount *account); |
|---|
| 67 |
|
|---|
| 68 |
|
|---|
| 69 |
void tmut_menu_view_on_folder_rename_activated (GObject *sender, TMutMenuView *self); |
|---|
| 70 |
void tmut_menu_view_on_folder_move_activated (GObject *sender, TMutMenuView *self); |
|---|
| 71 |
void tmut_menu_view_on_folder_copy_activated (GObject *sender, TMutMenuView *self); |
|---|
| 72 |
void tmut_menu_view_on_folder_create_activated (GObject *sender, TMutMenuView *self); |
|---|
| 73 |
void tmut_menu_view_on_folder_delete_activated (GObject *sender, TMutMenuView *self); |
|---|
| 74 |
void tmut_menu_view_on_new_msg_activated (GObject *sender, TMutMenuView *self); |
|---|
| 75 |
void tmut_menu_view_on_account_manager_activated (GObject *sender, TMutMenuView *self); |
|---|
| 76 |
|
|---|
| 77 |
G_END_DECLS |
|---|
| 78 |
|
|---|
| 79 |
#endif |
|---|