equal
deleted
inserted
replaced
|
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 #include "chatsession.h" |
|
19 #ifdef Q_OS_SYMBIAN |
|
20 #include "chatsessionimpl_sym.h" |
|
21 #endif |
|
22 |
|
23 using namespace RcsIMLib; |
|
24 |
|
25 ChatSession::ChatSession() |
|
26 { |
|
27 mpImpl = new ChatSessionImpl(this); |
|
28 } |
|
29 |
|
30 bool ChatSession::endChatSession() |
|
31 { |
|
32 return mpImpl->endChatSession(); |
|
33 } |
|
34 |
|
35 bool ChatSession::sendChatData(QString newChatData) |
|
36 { |
|
37 return mpImpl->sendChatData(newChatData); |
|
38 } |
|
39 |
|
40 void ChatSession::setPlatformParams(void *apPlatFormParam) |
|
41 { |
|
42 mpImpl->setPlatformParams(apPlatFormParam); |
|
43 } |
|
44 |
|
45 //Get the Platform implementations |
|
46 void* ChatSession::getPlatformImpl() |
|
47 { |
|
48 return mpImpl->getPlatformImpl(); |
|
49 } |