imservices/imfeatureplugin/srcimprocessor/imconversationdatahost/protocolimconversationdatahostimp.h
changeset 0 e6b17d312c8b
equal deleted inserted replaced
-1:000000000000 0:e6b17d312c8b
       
     1 /*
       
     2 * Copyright (c) 2007 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:  Implementation for managing cached Invite information.
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef CPROTOCOLIMCONVERSATIONDATAHOSTIMP_H
       
    19 #define CPROTOCOLIMCONVERSATIONDATAHOSTIMP_H
       
    20 
       
    21 #include <protocolimconversationdatahost.h>
       
    22 
       
    23 #include "ximpapiobjbase.h"
       
    24 #include "imapiobjbase.h"
       
    25 //#include "ximpitemparent.h"
       
    26 #include "imtypehelpers.h"
       
    27 //#include "ximpoperationdefs.h"
       
    28 
       
    29 class MXIMPHost;
       
    30 class MXIMPObjectCollection;
       
    31 /**
       
    32  * Implementation for managing cached Invitation information
       
    33  *
       
    34  * @since S60 
       
    35  */
       
    36 class CProtocolImConversationDataHostImp : public CXIMPApiObjBase,
       
    37                                            public MProtocolImConversationDataHost
       
    38     {
       
    39 public: // Definitions
       
    40 
       
    41     /** The class ID. */
       
    42     enum { KClassId = IMIMP_CLSID_CPROTOCOLIMCONVERSATIONDATAHOST };
       
    43 
       
    44 public: // Construction and destruction
       
    45 
       
    46     /**
       
    47      * Construction
       
    48      */
       
    49     IMPORT_C static CProtocolImConversationDataHostImp* NewL( MXIMPHost& aHost );
       
    50 
       
    51     /**
       
    52      * Destruction
       
    53      */
       
    54     virtual ~CProtocolImConversationDataHostImp();
       
    55 
       
    56 private:
       
    57 
       
    58     CProtocolImConversationDataHostImp( MXIMPHost& aHost );
       
    59     void ConstructL();
       
    60 
       
    61 public: // From MXIMPBase
       
    62 
       
    63     /**
       
    64      * Implementation of MXIMPBase interface methods
       
    65      * @see MXIMPBase
       
    66      */
       
    67     XIMPIMP_DECLARE_IF_BASE_METHODS
       
    68 
       
    69 public: //From CProtocolImConversationDataHost
       
    70 	
       
    71 	//TXIMPRequestId HandleSentMessageL(MXIMPIdentity* aMessageId);
       
    72     TXIMPRequestId HandleNewTextMessageL( MImConversationInfo* aImMessage);
       
    73     //TXIMPRequestId HandleNewContentMessageL(  MXIMPIdentity* aMessageId,
       
    74     //                                       const TDesC& aSender,   
       
    75     //                                       const TDesC& aScreenName, 
       
    76     //                                       const MDesCArray& aRecipients,
       
    77     //                                       const MDesCArray& aScreenNames,                  
       
    78     //                                       const TDesC& aContentType, 
       
    79     //                                       const TDesC8& aContent);
       
    80     // TXIMPRequestId HandleBlockedListResponseL( const MDesCArray* aBlockedList,
       
    81     //                                          TBool aBlockedListInUse,
       
    82     //                                          const MDesCArray* aGrantedList,
       
    83     //                                          TBool aGrantedListInUse);
       
    84     //TXIMPRequestId HandleForwardMessageCompletionL(MXIMPIdentity* aMessageId);
       
    85 	//TXIMPRequestId HandleGetMessageListL( /*MImFtpPluginObjectCollection* aMessageList */);
       
    86     //TXIMPRequestId HandleRejectMessageL( MXIMPIdentity* aMessageId);
       
    87   
       
    88  private: // Data
       
    89 
       
    90     /**
       
    91      * Access to host.
       
    92      */
       
    93     MXIMPHost& iHost;
       
    94     };
       
    95 
       
    96 
       
    97 
       
    98 
       
    99 #endif // CPROTOCOLIMCONVERSATIONDATAHOSTIMP_H
       
   100