More API documentation tweaks.
authorBrad Hards <bradh@openchange.org>
Tue, 4 Nov 2008 09:07:43 +0000 (09:07 +0000)
committerBrad Hards <bradh@openchange.org>
Tue, 4 Nov 2008 09:07:43 +0000 (09:07 +0000)
libmapi++/message_store.h

index c96ba40840e0f5bf9a443f9fb96b3446c2e11d9c..4683732dfdfba214b959defc2027f48fed24894f 100644 (file)
 namespace libmapipp
 {
 class session;
+
 /**
- * \brief This class represents the Message Store in Exchange.\n
- * It is not possible for you, the user, to create a message_store object.\n
+ * \brief This class represents the Message Store in Exchange.
+ *
+ * The message_store is the grouping of message folders (which could be the 
+ * users private store including mail, calendar, todo list, journal, contacts
+ * and so on) or could be the public store (e.g. shared public folders).
+ *
+ * It is not possible for you, the user, to create a message_store object.
  * Instead, you should retrieve the message_store associated with a session
  * using session::get_message_store()
  */
@@ -41,6 +47,7 @@ class message_store : public object {
        public:
                /**
                 * \brief Retrieves the folder id for the specified default folder in the Message Store.
+                *
                 * \param id The type of folder to search for.
                 *
                 * The following types of folders are supported:
@@ -56,6 +63,10 @@ class message_store : public object {
                 * - olFolderTasks
                 * - olFolderDrafts
                 *
+                * If you are trying to enumerate all folders, you should open the 
+                * olFolderTopInformationStore, and then get the hierachy container for
+                * that top level folder.
+                *
                 * \return The resulting folder id.
                 */
                mapi_id_t get_default_folder(const uint32_t id) const throw(mapi_exception)