rcsimengine/inc/chatsession.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 __CHATSESSIONMANAGER_H__
       
    19 #define __CHATSESSIONMANAGER_H__
       
    20 
       
    21 #include "chatinterfaces.h"
       
    22 //#include "rcschatengine_globals.h"
       
    23 
       
    24 class ChatSessionImpl;
       
    25 
       
    26 class ChatSession:public RcsIMLib::MChatSessionIntf
       
    27 {
       
    28 	Q_OBJECT
       
    29 	public:
       
    30 	ChatSession();
       
    31 	
       
    32 	
       
    33 	/* Close the session */
       
    34 	bool endChatSession();
       
    35    	bool sendChatData(QString newChatData);
       
    36 
       
    37    	
       
    38 	void setPlatformParams(void *apPlatFormParam);
       
    39 
       
    40 	//Get the Platform implementations
       
    41 	void* getPlatformImpl();
       
    42 	
       
    43 	
       
    44 	private:
       
    45 	ChatSessionImpl *mpImpl;	
       
    46 	friend class ChatSessionImpl;
       
    47 };
       
    48 
       
    49 #endif
       
    50