diff -r ecc8def7944a -r 2dc6caa42ec3 emailservices/nmailbase/inc/nmcommon.h --- a/emailservices/nmailbase/inc/nmcommon.h Mon May 03 12:23:15 2010 +0300 +++ b/emailservices/nmailbase/inc/nmcommon.h Fri May 14 15:41:10 2010 +0300 @@ -82,6 +82,12 @@ }; Q_DECLARE_METATYPE(NmSyncState) +enum NmOperationType +{ + NoOp, + Synch +}; + enum NmEnvelopeProperties { MarkAsRead, @@ -153,6 +159,7 @@ const int NmCancelError = -3; const int NmAuthenticationError = -200; const int NmServerConnectionError = -201; +const int NmConnectionError = -202; /*! Predefined constants for ContentTypes and parameters @@ -174,6 +181,12 @@ const QString NmContentDescrAttachmentHtml = "Attachment.html"; +/*! + It keep info about maximum messages in message list. + + It is used in NmFrameworkAdapter and NmDataPluginInterface + */ +static const int NmMaxItemsInMessageList = 1000; /*! \class NmId @@ -350,7 +363,7 @@ class NmOperationCompletionEvent { public: - int mOperationType; + NmOperationType mOperationType; int mCompletionCode; NmId mMailboxId; NmId mFolderId;