emailservices/nmclientapi/src/nmapiemailservice.cpp
changeset 76 38bf5461e270
parent 74 6c59112cfd31
equal deleted inserted replaced
74:6c59112cfd31 76:38bf5461e270
    47  */
    47  */
    48 bool NmApiEmailService::getEnvelope(
    48 bool NmApiEmailService::getEnvelope(
    49     const quint64 mailboxId,
    49     const quint64 mailboxId,
    50     const quint64 folderId,
    50     const quint64 folderId,
    51     const quint64 envelopeId,
    51     const quint64 envelopeId,
    52     EmailClientApi::NmApiMessageEnvelope &envelope)
    52     NmApiMessageEnvelope &envelope)
    53 {
    53 {
    54     NM_FUNCTION;
    54     NM_FUNCTION;
    55     
    55     
    56     if (!mEngine) {
    56     if (!mEngine) {
    57         return false;
    57         return false;
    63     gets mailbox folder by id (see also NmEventNotifier)
    63     gets mailbox folder by id (see also NmEventNotifier)
    64  */
    64  */
    65 bool NmApiEmailService::getFolder(
    65 bool NmApiEmailService::getFolder(
    66     const quint64 mailboxId,
    66     const quint64 mailboxId,
    67     const quint64 folderId,
    67     const quint64 folderId,
    68     EmailClientApi::NmApiFolder &mailboxFolder)
    68     NmApiFolder &mailboxFolder)
    69 {
    69 {
    70     NM_FUNCTION;
    70     NM_FUNCTION;
    71 
    71 
    72     bool found = false;
    72     bool found = false;
    73 
    73 
    79 }
    79 }
    80 
    80 
    81 /*!
    81 /*!
    82     gets mailbox info by id (see also NmEventNotifier)
    82     gets mailbox info by id (see also NmEventNotifier)
    83  */
    83  */
    84 bool NmApiEmailService::getMailbox(const quint64 mailboxId, EmailClientApi::NmApiMailbox &mailboxInfo)
    84 bool NmApiEmailService::getMailbox(const quint64 mailboxId, NmApiMailbox &mailboxInfo)
    85 {
    85 {
    86     NM_FUNCTION;
    86     NM_FUNCTION;
    87     
    87     
    88     if (!mEngine) {
    88     if (!mEngine) {
    89         return false;
    89         return false;
    96  */
    96  */
    97 bool NmApiEmailService::getMessage(
    97 bool NmApiEmailService::getMessage(
    98     const quint64 mailboxId,
    98     const quint64 mailboxId,
    99     const quint64 folderId,
    99     const quint64 folderId,
   100     const quint64 messageId,
   100     const quint64 messageId,
   101     EmailClientApi::NmApiMessage &message)
   101     NmApiMessage &message)
   102 {
   102 {
   103     NM_FUNCTION;
   103     NM_FUNCTION;
   104     
   104     
   105     if (!mEngine) {
   105     if (!mEngine) {
   106         return false;
   106         return false;