1 /* modest-account-settings-dialog-iface.h */
2 /* insert (c)/licensing information) */
4 #ifndef __MODEST_ACCOUNT_SETTINGS_DIALOG_H__
5 #define __MODEST_ACCOUNT_SETTINGS_DIALOG_H__
7 /* other include files */
9 #include <glib-object.h>
10 #include "modest-account-settings.h"
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))
20 typedef struct _ModestAccountSettingsDialog ModestAccountSettingsDialog;
21 typedef struct _ModestAccountSettingsDialogClass ModestAccountSettingsDialogClass;
23 struct _ModestAccountSettingsDialogClass {
24 GTypeInterface parent;
26 /* the 'vtable': declare function pointers here, eg.: */
27 void (*load_settings) (ModestAccountSettingsDialog *dialog, ModestAccountSettings *settings);
30 GType modest_account_settings_dialog_get_type (void) G_GNUC_CONST;
32 void modest_account_settings_dialog_load_settings (ModestAccountSettingsDialog *dialog,
33 ModestAccountSettings *settings);
37 #endif /* __MODEST_ACCOUNT_SETTINGS_DIALOG_H__ */