diff -r 4e54af54a4a1 -r 6c59112cfd31 emailservices/nmclientapi/src/nmapiemailservice.cpp --- 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)