aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--camel/camel-folder.h5
-rw-r--r--camel/camel-service.c2
-rw-r--r--camel/camel-service.h7
-rw-r--r--camel/camel-store.c7
-rw-r--r--camel/camel-store.h15
6 files changed, 31 insertions, 8 deletions
diff --git a/ChangeLog b/ChangeLog
index 369222dcf5..e5928fa104 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,7 @@
1999-04-20 bertrand <Bertrand.Guiheneuf@inria.fr>
+
+ * camel/camel-store.h: now CamelStore inherits from
+ CamelService.
* camel/camel-service.c (camel_service_class_init):
basic abstract service class.
diff --git a/camel/camel-folder.h b/camel/camel-folder.h
index b97bf970d9..e92a58982d 100644
--- a/camel/camel-folder.h
+++ b/camel/camel-folder.h
@@ -102,6 +102,11 @@ typedef struct {
} CamelFolderClass;
+/* public methods */
+
+/* Standard Gtk function */
+GtkType camel_folder_get_type (void);
+
#ifdef __cplusplus
}
#endif /* __cplusplus */
diff --git a/camel/camel-service.c b/camel/camel-service.c
index 57df967c5e..4bcbe7088b 100644
--- a/camel/camel-service.c
+++ b/camel/camel-service.c
@@ -57,7 +57,7 @@ camel_service_class_init (CamelServiceClass *camel_service_class)
GtkType
-camel_service__get_type (void)
+camel_service_get_type (void)
{
static GtkType camel_service_type = 0;
diff --git a/camel/camel-service.h b/camel/camel-service.h
index 7c0e74b066..ebb6464a3e 100644
--- a/camel/camel-service.h
+++ b/camel/camel-service.h
@@ -62,6 +62,13 @@ typedef struct {
} CamelServiceClass;
+
+
+/* public methods */
+
+/* Standard Gtk function */
+GtkType camel_service_get_type (void);
+
#ifdef __cplusplus
}
#endif /* __cplusplus */
diff --git a/camel/camel-store.c b/camel/camel-store.c
index 93b05d8460..dc29e0a8ae 100644
--- a/camel/camel-store.c
+++ b/camel/camel-store.c
@@ -30,7 +30,6 @@ static GtkObjectClass *camel_store_parent_class=NULL;
static void camel_store_set_separator(CamelStore *store, gchar sep);
static gchar camel_store_get_geparator(CamelStore *store);
-static CamelFolder *camel_store_get_folder(GString *folder_name);
static CamelFolder *camel_store_get_root_folder(CamelStore *store);
static CamelFolder *camel_store_get_default_folder(CamelStore *store);
@@ -39,7 +38,7 @@ static CamelFolder *camel_store_get_default_folder(CamelStore *store);
static void
camel_store_class_init (CamelStoreClass *camel_store_class)
{
- camel_store_parent_class = gtk_type_class (gtk_object_get_type ());
+ camel_store_parent_class = gtk_type_class (camel_service_get_type ());
/* virtual method definition */
camel_store_class->set_separator = camel_store_set_separator;
@@ -57,7 +56,7 @@ camel_store_class_init (CamelStoreClass *camel_store_class)
GtkType
-camel_store__get_type (void)
+camel_store_get_type (void)
{
static GtkType camel_store_type = 0;
@@ -131,7 +130,7 @@ camel_store_get_geparator(CamelStore *store)
* @Return value: the folder
**/
static CamelFolder *
-camel_store_get_folder(GString *folder_name)
+camel_store_get_folder(CamelStore *store, GString *folder_name)
{
#warning fill this part in.
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 */
-1/+4 * Update to version 20131225.bsam2013-12-313-3/+5 * Update to version 20131230.bsam2013-12-312-3/+3 * - rename AL2 to APACHE20 in Mk/bsd.licenses.db.mkohauer2013-12-311-1/+1 * Update to 0.9.25.kwm2013-12-293-9/+49 * print/py-rtf: support staging and use auto plistwg2013-12-292-32/+4 * print/py-relatorio: support staging and switch from easy_installwg2013-12-292-52/+3 * print/py-fonttools: support stagingwg2013-12-292-295/+6 * . update to version 20131229;bsam2013-12-292-4/+4 * Fix dependency on x11-toolkits/gtkglext.tijl2013-12-281-1/+1 * Update poppler to 0.24.4.kwm2013-12-286-3/+7 * Actually take maintainership (lost while commiting r337610).bsam2013-12-271-1/+1 * . update to version 20131227; [1]bsam2013-12-274-6/+126 * Fix LIB_DEPENDSantoine2013-12-271-1/+1 * Add an additional MASTER_SITE to make the port fetchable.bsam2013-12-271-1/+2 * . take maintainership print/foomatic-db, print/foomatic-db-engine, print/foom...bsam2013-12-2710-389/+2714 * . take maintainership;bsam2013-12-274-361/+328 * Update freetype to 2.5.2.kwm2013-12-2512-93/+141 * Use the right LICENSE namerakuco2013-12-251-1/+1 * - Fix the build when only clang is presentrakuco2013-12-252-7/+19 * Respect CC/CFLAGSpawel2013-12-211-11/+11 * - Fix dependsgahr2013-12-201-3/+4 * - use STAGEDIRdinoex2013-12-172-57/+57 * Take those.mat2013-12-171-1/+1 * [Errno 11] Resource Temporarily Unavailableglarkin2013-12-171-1/+1 * - Update to 2.17.97gahr2013-12-163-13/+20 * Switch FreeBSD CURRENT to use the new xorg stack (WITH_NEW_XORG=) [0]zeising2013-12-161-1/+1 * Convert to staging.mandree2013-12-141-9/+7 * Support stagebapt2013-12-141-1/+0 * Convert LIB_DEPENDS for ports depending on boostbapt2013-12-123-30/+30 * Convert LIB_DEPENDS to allow graphics/graphite2 to have the libname upstreambapt2013-12-121-3/+3 * Convert LIB_DEPENDS to allow graphics/graphite2 to have the libname upstream ...bapt2013-12-121-7/+7 * . unbreak at 10.x and up (non void function should return a value);bsam2013-12-122-18/+24 * . support staging;bsam2013-12-126-17/+19 * - Strip shared librarysunpoet2013-12-121-0/+3 * - Chase r336083 and bump all ports using NO_ARCH so that users buildingbdrewery2013-12-111-0/+1 * - Stage support for all -reference portsantoine2013-12-101-1/+0 * Guess I should take those ports...bsam2013-12-094-4/+4 * Add patches to fix the build with freetype 2.5.1.kwm2013-12-073-6/+34 * - Use recently implemented NO_ARCH knob in my architecture-neutral portsak2013-12-061-4/+3 * - Update to 4.27sunpoet2013-12-062-7/+5 * - Update to 1.7.6culot2013-12-042-3/+3 * - Update to 1.9.66sunpoet2013-11-302-3/+3 * Updated port to pdftk-2.02mat2013-11-295-132/+25 * - Return almost all of my ports back to the pool. I have no time to make anyaraujo2013-11-292-2/+2 * print/xmbibtex: fix build on currentwg2013-11-273-10/+49 * Update htmlxref.cnf to latest versionjohans2013-11-272-5/+4 * Stage support for non-IGNORED pear classesantoine2013-11-261-1/+0 * - Convert to USES=qmakemakc2013-11-253-41/+25 * - Remove now needless qmake_build from USE_QT4makc2013-11-211-1/+1 * - Add LICENSEsunpoet2013-11-202-4/+6 * - Support STAGEDIRlwhsu2013-11-201-1/+0 * Chase up perltidy new name.mat2013-11-161-1/+1 * - Convert to USES+=tkgahr2013-11-132-21/+21 * . fix build with libc++;bsam2013-11-066-6/+36 * - Support stagingmat2013-11-061-5/+3 * Fix buildvanilla2013-11-0610-59/+0 * Fix index. (wired, duplicate Makefile contents :(vanilla2013-11-063-61/+0 * - Add LICENSEgahr2013-11-061-7/+17 * Support STAGEDIR.vanilla2013-11-0613-0/+117 * print/deforaos-pdfviewer: allow stagingwg2013-11-051-7/+7 * - Support STAGEDIRolivierd2013-11-043-18/+20 * - Update to version 4.26pawel2013-11-023-15/+15 * print/p5-PDFLIB: Unbreak by disabling version test.marino2013-11-021-0/+17 * print/splix: Fix C++ issues on gcc48marino2013-11-021-0/+11 * Stagify.ale2013-10-301-1/+0 * - Add stage supportswills2013-10-301-1/+0 * - Add stage supportswills2013-10-3014-14/+0 * Update to libmpc version 1.0.1 which brings the following fixes:gerald2013-10-266-3/+6 * - Use USES=gmakesunpoet2013-10-251-1/+1 * Use .sinclude instead of .exists & .includeeadler2013-10-242-8/+2 * - Return ports to the poolak2013-10-245-7/+9 * - Support stagingmakc2013-10-232-19/+13 * - Remove manual creation and removal of share/applications, as it's now in th...amdmi32013-10-2214-15/+0 * Mark as for teTeX only. TeXLive has already included cm-super fonts in thehrs2013-10-221-1/+1 * Fix the build with libc++, and a lot more.rakuco2013-10-216-46/+225 * Tarball has been rerolled with the same version number.thierry2013-10-172-8/+8 * Fix package name collisionbapt2013-10-141-1/+1 * - Convert to USES= qmakemakc2013-10-091-8/+4 * Remove gnome-print (component of the EOLed gnome1) not used by anything anymore.bapt2013-10-0712-270/+0 * Add stage support for linux-f10-* ports maintained by emulation@rene2013-10-061-1/+0 * Add missing manpages to plistjohans2013-10-062-0/+13 * - Update texinfo to 5.2johans2013-10-063-41/+7 * Add Perl5 as run depend. This allow for port to use SITE_PERL macro.az2013-10-051-0/+3 * - Change maintainer email to @FreeBSD.orgdanilo2013-10-013-41/+14 * - Change maintainer email to @FreeBSD.orgdanilo2013-10-011-6/+3 * - Support STAGEDIRsunpoet2013-10-012-3/+1 * - Add support to stage.araujo2013-09-301-6/+5 * The FreeBSD graphics/x11 team proudly presentszeising2013-09-301-2/+2 * . support stage;bsam2013-09-271-12/+11 * - Update to 5.0.0tabthorpe2013-09-263-4/+6 * - Support STAGEDIRak2013-09-262-3/+2 * - Add explicit LDFLAGS for iconvmadpilot2013-09-251-0/+1 * Fix NO_STAGE attributionbapt2013-09-232-2/+2 * - fix misplaced NO_STAGE in slaveports and ifdefsdinoex2013-09-211-2/+3 * Add NO_STAGE all over the place in preparation for the staging support (cat: ...bapt2013-09-21