emailservices/nmclientapi/src/nmapiemailservice.cpp
changeset 74 6c59112cfd31
parent 68 83cc6bae1de8
child 76 38bf5461e270
--- a/emailservices/nmclientapi/src/nmapiemailservice.cpp	Wed Sep 15 17:47:19 2010 +0300
+++ b/emailservices/nmclientapi/src/nmapiemailservice.cpp	Thu Sep 30 11:43:07 2010 +0300
@@ -60,6 +60,25 @@
 }
 
 /*!
+    gets mailbox folder by id (see also NmEventNotifier)
+ */
+bool NmApiEmailService::getFolder(
+    const quint64 mailboxId,
+    const quint64 folderId,
+    EmailClientApi::NmApiFolder &mailboxFolder)
+{
+    NM_FUNCTION;
+
+    bool found = false;
+
+    if (mEngine) {
+        found = mEngine->getFolderById(mailboxId, folderId, mailboxFolder);
+    }
+
+    return found;
+}
+
+/*!
     gets mailbox info by id (see also NmEventNotifier)
  */
 bool NmApiEmailService::getMailbox(const quint64 mailboxId, EmailClientApi::NmApiMailbox &mailboxInfo)