emailservices/nmailbase/inc/nmcommon.h
changeset 74 6c59112cfd31
parent 66 084b5b1f02a7
equal deleted inserted replaced
69:4e54af54a4a1 74:6c59112cfd31
   162 	NmMailDescending,
   162 	NmMailDescending,
   163 	NmMailAscending
   163 	NmMailAscending
   164     };
   164     };
   165 Q_DECLARE_METATYPE(NmMailSortOrder)
   165 Q_DECLARE_METATYPE(NmMailSortOrder)
   166 
   166 
       
   167 
   167 /*!
   168 /*!
   168 	NMail error codes
   169 	NMail error codes
   169 */
   170 */
   170 
       
   171 const int NmNoError = 0;
   171 const int NmNoError = 0;
   172 const int NmNotFoundError = -1;
   172 const int NmNotFoundError = -1;
   173 const int NmGeneralError = -2;
   173 const int NmGeneralError = -2;
   174 const int NmCancelError = -3;
   174 const int NmCancelError = -3;
   175 const int NmAuthenticationError = -200;
   175 const int NmAuthenticationError = -200;
   176 const int NmServerConnectionError = -201;
   176 const int NmServerConnectionError = -201;
   177 const int NmConnectionError = -202;
   177 const int NmConnectionError = -202;
       
   178 const int NmDiskFullError = -300;
       
   179 
   178 
   180 
   179 /*!
   181 /*!
   180 	Predefined constants for ContentTypes and parameters
   182 	Predefined constants for ContentTypes and parameters
   181 	for ContentType and ContentDisposition
   183 	for ContentType and ContentDisposition
   182 */
   184 */
   199 /*!
   201 /*!
   200    It keep info about maximum messages in message list.
   202    It keep info about maximum messages in message list.
   201    
   203    
   202    It is used in NmFrameworkAdapter and NmDataPluginInterface
   204    It is used in NmFrameworkAdapter and NmDataPluginInterface
   203  */
   205  */
   204 static const int NmMaxItemsInMessageList = 1000;
   206 static const int NmMaxItemsInMessageList = 2000;
   205 
   207 
   206 /*!
   208 /*!
   207     \class NmId
   209     \class NmId
   208     \brief Unique identifier for any mail spesific objects like mailbox, folder,
   210     \brief Unique identifier for any mail spesific objects like mailbox, folder,
   209     message, message part etc. Id is stored in unsigned 64 bit integer
   211     message, message part etc. Id is stored in unsigned 64 bit integer