equal
deleted
inserted
replaced
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 * |
14 * |
15 * |
|
16 * Description: Session implementation for Qt desktop builds |
15 * Description: Session implementation for Qt desktop builds |
17 * |
16 * |
18 */ |
17 */ |
19 |
18 |
20 #ifndef SMFSERVERQTSESSION_H |
19 #ifndef SMFSERVERQTSESSION_H |
24 #include <QLocalSocket> |
23 #include <QLocalSocket> |
25 |
24 |
26 class SmfServerQt; |
25 class SmfServerQt; |
27 |
26 |
28 class SmfServerQtSession : public QObject |
27 class SmfServerQtSession : public QObject |
29 { |
28 { |
30 Q_OBJECT |
29 Q_OBJECT |
31 |
30 |
32 public: |
31 public: |
33 SmfServerQtSession(QLocalSocket *clientConnection, SmfServerQt *server); |
32 SmfServerQtSession(QLocalSocket *clientConnection, SmfServerQt *server); |
34 ~SmfServerQtSession(); |
33 ~SmfServerQtSession(); |
45 |
44 |
46 private: |
45 private: |
47 int m_opCode; |
46 int m_opCode; |
48 QLocalSocket *m_clientConnection; |
47 QLocalSocket *m_clientConnection; |
49 SmfServerQt *m_server; |
48 SmfServerQt *m_server; |
50 }; |
49 }; |
51 |
50 |
52 #endif // SMFSERVERQTSESSION_H |
51 #endif // SMFSERVERQTSESSION_H |