smf/smfservermodule/smfserver/server/smfserverqt.cpp
changeset 10 77a56c951f86
child 13 b5d63d5fc252
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/smf/smfservermodule/smfserver/server/smfserverqt.cpp	Fri May 21 15:45:10 2010 +0100
@@ -0,0 +1,98 @@
+/**
+ * Copyright (c) 2010 Sasken Communication Technologies Ltd.
+ * All rights reserved.
+ * This component and the accompanying materials are made available
+ * under the terms of the "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:
+ * Chandradeep Gandhi, Sasken Communication Technologies Ltd - Initial contribution
+ *
+ * Contributors:
+ * Manasij Roy, Nalina Hariharan
+* Description:
+* SMF Server implementation for platforms other than Symbian.
+* Uses  QLocalServer-QLocalSocket classes
+*
+*/
+
+#include "smfserverqt_p.h"
+
+#include <QLocalServer>
+#include <QLocalSocket>
+
+//
+// SmfServerQt
+//
+
+SmfServerQt::SmfServerQt()
+{
+}
+
+SmfServerQt::~SmfServerQt()
+{
+}
+
+bool SmfServerQt::start()
+{
+    return false;
+}
+
+int SmfServerQt::sessionListCount() const
+{
+    return 0;
+}
+
+void SmfServerQt::writeLog(QString log) const
+{
+    Q_UNUSED(log);
+}
+
+/**
+ * Called by the SmfServer when client authorization finishes.
+ * @param success success of the authorization
+ */
+void SmfServerQt::clientAuthorizationFinished(bool success)
+{
+    Q_UNUSED(success);
+}
+
+void SmfServerQt::newClientConnected()
+{
+}
+
+void  SmfServerQt::removeFromList()
+{
+}
+
+int SmfServerQt::findAndServiceclient(int requestID,QByteArray* parsedData,SmfError error)
+{
+    Q_UNUSED(requestID);
+    Q_UNUSED(parsedData);
+    Q_UNUSED(error);
+    return 0;
+}
+
+//
+// SmfServerQtSession
+//
+
+SmfServerQtSession::SmfServerQtSession(QLocalSocket *clientConnection, SmfServerQt *server)
+{
+    Q_UNUSED(server);
+    Q_UNUSED(clientConnection);
+}
+
+SmfServerQtSession::~SmfServerQtSession()
+{
+}
+
+void SmfServerQtSession::readDataFromClient()
+{
+}
+
+void SmfServerQtSession::clientAuthorizationFinished(bool success)
+{
+    Q_UNUSED(success);
+}