Imported Upstream version 0.8~alpha1
[platform/upstream/syncevolution.git] / src / client-api / src / include / common / client / MailSourceManagementNode.h
index f956272..a4a1142 100644 (file)
@@ -40,6 +40,9 @@
 #include "spdm/constants.h"
 #include "spdm/DeviceManagementNode.h"
 #include "spds/MailSyncSourceConfig.h"
+#include "base/globalsdef.h"
+
+BEGIN_NAMESPACE
 
 
 class MailSourceManagementNode : public DeviceManagementNode {
@@ -60,12 +63,12 @@ class MailSourceManagementNode : public DeviceManagementNode {
 
         /**
          * Returns the mail configuration object from the cached value (if
-         * refresh is FALSE) or reading it from the DMT store (if refresh is
-         * TRUE);
+         * refresh is false) or reading it from the DMT store (if refresh is
+         * true);
          *
          * @param refresh should the node be read from the DMT ?
          */
-        MailSyncSourceConfig& getMailSourceConfig(BOOL refresh);
+        MailSyncSourceConfig& getMailSourceConfig(bool refresh);
 
         /**
          * Sets the given mail source configuration object to the internal
@@ -82,5 +85,8 @@ class MailSourceManagementNode : public DeviceManagementNode {
         MailSyncSourceConfig config;
 };
 
+
+END_NAMESPACE
+
 /** @endcond */
 #endif