rcsimengine/inc/chatsessionimpl_sym.h
changeset 0 59dfe4ae66d0
equal deleted inserted replaced
-1:000000000000 0:59dfe4ae66d0
       
     1 /*
       
     2 * Copyright (c) 2009-2010 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 * Initial Contributors:
       
     9 * Nokia Corporation - initial contribution.
       
    10 * Contributors:
       
    11 *
       
    12 * Description:
       
    13 * RCS IM Library - Initial version
       
    14 *
       
    15 */
       
    16 
       
    17 
       
    18 #ifndef __CHATSESSION_IMPL_SYM_H__
       
    19 #define __CHATSESSION_IMPL_SYM_H__
       
    20 
       
    21 #include <QTimer>
       
    22 #include "chatinterfaces.h"
       
    23 #include "chatsession.h"
       
    24 //#include "rcschatengine_globals.h"
       
    25 
       
    26 class TMsrpChatSession;
       
    27 class CMceMessageSource;
       
    28 class TDesC8;
       
    29 
       
    30 
       
    31 class ChatSessionImpl: public QObject
       
    32 {
       
    33 	Q_OBJECT
       
    34 	public:
       
    35 	ChatSessionImpl(ChatSession *apParent);
       
    36    	
       
    37 	/* Close the session */
       
    38     bool endChatSession();
       
    39     
       
    40     bool sendChatData(QString newChatData);
       
    41 
       
    42     
       
    43     //****************
       
    44 	void setPlatformParams(void *apPlatFormParam);
       
    45 
       
    46 	//Get the Platform implementations
       
    47 	void* getPlatformImpl();
       
    48 	void  incomingData(const TDesC8& aData);
       
    49 
       
    50 
       
    51 	ChatSession *mParent;
       
    52 	TMsrpChatSession* mMsrpChatSessionData;
       
    53 	CMceMessageSource* mMessageSource;
       
    54 	
       
    55 
       
    56 };
       
    57 
       
    58 #endif
       
    59