| 1 |
#ifndef TMUT_MSG_CREATOR_H |
|---|
| 2 |
#define TMUT_MSG_CREATOR_H |
|---|
| 3 |
|
|---|
| 4 |
|
|---|
| 5 |
|
|---|
| 6 |
|
|---|
| 7 |
|
|---|
| 8 |
|
|---|
| 9 |
|
|---|
| 10 |
|
|---|
| 11 |
|
|---|
| 12 |
|
|---|
| 13 |
|
|---|
| 14 |
|
|---|
| 15 |
|
|---|
| 16 |
|
|---|
| 17 |
|
|---|
| 18 |
|
|---|
| 19 |
|
|---|
| 20 |
|
|---|
| 21 |
|
|---|
| 22 |
|
|---|
| 23 |
#include <gtk/gtk.h> |
|---|
| 24 |
#include <glib-object.h> |
|---|
| 25 |
|
|---|
| 26 |
#include <tmut-shared.h> |
|---|
| 27 |
#include <tny-msg.h> |
|---|
| 28 |
#include <tmut-shell-child.h> |
|---|
| 29 |
|
|---|
| 30 |
#include <tny-account.h> |
|---|
| 31 |
#include <tny-account-store-view.h> |
|---|
| 32 |
|
|---|
| 33 |
G_BEGIN_DECLS |
|---|
| 34 |
|
|---|
| 35 |
#define TMUT_TYPE_MSG_CREATOR (tmut_msg_creator_get_type ()) |
|---|
| 36 |
#define TMUT_MSG_CREATOR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TMUT_TYPE_MSG_CREATOR, TMutMsgCreator)) |
|---|
| 37 |
#define TMUT_MSG_CREATOR_CLASS(vtable) (G_TYPE_CHECK_CLASS_CAST ((vtable), TMUT_TYPE_MSG_CREATOR, TMutMsgCreatorClass)) |
|---|
| 38 |
#define TMUT_IS_MSG_CREATOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TMUT_TYPE_MSG_CREATOR)) |
|---|
| 39 |
#define TMUT_IS_MSG_CREATOR_CLASS(vtable) (G_TYPE_CHECK_CLASS_TYPE ((vtable), TMUT_TYPE_MSG_CREATOR)) |
|---|
| 40 |
#define TMUT_MSG_CREATOR_GET_CLASS(inst) (G_TYPE_INSTANCE_GET_CLASS ((inst), TMUT_TYPE_MSG_CREATOR, TMutMsgCreatorClass)) |
|---|
| 41 |
|
|---|
| 42 |
|
|---|
| 43 |
typedef struct _TMutMsgCreator TMutMsgCreator; |
|---|
| 44 |
typedef struct _TMutMsgCreatorClass TMutMsgCreatorClass; |
|---|
| 45 |
|
|---|
| 46 |
struct _TMutMsgCreator |
|---|
| 47 |
{ |
|---|
| 48 |
GtkVBox parent; |
|---|
| 49 |
}; |
|---|
| 50 |
|
|---|
| 51 |
struct _TMutMsgCreatorClass |
|---|
| 52 |
{ |
|---|
| 53 |
GtkVBoxClass parent_class; |
|---|
| 54 |
}; |
|---|
| 55 |
|
|---|
| 56 |
GType tmut_msg_creator_get_type (void); |
|---|
| 57 |
TMutMsgCreator* tmut_msg_creator_new (void); |
|---|
| 58 |
|
|---|
| 59 |
void tmut_msg_creator_set_reply_msg (TMutMsgCreator *self, TnyMsg *msg); |
|---|
| 60 |
void tmut_msg_creator_set_forward_msg (TMutMsgCreator *self, TnyMsg *msg); |
|---|
| 61 |
|
|---|
| 62 |
void tmut_msg_creator_add_attachment (TMutMsgCreator *self, TnyMimePart *part); |
|---|
| 63 |
void tmut_msg_creator_remove_attachment (TMutMsgCreator *self, TnyMimePart *part); |
|---|
| 64 |
|
|---|
| 65 |
G_END_DECLS |
|---|
| 66 |
|
|---|
| 67 |
#endif |
|---|