messagingapp/msgappfw/server/inc/ccssession.h
changeset 27 e4592d119491
parent 25 84d9eb65b26f
child 47 5b14749788d7
equal deleted inserted replaced
25:84d9eb65b26f 27:e4592d119491
    16  */
    16  */
    17 
    17 
    18 #ifndef __C_CS_SESSION_H
    18 #ifndef __C_CS_SESSION_H
    19 #define __C_CS_SESSION_H
    19 #define __C_CS_SESSION_H
    20 
    20 
    21 // USER INCLUDE FILES
       
    22 #include "mcsconversationdeleteobserver.h"
       
    23 #include "mcsconversationmarkreadobserver.h"
       
    24 
       
    25 // FORWARD DECLARATIONS
    21 // FORWARD DECLARATIONS
    26 class CCsServer;
    22 class CCsServer;
    27 class CCsPluginInterface;
    23 class CCsPluginInterface;
    28 class CCsClientConversation;
    24 class CCsClientConversation;
    29 class CCsConversationEvent;
    25 class CCsConversationEvent;
    30 class CCsConversationDeleteHandler;
       
    31 class CCsConversationMarkReadHandler;
       
    32 
    26 
    33 // CLASS DECLARATIONS
    27 // CLASS DECLARATIONS
    34 
    28 
    35 /**
    29 /**
    36  * Represents a session (version 2) for a client thread on 
    30  * Represents a session (version 2) for a client thread on 
    37  * the server side
    31  * the server side
    38  */
    32  */
    39 class CCsSession : public CSession2,
    33 class CCsSession : public CSession2
    40 public MCsConversationDeleteObserver,
       
    41 public MCsConversationMarkReadObserver
       
    42     {
    34     {
    43 public:
    35 public:
    44 
    36 
    45     /**
    37     /**
    46      * Two phase construction
    38      * Two phase construction
   150      * HandleRefreshConversationList.
   142      * HandleRefreshConversationList.
   151      * Notify client to refresh conversations.
   143      * Notify client to refresh conversations.
   152      */
   144      */
   153     void HandleRefreshConversationL();
   145     void HandleRefreshConversationL();
   154 
   146 
   155 public:
   147    
   156     // From MCsConversationDeleteObserver
       
   157     void DeleteComplete(CCsConversationDeleteHandler* aHandler);
       
   158     void DeleteInProgress(CCsConversationDeleteHandler* aHandler);
       
   159 
       
   160 public:
       
   161     // From MCsConversationMarkReadObserver
       
   162     void MarkReadComplete(CCsConversationMarkReadHandler* aHandler);
       
   163     
       
   164 private:
   148 private:
   165 
   149 
   166     /**
   150     /**
   167      * Second phase constructor
   151      * Second phase constructor
   168      */
   152      */