email_plat/nmail_client_api/nmapiemailservice.h
changeset 75 47d84de1c893
parent 23 2dc6caa42ec3
equal deleted inserted replaced
72:64e38f08e49c 75:47d84de1c893
    31 namespace EmailClientApi
    31 namespace EmailClientApi
    32 {
    32 {
    33 
    33 
    34 class NmApiMessageEnvelope;
    34 class NmApiMessageEnvelope;
    35 class NmApiMailbox;
    35 class NmApiMailbox;
       
    36 class NmApiMessage;
    36 
    37 
    37 class NMAPI_EXPORT NmApiEmailService : public QObject
    38 class NMAPI_EXPORT NmApiEmailService : public QObject
    38 {
    39 {
    39     Q_OBJECT
    40     Q_OBJECT
    40 public:
    41 public:
    72         gets mailbox info by id (see also NmApiEventNotifier)
    73         gets mailbox info by id (see also NmApiEventNotifier)
    73      */
    74      */
    74     bool getMailbox(const quint64 mailboxId, EmailClientApi::NmApiMailbox &mailboxInfo);
    75     bool getMailbox(const quint64 mailboxId, EmailClientApi::NmApiMailbox &mailboxInfo);
    75 
    76 
    76     /*!
    77     /*!
       
    78        gets mail message by id (see also NmApiEventNotifier)
       
    79      */
       
    80     bool getMessage(const quint64 mailboxId, 
       
    81                      const quint64 folderId, 
       
    82                      const quint64 messageId, 
       
    83                      EmailClientApi::NmApiMessage &message);
       
    84 
       
    85 
       
    86     
       
    87     /*!
    77        returns isrunning flag value
    88        returns isrunning flag value
    78      */
    89      */
    79     bool isRunning() const;
    90     bool isRunning() const;
    80     signals:
    91     signals:
    81     /*!
    92     /*!