equal
deleted
inserted
replaced
17 |
17 |
18 #ifndef NMAPIENGINE_H |
18 #ifndef NMAPIENGINE_H |
19 #define NMAPIENGINE_H |
19 #define NMAPIENGINE_H |
20 |
20 |
21 #include <CFSMailPlugin.h> |
21 #include <CFSMailPlugin.h> |
|
22 #include <CFSMailFolder.h> |
22 |
23 |
23 #include "nmcommon.h" |
24 #include "nmcommon.h" |
24 #include "nmapiprivateclasses.h" |
25 #include "nmapiprivateclasses.h" |
25 |
26 |
26 class NmApiDataPluginFactory; |
27 class NmApiDataPluginFactory; |
27 |
28 |
28 namespace EmailClientApi |
29 namespace EmailClientApi |
29 { |
30 { |
|
31 |
|
32 class NmApiFolder; |
30 class NmApiMailbox; |
33 class NmApiMailbox; |
31 class NmApiFolder; |
|
32 class NmApiMessageEnvelope; |
34 class NmApiMessageEnvelope; |
33 class NmApiMessage; |
35 class NmApiMessage; |
34 } |
36 } |
35 |
37 |
36 class NmApiEngine : public QObject |
38 class NmApiEngine : public QObject |
49 bool getEnvelopeById( |
51 bool getEnvelopeById( |
50 const quint64 mailboxId, |
52 const quint64 mailboxId, |
51 const quint64 folderId, |
53 const quint64 folderId, |
52 const quint64 envelopeId, |
54 const quint64 envelopeId, |
53 EmailClientApi::NmApiMessageEnvelope &envelope); |
55 EmailClientApi::NmApiMessageEnvelope &envelope); |
|
56 |
|
57 bool getFolderById( |
|
58 const quint64 mailboxId, |
|
59 const quint64 folderId, |
|
60 EmailClientApi::NmApiFolder &mailboxFolder); |
54 |
61 |
55 bool getMailboxById(const quint64 mailboxId, EmailClientApi::NmApiMailbox &mailbox); |
62 bool getMailboxById(const quint64 mailboxId, EmailClientApi::NmApiMailbox &mailbox); |
56 |
63 |
57 bool getMessageById( |
64 bool getMessageById( |
58 const quint64 mailboxId, |
65 const quint64 mailboxId, |