aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-provider.h
diff options
context:
space:
mode:
authorSarfraaz Ahmed <asarfraaz@novell.com>2004-04-23 12:16:04 +0800
committerAhmed Sarfraaz <sarfraaz@src.gnome.org>2004-04-23 12:16:04 +0800
commite5c2711bfd02539a9928516c24969cc885ce2fb8 (patch)
treec650c4af8034615106d58824026cd73d85008afa /camel/camel-provider.h
parentbfc9c251ae17ffdac7bbcc2112066617f6982150 (diff)
downloadgsoc2013-evolution-e5c2711bfd02539a9928516c24969cc885ce2fb8.tar.gz
gsoc2013-evolution-e5c2711bfd02539a9928516c24969cc885ce2fb8.tar.zst
gsoc2013-evolution-e5c2711bfd02539a9928516c24969cc885ce2fb8.zip
Added HAS_LICENSE flag for allowing camel providers to display license
2004-04-23 Sarfraaz Ahmed <asarfraaz@novell.com> * camel-provider.h: Added HAS_LICENSE flag for allowing camel providers to display license file. svn path=/trunk/; revision=25592
Diffstat (limited to 'camel/camel-provider.h')
-rw-r--r--camel/camel-provider.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/camel/camel-provider.h b/camel/camel-provider.h
index 273c7554d2..cc9f173fb4 100644
--- a/camel/camel-provider.h
+++ b/camel/camel-provider.h
@@ -59,6 +59,8 @@ extern char *camel_provider_type_name[CAMEL_NUM_PROVIDER_TYPES];
* _IS_STORAGE mail is stored there. it will appear in the folder tree.
* _IS_EXTERNAL it appears in the folder tree but is not created by
* the mail component.
+ * _HAS_LICENSE the provider configuration first needs the license to
+ * be accepted.
*/
#define CAMEL_PROVIDER_IS_REMOTE (1 << 0)
#define CAMEL_PROVIDER_IS_LOCAL (1 << 1)
@@ -66,6 +68,7 @@ extern char *camel_provider_type_name[CAMEL_NUM_PROVIDER_TYPES];
#define CAMEL_PROVIDER_IS_SOURCE (1 << 3)
#define CAMEL_PROVIDER_IS_STORAGE (1 << 4)
#define CAMEL_PROVIDER_SUPPORTS_SSL (1 << 5)
+#define CAMEL_PROVIDER_HAS_LICENSE (1 << 6)
/* Flags for url_flags. "ALLOW" means the config dialog will let
@@ -182,6 +185,16 @@ typedef struct {
* evolution source tree).
*/
char *translation_domain;
+
+ /* This string points to the provider's gconf key value
+ */
+ const char *license;
+
+ /* This holds the license file name [ ascii text format ] containing
+ * the license agreement. This should be the absolute file path. This
+ * is read only when the HAS_LICENSE flag is set
+ */
+ const char *license_file;
} CamelProvider;
typedef struct _CamelProviderModule CamelProviderModule;