rcsimengine/src/chatsession.cpp
changeset 0 59dfe4ae66d0
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/rcsimengine/src/chatsession.cpp	Fri Oct 08 18:07:26 2010 +0530
@@ -0,0 +1,49 @@
+/*
+* Copyright (c) 2009-2010 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html."
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+* Contributors:
+*
+* Description:
+* RCS IM Library - Initial version
+*
+*/
+
+
+#include "chatsession.h"
+#ifdef Q_OS_SYMBIAN
+#include "chatsessionimpl_sym.h"
+#endif
+
+using namespace RcsIMLib;
+
+ChatSession::ChatSession()
+{
+	mpImpl = new ChatSessionImpl(this);
+}
+
+bool ChatSession::endChatSession()
+{
+	return mpImpl->endChatSession();
+}
+
+bool ChatSession::sendChatData(QString newChatData)
+{
+    return mpImpl->sendChatData(newChatData);
+}
+
+void ChatSession::setPlatformParams(void *apPlatFormParam)
+{
+	mpImpl->setPlatformParams(apPlatFormParam);
+}
+
+//Get the Platform implementations
+void* ChatSession::getPlatformImpl()
+{
+	return mpImpl->getPlatformImpl();
+}