messagingapp/msgui/appengine/inc/conversationmsgstorehandler.h
changeset 52 12db4185673b
parent 34 84197e66a4bd
equal deleted inserted replaced
44:36f374c67aa8 52:12db4185673b
    30 class CClientMtmRegistry;
    30 class CClientMtmRegistry;
    31 class CMmsClientMtm;
    31 class CMmsClientMtm;
    32 class CMmsNotificationClientMtm;
    32 class CMmsNotificationClientMtm;
    33 
    33 
    34 
    34 
    35 class ConversationMsgStoreHandler: public MMsvSessionObserver
    35 class ConversationMsgStoreHandler: public CBase, public MMsvSessionObserver
    36     {
    36     {
    37 public:
    37 public:
    38     
    38     
    39     /*
    39     /*
    40      * Draft processing states
    40      * Draft processing states
   145      */
   145      */
   146     void setNotificationMessageIdL(int messageId);
   146     void setNotificationMessageIdL(int messageId);
   147 
   147 
   148     /**
   148     /**
   149      * Seeker method for getting mms notification estimated msg size
   149      * Seeker method for getting mms notification estimated msg size
   150      * @return Formatted string of msg size
   150      * @return formatted string for msg size in KB
   151      */
   151      */
   152     QString NotificationMsgSizeL();
   152     QString NotificationMsgSize();
   153     
   153     
   154     /**
   154     /**
   155      * Seeker method for getting mms notification class type
   155      * Seeker method for getting mms notification class type
   156      * @return Notification Class type string
   156      * @return Notification Class type string
   157      */
   157      */
   166     void NotificationStatus(int& status,
   166     void NotificationStatus(int& status,
   167                      QString& statusStr);
   167                      QString& statusStr);
   168     
   168     
   169     /**
   169     /**
   170      * Seeker method getting expiry info of a notification msg
   170      * Seeker method getting expiry info of a notification msg
   171      * @param [OUT] expiryTime, notification's expiry time
   171      * @return formatted string of notification's expiry time
   172      * @param [OUT] expiryTimeQString, formatted string of
   172      */
   173      * notification's expiry time
   173     QString NotificationExpiryDate();
   174      */
       
   175     void NotificationExpiryDate(
       
   176             TTime& expiryTime,
       
   177             QString& expiryTimeStr);
       
   178 					 
   174 					 
   179     /**
   175     /**
   180      * Download a specified message
   176      * Download a specified message
   181      * @param aId TMsvId of the message 
   177      * @param aId TMsvId of the message 
   182      * @return KErrNone if Download request is successful, 
   178      * @return KErrNone if Download request is successful, 
   221 
   217 
   222     /**
   218     /**
   223      * Checks if the MTM type supported
   219      * Checks if the MTM type supported
   224      */
   220      */
   225     TBool IsMtmSupported(long uid);
   221     TBool IsMtmSupported(long uid);
       
   222     
       
   223     /**
       
   224      * Get max receive size limit (for MMS) from settings
       
   225      */
       
   226     TInt MaxReceiveSizeLimitL();
   226 
   227 
   227 private: 
   228 private: 
   228     /**
   229     /**
   229      * Msv Session
   230      * Msv Session
   230      * Own. 
   231      * Own.