emailservices/nmclientapi/src/nmapiemailservice.cpp
changeset 74 6c59112cfd31
parent 68 83cc6bae1de8
child 76 38bf5461e270
equal deleted inserted replaced
69:4e54af54a4a1 74:6c59112cfd31
    55     
    55     
    56     if (!mEngine) {
    56     if (!mEngine) {
    57         return false;
    57         return false;
    58     }
    58     }
    59     return mEngine->getEnvelopeById(mailboxId, folderId, envelopeId, envelope);
    59     return mEngine->getEnvelopeById(mailboxId, folderId, envelopeId, envelope);
       
    60 }
       
    61 
       
    62 /*!
       
    63     gets mailbox folder by id (see also NmEventNotifier)
       
    64  */
       
    65 bool NmApiEmailService::getFolder(
       
    66     const quint64 mailboxId,
       
    67     const quint64 folderId,
       
    68     EmailClientApi::NmApiFolder &mailboxFolder)
       
    69 {
       
    70     NM_FUNCTION;
       
    71 
       
    72     bool found = false;
       
    73 
       
    74     if (mEngine) {
       
    75         found = mEngine->getFolderById(mailboxId, folderId, mailboxFolder);
       
    76     }
       
    77 
       
    78     return found;
    60 }
    79 }
    61 
    80 
    62 /*!
    81 /*!
    63     gets mailbox info by id (see also NmEventNotifier)
    82     gets mailbox info by id (see also NmEventNotifier)
    64  */
    83  */