equal
deleted
inserted
replaced
13 * |
13 * |
14 * Description: main.cpp |
14 * Description: main.cpp |
15 * |
15 * |
16 */ |
16 */ |
17 #include <hbapplication.h> |
17 #include <hbapplication.h> |
|
18 #include <hbstyleloader.h> |
|
19 #include <QDir> |
|
20 #include <cpbasepath.h> |
18 #include "cpservicemainwindow.h" |
21 #include "cpservicemainwindow.h" |
19 #include "cpsplogger.h" |
22 #include "cpsplogger.h" |
20 |
23 |
21 int main(int argc, char **argv) |
24 int main(int argc, char **argv) |
22 { |
25 { |
23 HbApplication app(argc,argv ); |
26 HbApplication app(argc,argv ); |
24 |
27 |
25 Logger::instance(CPSP_LOGGER_NAME)->configure( |
28 Logger::instance(CPSP_LOGGER_NAME)->configure( |
26 CPSP_LOGGER_CONFIG_PATH,QSettings::IniFormat); |
29 CPSP_LOGGER_CONFIG_PATH,QSettings::IniFormat); |
27 CPSP_LOG("Entering CpServiceProvider.exe..."); |
30 CPSP_LOG("Entering CpServiceProvider.exe..."); |
|
31 |
|
32 HbStyleLoader::registerFilePath(CP_RESOURCE_PATH + QDir::separator() + WIDGETML_SUB_PATH); |
28 |
33 |
29 CpServiceMainWindow wnd; |
34 CpServiceMainWindow wnd; |
30 wnd.show(); |
35 wnd.show(); |
31 |
36 |
32 int ret = app.exec(); |
37 int ret = app.exec(); |