/* Standard GObject macros */
#define EM_TYPE_CONFIG \
(em_config_get_type ())
#define EM_CONFIG(obj) \
(G_TYPE_CHECK_INSTANCE_CAST \
((obj), EM_TYPE_CONFIG, EMConfig))
#define EM_CONFIG_CLASS(cls) \
(G_TYPE_CHECK_CLASS_CAST \
((cls), EM_TYPE_CONFIG, EMConfigClass))
#define EM_IS_CONFIG(obj) \
(G_TYPE_CHECK_INSTANCE_TYPE \
((obj), EM_TYPE_CONFIG))
#define EM_IS_CONFIG_CLASS(cls) \
(G_TYPE_CHECK_CLASS_TYPE \
((cls), EM_TYPE_CONFIG, EMConfigClass))
#define EM_CONFIG_GET_CLASS(obj) \
(G_TYPE_INSTANCE_GET_CLASS \
((obj), EM_TYPE_CONFIG, EMConfigClass))
G_BEGIN_DECLS
typedef struct _EMConfig EMConfig;
typedef struct _EMConfigClass EMConfigClass;
typedef struct _EMConfigPrivate EMConfigPrivate;
/* Current target description */
/* Types of popup tagets */
enum _em_config_target_t {
EM_CONFIG_TARGET_FOLDER,
EM_CONFIG_TARGET_PREFS,
EM_CONFIG_TARGET_SETTINGS
};
typedef struct _EMConfigTargetFolder EMConfigTargetFolder;
typedef struct _EMConfigTargetPrefs EMConfigTargetPrefs;
typedef struct _EMConfigTargetSettings EMConfigTargetSettings;
struct _EMConfigTargetFolder {
EConfigTarget target;
CamelFolder *folder;
};
struct _EMConfigTargetPrefs {
EConfigTarget target;
};
struct _EMConfigTargetSettings {
EConfigTarget target;
gchar *email_address;
const gchar *storage_protocol;
CamelSettings *storage_settings;
const gchar *transport_protocol;
CamelSettings *transport_settings;
};
typedef struct _EConfigItem EMConfigItem;
struct _EMConfig {
EConfig config;
EMConfigPrivate *priv;
};
struct _EMConfigClass {
EConfigClass config_class;
};
GType em_config_get_type (void);
EMConfig * em_config_new (const gchar *menuid);
EMConfigTargetFolder *
em_config_target_new_folder (EMConfig *emp,
CamelFolder *folder);
EMConfigTargetPrefs *
em_config_target_new_prefs (EMConfig *emp);
EMConfigTargetSettings *
em_config_target_new_settings (EMConfig *emp,
const gchar *email_address,
const gchar *storage_protocol,
CamelSettings *storage_settings,
const gchar *transport_protocol,
CamelSettings *transport_settings);
void em_config_target_update_settings
(EConfig *ep,
EMConfigTargetSettings *target,
const gchar *email_address,
const gchar *storage_protocol,
CamelSettings *storage_settings,
const gchar *transport_protocol,
CamelSettings *transport_settings);
G_END_DECLS
#endif /* EM_CONFIG_H */
class='list nowrap'> | Commit message (Expand) | Author | Age | Files | Lines |
* | Update to 4.13.6 | antoine | 2016-12-10 | 2 | -7/+7 |
* | Update to 4.13.1 | antoine | 2016-11-28 | 2 | -7/+8 |
* | Update to 4.13.0 | antoine | 2016-11-20 | 2 | -4/+4 |
* | Update to 4.12.41 | antoine | 2016-11-12 | 2 | -9/+6 |
* | Update to 4.12.39 | antoine | 2016-10-30 | 2 | -5/+5 |
* | Update to 4.12.35 | antoine | 2016-10-23 | 2 | -5/+5 |
* | Update to 4.12.34 | antoine | 2016-10-16 | 2 | -6/+6 |
* | Update to 4.12.31 | antoine | 2016-10-09 | 2 | -5/+6 |
* | Update to 4.12.29 | antoine | 2016-10-02 | 2 | -6/+6 |
* | Update to 4.12.28 | antoine | 2016-09-29 | 2 | -4/+5 |
* | Update to 4.12.26 | antoine | 2016-09-17 | 2 | -8/+13 |
* | Update to 4.12.23 | antoine | 2016-09-04 | 2 | -5/+7 |
* | Update to 4.12.22 | antoine | 2016-08-29 | 2 | -5/+7 |
* | Update to 4.12.16 | antoine | 2016-07-31 | 2 | -5/+6 |
* | Update to 4.12.15 | antoine | 2016-07-23 | 2 | -7/+9 |
* | Update to 4.12.12 | antoine | 2016-07-16 | 2 | -4/+12 |
* | Update to 4.12.5 | antoine | 2016-06-04 | 2 | -15/+15 |
* | Update to 4.12.2 | antoine | 2016-05-18 | 2 | -9/+10 |
* | Update to 4.12.1 | antoine | 2016-05-15 | 2 | -42/+26 |
* | Remove ${PORTSDIR}/ from dependencies, categories r, s, t, and u. | mat | 2016-04-01 | 1 | -26/+26 |
* | - Add LICENSE | sunpoet | 2015-11-20 | 1 | -0/+3 |
* | - Convert to new options target helper | sunpoet | 2015-10-05 | 1 | -4/+2 |
* | - Fix shebangs | amdmi3 | 2015-09-24 | 1 | -2/+14 |
* | Adjust after rubygem-jsobfu update | antoine | 2015-06-02 | 1 | -0/+2 |
* | Update security/metasploit to 4.11.2 | antoine | 2015-05-24 | 2 | -10/+8 |
* | Update ports in the remaining categories to not use GH_COMMIT. | mat | 2015-05-08 | 2 | -4/+2 |
* | Update USE_GITHUB so it does not require GH_COMMIT. | bdrewery | 2015-03-20 | 1 | -1/+1 |
* | Update: | antoine | 2015-03-08 | 2 | -10/+11 |
* | Update metasploit to 4.11.0 | antoine | 2014-12-21 | 2 | -7/+6 |
* | Remove dependency on rb-readline, it works fine without it | antoine | 2014-12-05 | 1 | -3/+4 |
* | Update security/metasploit to 4.10.2 | antoine | 2014-12-05 | 2 | -20/+47 |
* | Unbreak metasploit at runtime by adding www/rubygem-rkelly-remix | antoine | 2014-06-09 | 1 | -2/+5 |
* | - Update from 4.9.2 to 4.9.3 | danilo | 2014-06-09 | 2 | -3/+3 |
* | Update metasploit to 4.9.2 and rubygem-metasploit_data_models to 0.17.0 | antoine | 2014-05-11 |