summaryrefslogtreecommitdiff
path: root/camel/camel-store.h
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2007-04-28 01:42:04 +0000
committerMatthew Barnes <mbarnes@src.gnome.org>2007-04-28 01:42:04 +0000
commitb48d00c40cd4fd62381f3b971339435b0691656c (patch)
treeb42112a8cb9e61282c59a985b527ad519f6c3696 /camel/camel-store.h
parent31126a714314224e77a655a7a7b0cfece435d95e (diff)
downloadevolution-data-server-b48d00c40cd4fd62381f3b971339435b0691656c.tar.gz
** Fixes bug #418852
2007-04-27 Matthew Barnes <mbarnes@redhat.com> ** Fixes bug #418852 * Note, these changes touch almost every file in Camel. * Replace C++ declaration guards (extern "C" { ... }) with G_BEGIN_DECLS / G_END_DECLS, or add them to headers with no declaration guards at all. * Use GLib's i18n support instead of Camel's (now deprecated). * Use quotes and brackets consistently in #include directives. * Remove CAMEL_EXPLICIT_TRANSLATION_DOMAIN from Makefiles. * Resurrect Camel's API documentation. * Fix documentation warnings identified by Gtk-Doc. * camel.h: Expose Camel's entire "core" (non-provider) API. * camel-i18n.h: Deprecate this API. Use GLib's i18n support instead. * camel-folder.h (camel_folder_get_message_flags): * camel-folder.h (camel_folder_set_message_flags): * camel-folder.h (camel_folder_get_message_user_flag): * camel-folder.h (camel_folder_set_message_user_flag): * camel-folder.h (camel_folder_get_message_user_tag): * camel-folder.h (camel_folder_set_message_user_tag): * camel-folder.h (camel_folder_get_unread_message_count): * camel-folder.h (camel_folder_ref_message_info): Add deprecation guards around these function declarations. svn path=/trunk/; revision=7720
Diffstat (limited to 'camel/camel-store.h')
-rw-r--r--camel/camel-store.h11
1 files changed, 3 insertions, 8 deletions
diff --git a/camel/camel-store.h b/camel/camel-store.h
index a4f6b5355..c4d21776d 100644
--- a/camel/camel-store.h
+++ b/camel/camel-store.h
@@ -27,17 +27,14 @@
#ifndef CAMEL_STORE_H
#define CAMEL_STORE_H 1
-#ifdef __cplusplus
-extern "C" {
-#pragma }
-#endif /* __cplusplus */
-
/* for mode_t */
#include <sys/types.h>
#include <camel/camel-object.h>
#include <camel/camel-service.h>
+G_BEGIN_DECLS
+
enum {
CAMEL_STORE_ARG_FIRST = CAMEL_SERVICE_ARG_FIRST + 100,
};
@@ -270,8 +267,6 @@ gboolean camel_isubscribe_subscribed(CamelStore *store, const char *name);
void camel_isubscribe_subscribe(CamelStore *store, const char *folder_name, CamelException *ex);
void camel_isubscribe_unsubscribe(CamelStore *store, const char *folder_name, CamelException *ex);
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
+G_END_DECLS
#endif /* CAMEL_STORE_H */