rcsimengine/inc/chatcontactmanager.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 __CHATCONTACT_MANAGER_H__
       
    19 #define __CHATCONTACT_MANAGER_H__
       
    20 
       
    21 #include "chatinterfaces.h"
       
    22 //#include "rcschatengine_globals.h"
       
    23 
       
    24 class ChatContactManagerImpl;
       
    25 
       
    26 /* Interface implementation of MChatContactIntf
       
    27  */
       
    28 class ChatContactManager: public RcsIMLib::MChatContactManagerIntf
       
    29 {
       
    30 	Q_OBJECT
       
    31 	public:
       
    32 		ChatContactManager();
       
    33 		~ChatContactManager();
       
    34 		RcsIMLib::RcsChatId createChatSession(QContactLocalId contactId, QString initMsg);
       
    35 		void closeSession(RcsIMLib::RcsChatId sessID);
       
    36 		void acceptIncomingSession(RcsIMLib::RcsChatId sessID);
       
    37 		
       
    38 	
       
    39 	private:
       
    40 		ChatContactManagerImpl *mpImpl;
       
    41 		friend class ChatContactManagerImpl;
       
    42 };
       
    43 
       
    44 #endif //__CHATCONTACT_MANAGER_H__