Modified webpage: now tinymail repository is in gitorious.
[modest] / src / widgets / modest-account-settings-dialog.h
1 /* modest-account-settings-dialog-iface.h */
2 /* insert (c)/licensing information) */
3
4 #ifndef __MODEST_ACCOUNT_SETTINGS_DIALOG_H__
5 #define __MODEST_ACCOUNT_SETTINGS_DIALOG_H__
6
7 /* other include files */
8 #include <glib.h>
9 #include <glib-object.h>
10 #include "modest-account-settings.h"
11
12 G_BEGIN_DECLS
13
14 /* convenience macros */
15 #define MODEST_TYPE_ACCOUNT_SETTINGS_DIALOG             (modest_account_settings_dialog_get_type())
16 #define MODEST_ACCOUNT_SETTINGS_DIALOG(obj)             (G_TYPE_CHECK_INSTANCE_CAST((obj),MODEST_TYPE_ACCOUNT_SETTINGS_DIALOG,ModestAccountSettingsDialog))
17 #define MODEST_IS_ACCOUNT_SETTINGS_DIALOG(obj)          (G_TYPE_CHECK_INSTANCE_TYPE((obj),MODEST_TYPE_ACCOUNT_SETTINGS_DIALOG))
18 #define MODEST_ACCOUNT_SETTINGS_DIALOG_GET_IFACE(inst)  (G_TYPE_INSTANCE_GET_INTERFACE((inst),MODEST_TYPE_ACCOUNT_SETTINGS_DIALOG,ModestAccountSettingsDialogClass))
19
20 typedef struct _ModestAccountSettingsDialog      ModestAccountSettingsDialog;
21 typedef struct _ModestAccountSettingsDialogClass ModestAccountSettingsDialogClass;
22
23 struct _ModestAccountSettingsDialogClass {
24         GTypeInterface parent;
25
26         /* the 'vtable': declare function pointers here, eg.: */
27         void (*load_settings) (ModestAccountSettingsDialog *dialog, ModestAccountSettings *settings);
28 };
29
30 GType    modest_account_settings_dialog_get_type    (void) G_GNUC_CONST;
31
32 void     modest_account_settings_dialog_load_settings (ModestAccountSettingsDialog *dialog, 
33                                                        ModestAccountSettings *settings);
34
35 G_END_DECLS
36
37 #endif /* __MODEST_ACCOUNT_SETTINGS_DIALOG_H__ */
38