equal
deleted
inserted
replaced
9 * Initial Contributors: |
9 * Initial Contributors: |
10 * Chandradeep Gandhi, Sasken Communication Technologies Ltd - Initial contribution |
10 * Chandradeep Gandhi, Sasken Communication Technologies Ltd - Initial contribution |
11 * |
11 * |
12 * Contributors: |
12 * Contributors: |
13 * Manasij Roy, Nalina Hariharan |
13 * Manasij Roy, Nalina Hariharan |
14 * Description: |
14 * Description: |
15 * SMF Server implementation for platforms other than Symbian. |
15 * SMF Server implementation for platforms other than Symbian. |
16 * Uses QLocalServer-QLocalSocket classes |
16 * Uses QLocalServer-QLocalSocket classes |
17 * |
17 * |
18 */ |
18 */ |
19 |
19 |
20 #ifndef SMFSERVERQT_P_H |
20 #ifndef SMFSERVERQT_P_H |
21 #define SMFSERVERQT_P_H |
21 #define SMFSERVERQT_P_H |
22 |
22 |
23 #include "smfglobal.h" |
23 #include "smfglobal.h" |
37 |
37 |
38 inline SmfServer *wrapper() const; |
38 inline SmfServer *wrapper() const; |
39 |
39 |
40 bool start(); |
40 bool start(); |
41 int sessionListCount() const; |
41 int sessionListCount() const; |
42 void writeLog(QString log) const; |
42 //void writeLog(QString log) const; |
43 void clientAuthorizationFinished(bool success); |
43 void clientAuthorizationFinished(bool success); |
44 int findAndServiceclient(int requestID,QByteArray* parsedData,SmfError error); |
44 int findAndServiceclient(int requestID,QByteArray* parsedData,SmfError error); |
45 |
45 |
|
46 ~SmfServerQt() {} |
|
47 bool start() {return false;} |
|
48 int sessionListCount() const {return 0;} |
46 private slots: |
49 private slots: |
47 void newClientConnected(); |
50 void newClientConnected(); |
48 void removeFromList(); |
51 void removeFromList(); |
49 |
52 |
50 private: |
53 private: |
55 |
58 |
56 inline SmfServer *SmfServerQt::wrapper() const |
59 inline SmfServer *SmfServerQt::wrapper() const |
57 { |
60 { |
58 return m_generic; |
61 return m_generic; |
59 } |
62 } |
|
63 |
|
64 private: |
|
65 SmfServerQt *iServer; |
|
66 QLocalSocket *iClientConnection; |
60 |
67 |
|
68 }; |
61 |
69 |
62 #endif // SMFSERVERQT_P_H |
70 #endif // SMFSERVERQT_P_H |