equal
deleted
inserted
replaced
13 * |
13 * |
14 * Description: |
14 * Description: |
15 * |
15 * |
16 */ |
16 */ |
17 |
17 |
18 #include <hbapplication.h> |
|
19 #include <hbdevicemessagebox.h> |
18 #include <hbdevicemessagebox.h> |
20 #include <QLocalSocket> |
|
21 #include <hbsplashscreen.h> |
19 #include <hbsplashscreen.h> |
22 #include <hbtranslator.h> |
20 #include <hbtranslator.h> |
23 |
21 |
24 #include <xqserviceutil.h> |
22 #include "irhbapplication.h" |
25 |
|
26 #include "irviewmanager.h" |
23 #include "irviewmanager.h" |
27 #include "irapplication.h" |
24 #include "irapplication.h" |
28 #include "irmemorycollector.h" |
25 #include "irmemorycollector.h" |
29 #include "irqlogger.h" |
26 #include "irqlogger.h" |
30 #include "irqsystemeventhandler.h" |
27 #include "irqsystemeventhandler.h" |
43 |
40 |
44 |
41 |
45 installLogDir(); |
42 installLogDir(); |
46 INSTALL_MESSAGE_HANDLER; |
43 INSTALL_MESSAGE_HANDLER; |
47 |
44 |
48 HbApplication app(argc, argv, Hb::NoSplash); |
45 IRHbApplication app(argc, argv, Hb::NoSplash); |
49 HbTranslator* translator = new HbTranslator(); |
46 HbTranslator* translator = new HbTranslator(); |
50 Q_ASSERT( NULL != translator ); |
47 Q_ASSERT( NULL != translator ); |
51 translator->loadCommon(); |
48 translator->loadCommon(); |
52 |
49 |
53 //we start the splash screen here for the translator will be |
50 //we start the splash screen here for the translator will be |
68 |
65 |
69 //here, we transfer the ownership of the event handler to the irapp |
66 //here, we transfer the ownership of the event handler to the irapp |
70 IRApplication *irapp = new IRApplication(mainWindow, systemEventHandler); |
67 IRApplication *irapp = new IRApplication(mainWindow, systemEventHandler); |
71 IRMemoryCollector mc(irapp); |
68 IRMemoryCollector mc(irapp); |
72 |
69 |
|
70 app.initMattiAutomation(); |
73 if(!mainWindow->isExiting()) |
71 if(!mainWindow->isExiting()) |
74 { |
72 { |
75 result = app.exec(); |
73 result = app.exec(); |
76 } |
74 } |
77 |
75 |