aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-folder.h
diff options
context:
space:
mode:
authorbertrand <Bertrand.Guiheneuf@aful.org>1999-08-06 22:17:27 +0800
committerBertrand Guiheneuf <bertrand@src.gnome.org>1999-08-06 22:17:27 +0800
commitcf2f1c428f9a75323318f04c66c7e1999ad65f62 (patch)
tree163a19250bed8ec545c732f7966650a9fb74358d /camel/camel-folder.h
parent9dba21ca8de2f437014086eb80a4197c53246ed1 (diff)
downloadgsoc2013-evolution-cf2f1c428f9a75323318f04c66c7e1999ad65f62.tar.gz
gsoc2013-evolution-cf2f1c428f9a75323318f04c66c7e1999ad65f62.tar.zst
gsoc2013-evolution-cf2f1c428f9a75323318f04c66c7e1999ad65f62.zip
add debug information (_list_subfolders): test if first char in folder
1999-08-06 bertrand <Bertrand.Guiheneuf@aful.org> * camel/providers/MH/camel-mh-folder.c (_exists): add debug information (_list_subfolders): test if first char in folder name is not '.' before adding it to the folder list. * camel/camel-store.c (_init): disable session check temporarily (_get_separator): (_get_folder): new static func. Fixed several oddities in class definition. * camel/providers/MH/camel-mh-store.c (camel_mh_store_get_type): parent type is CAMEL_STORE_TYPE not CAMEL_FOLDER_TYPE * camel/camel-store.c: prent class is CamelServiceClass not GtkObjectClass * camel/url-util.c : cosmetic changes + use of const when possible. (find_host): fix a bug: when there is no host and no port don't skip the '/' all static find_* func are now named _func_* (g_url_free): destructor func. cache field has been disabled. Constructing the url string won't be too slow and will occur rarely enough that we do not need to add complexity to this code. * camel/providers/MH/camel-mh-store.c: parent class is CamelStorClass not GtkObjectClass svn path=/trunk/; revision=1087
Diffstat (limited to 'camel/camel-folder.h')
-rw-r--r--camel/camel-folder.h17
1 files changed, 9 insertions, 8 deletions
diff --git a/camel/camel-folder.h b/camel/camel-folder.h
index fd9c94761e..6c17c331e2 100644
--- a/camel/camel-folder.h
+++ b/camel/camel-folder.h
@@ -60,7 +60,7 @@ typedef enum {
struct _CamelFolder
{
GtkObject parent_object;
-
+
gboolean can_hold_folders;
gboolean can_hold_messages;
CamelFolderOpenMode open_mode;
@@ -76,13 +76,13 @@ struct _CamelFolder
typedef struct {
GtkObjectClass parent_class;
-
+
/* Virtual methods */
void (*init_with_store) (CamelFolder *folder, CamelStore *parent_store);
void (*open) (CamelFolder *object, CamelFolderOpenMode mode);
void (*close) (CamelFolder *folder, gboolean expunge);
void (*set_name) (CamelFolder *folder, const gchar *name);
-/* void (*set_full_name) (CamelFolder *folder, const gchar *name); */
+ /* void (*set_full_name) (CamelFolder *folder, const gchar *name); */
const gchar * (*get_name) (CamelFolder *folder);
const gchar * (*get_full_name) (CamelFolder *folder);
gboolean (*can_hold_folders) (CamelFolder *folder);
@@ -108,15 +108,15 @@ GtkType camel_folder_get_type (void);
/* public methods */
-CamelFolder *camel_folder_get_folder(CamelFolder *folder, gchar *folder_name);
-gboolean camel_folder_create(CamelFolder *folder);
+CamelFolder *camel_folder_get_folder (CamelFolder *folder, gchar *folder_name);
+gboolean camel_folder_create (CamelFolder *folder);
gboolean camel_folder_delete (CamelFolder *folder, gboolean recurse);
gboolean camel_folder_delete_messages (CamelFolder *folder);
CamelFolder *camel_folder_get_parent_folder (CamelFolder *folder);
CamelStore *camel_folder_get_parent_store (CamelFolder *folder);
-CamelFolderOpenMode camel_folder_get_mode(CamelFolder *folder);
-GList *camel_folder_list_subfolders(CamelFolder *folder);
-GList *camel_folder_expunge(CamelFolder *folder);
+CamelFolderOpenMode camel_folder_get_mode (CamelFolder *folder);
+GList *camel_folder_list_subfolders (CamelFolder *folder);
+GList *camel_folder_expunge (CamelFolder *folder);
void camel_folder_set_name (CamelFolder *folder, const gchar *name);
const gchar *camel_folder_get_name (CamelFolder *folder);
/* void camel_folder_set_full_name (CamelFolder *folder, const gchar *name); */
@@ -131,3 +131,4 @@ gboolean camel_folder_exists (CamelFolder *folder);
#endif /* __cplusplus */
#endif /* CAMEL_FOLDER_H */
+