/* * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2 of the License, or (at your option) version 3. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with the program; if not, see * * * Authors: * Michel Zucchi * * Copyright (C) 1999-2008 Novell, Inc. (www.novell.com) * */ #ifndef EM_CONFIG_H #define EM_CONFIG_H #include #include /* 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)AuthorAgeFilesLines * Update to 4.13.6antoine2016-12-102-7/+7 * Update to 4.13.1antoine2016-11-282-7/+8 * Update to 4.13.0antoine2016-11-202-4/+4 * Update to 4.12.41antoine2016-11-122-9/+6 * Update to 4.12.39antoine2016-10-302-5/+5 * Update to 4.12.35antoine2016-10-232-5/+5 * Update to 4.12.34antoine2016-10-162-6/+6 * Update to 4.12.31antoine2016-10-092-5/+6 * Update to 4.12.29antoine2016-10-022-6/+6 * Update to 4.12.28antoine2016-09-292-4/+5 * Update to 4.12.26antoine2016-09-172-8/+13 * Update to 4.12.23antoine2016-09-042-5/+7 * Update to 4.12.22antoine2016-08-292-5/+7 * Update to 4.12.16antoine2016-07-312-5/+6 * Update to 4.12.15antoine2016-07-232-7/+9 * Update to 4.12.12antoine2016-07-162-4/+12 * Update to 4.12.5antoine2016-06-042-15/+15 * Update to 4.12.2antoine2016-05-182-9/+10 * Update to 4.12.1antoine2016-05-152-42/+26 * Remove ${PORTSDIR}/ from dependencies, categories r, s, t, and u.mat2016-04-011-26/+26 * - Add LICENSEsunpoet2015-11-201-0/+3 * - Convert to new options target helpersunpoet2015-10-051-4/+2 * - Fix shebangsamdmi32015-09-241-2/+14 * Adjust after rubygem-jsobfu updateantoine2015-06-021-0/+2 * Update security/metasploit to 4.11.2antoine2015-05-242-10/+8 * Update ports in the remaining categories to not use GH_COMMIT.mat2015-05-082-4/+2 * Update USE_GITHUB so it does not require GH_COMMIT.bdrewery2015-03-201-1/+1 * Update:antoine2015-03-082-10/+11 * Update metasploit to 4.11.0antoine2014-12-212-7/+6 * Remove dependency on rb-readline, it works fine without itantoine2014-12-051-3/+4 * Update security/metasploit to 4.10.2antoine2014-12-052-20/+47 * Unbreak metasploit at runtime by adding www/rubygem-rkelly-remixantoine2014-06-091-2/+5 * - Update from 4.9.2 to 4.9.3danilo2014-06-092-3/+3 * Update metasploit to 4.9.2 and rubygem-metasploit_data_models to 0.17.0antoine2014-05-11