aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-store.h
diff options
context:
space:
mode:
authorbertrand <Bertrand.Guiheneuf@inria.fr>1999-04-21 04:36:26 +0800
committerBertrand Guiheneuf <bertrand@src.gnome.org>1999-04-21 04:36:26 +0800
commit94dc5be0530c45a0dbddbc2d72ace3f284deb956 (patch)
treebf0673fa891be1a1d09b9bc5f013447bff104771 /camel/camel-store.h
parentbba607613cf4ce59fa72e6fe841003e2d71a0aa9 (diff)
downloadgsoc2013-evolution-94dc5be0530c45a0dbddbc2d72ace3f284deb956.tar
gsoc2013-evolution-94dc5be0530c45a0dbddbc2d72ace3f284deb956.tar.gz
gsoc2013-evolution-94dc5be0530c45a0dbddbc2d72ace3f284deb956.tar.bz2
gsoc2013-evolution-94dc5be0530c45a0dbddbc2d72ace3f284deb956.tar.lz
gsoc2013-evolution-94dc5be0530c45a0dbddbc2d72ace3f284deb956.tar.xz
gsoc2013-evolution-94dc5be0530c45a0dbddbc2d72ace3f284deb956.tar.zst
gsoc2013-evolution-94dc5be0530c45a0dbddbc2d72ace3f284deb956.zip
now CamelStore inherits from CamelService.
1999-04-20 bertrand <Bertrand.Guiheneuf@inria.fr> * camel/camel-store.h: now CamelStore inherits from CamelService. svn path=/trunk/; revision=861
Diffstat (limited to 'camel/camel-store.h')
-rw-r--r--camel/camel-store.h15
1 files changed, 12 insertions, 3 deletions
diff --git a/camel/camel-store.h b/camel/camel-store.h
index 7c59f3764e..15fbbe6301 100644
--- a/camel/camel-store.h
+++ b/camel/camel-store.h
@@ -33,6 +33,7 @@ extern "C" {
#include <gtk/gtk.h>
#include "camel-folder.h"
+#include "camel-service.h"
#define CAMEL_STORE_TYPE (camel_store_get_type ())
#define CAMEL_STORE(obj) (GTK_CHECK_CAST((obj), CAMEL_STORE_TYPE, CamelStore))
@@ -51,7 +52,7 @@ typedef struct _CamelStore CamelStore;
struct _CamelStore
{
- GtkObject parent_object;
+ CamelService parent_object;
gchar separator;
};
@@ -59,16 +60,24 @@ struct _CamelStore
typedef struct {
- GtkObjectClass parent_class;
+ CamelServiceClass parent_class;
+
void (*set_separator) (CamelStore *store, gchar sep);
gchar (*get_separator) (CamelStore *store);
- CamelFolder * (*get_folder) (GString *folder_name);
+ CamelFolder * (*get_folder) (CamelStore *store, GString *folder_name);
CamelFolder * (*get_root_folder) (CamelStore *store);
CamelFolder * (*get_default_folder) (CamelStore *store);
} CamelStoreClass;
+/* public methods */
+
+/* Standard Gtk function */
+GtkType camel_store_get_type (void);
+
+CamelFolder *camel_store_get_folder(CamelStore *store, GString *folder_name);
+
#ifdef __cplusplus
}
#endif /* __cplusplus */