equal
deleted
inserted
replaced
32 //#endif |
32 //#endif |
33 #ifdef Q_OS_SYMBIAN |
33 #ifdef Q_OS_SYMBIAN |
34 #include "smfserversymbian_p.h" |
34 #include "smfserversymbian_p.h" |
35 #else |
35 #else |
36 #include "smfserverqt_p.h" |
36 #include "smfserverqt_p.h" |
|
37 #include "smfserverqtsession.h" |
37 #endif |
38 #endif |
38 |
39 |
39 SmfServer::SmfServer(QObject* parent): QObject(parent) |
40 SmfServer::SmfServer(QObject* parent) |
40 { |
41 : QObject(parent) |
41 } |
42 { |
|
43 } |
|
44 |
|
45 SmfServer::~SmfServer() |
|
46 { |
|
47 delete m_SmfServerPrivate; |
|
48 } |
|
49 |
42 bool SmfServer::startServer() |
50 bool SmfServer::startServer() |
43 { |
51 { |
44 bool success = false; |
52 bool success = false; |
45 //Initialize all the component handles |
53 //Initialize all the component handles |
46 writeLog("Not doing SmfTransportManager::getInstance"); |
54 writeLog("Not doing SmfTransportManager::getInstance"); |
81 { |
89 { |
82 //error |
90 //error |
83 return success; |
91 return success; |
84 } |
92 } |
85 #else |
93 #else |
86 m_SmfServerPrivate = new SmfServerQt(); |
94 m_SmfServerPrivate = new SmfServerQt(this); |
87 success = m_SmfServerPrivate->start(); |
95 success = m_SmfServerPrivate->start(); |
88 if (!success) |
96 if (!success) |
89 { |
97 { |
90 return success; |
98 return success; |
91 } |
99 } |