equal
deleted
inserted
replaced
18 #define IRAPPLICATION_H |
18 #define IRAPPLICATION_H |
19 |
19 |
20 #include <QEvent> |
20 #include <QEvent> |
21 #include <hbglobal.h> |
21 #include <hbglobal.h> |
22 #include <xqserviceprovider.h> |
22 #include <xqserviceprovider.h> |
|
23 #include <qpoint.h> |
23 |
24 |
24 #include "irqevent.h" |
25 #include "irqevent.h" |
25 #include "irviewdefinitions.h" |
26 #include "irviewdefinitions.h" |
26 |
27 |
27 |
28 |
39 class IRQAdvClient; |
40 class IRQAdvClient; |
40 class HbProgressDialog; |
41 class HbProgressDialog; |
41 class IRQSystemEventHandler; |
42 class IRQSystemEventHandler; |
42 class XQSharableFile; |
43 class XQSharableFile; |
43 class IRPlayList; |
44 class IRPlayList; |
|
45 class HbIconItem; |
44 |
46 |
45 #ifdef LOCALIZATION |
47 #ifdef LOCALIZATION |
46 class QTranslator; |
48 class QTranslator; |
47 #endif |
49 #endif |
48 |
50 |
55 |
57 |
56 ~IRApplication(); |
58 ~IRApplication(); |
57 |
59 |
58 bool verifyNetworkConnectivity(const QString &aConnectingText = hbTrId("txt_common_info_loading")); |
60 bool verifyNetworkConnectivity(const QString &aConnectingText = hbTrId("txt_common_info_loading")); |
59 |
61 |
60 void createLoadingDialog(const QObject *aReceiver, const char *aFunc); |
62 void startLoadingAnimation(const QObject *aReceiver, const char *aFunc); |
61 |
63 void startLoadingAnimation(const QPointF& aPos); |
62 void closeLoadingDialog(); |
64 void stopLoadingAnimation(); |
63 |
65 |
64 IRViewManager* getViewManager() const; |
66 IRViewManager* getViewManager() const; |
65 IRQNetworkController* getNetworkController(); |
67 IRQNetworkController* getNetworkController(); |
66 IRQIsdsClient* getIsdsClient(); |
68 IRQIsdsClient* getIsdsClient(); |
67 IRPlayController* getPlayController(); |
69 IRPlayController* getPlayController(); |
114 void setLaunchView(); |
116 void setLaunchView(); |
115 void launchStartingView(TIRViewId aViewId); |
117 void launchStartingView(TIRViewId aViewId); |
116 void startSystemEventMonitor(); |
118 void startSystemEventMonitor(); |
117 void initApp(); |
119 void initApp(); |
118 void setExitingView(); |
120 void setExitingView(); |
|
121 void getLoadingAnimation(); |
119 |
122 |
120 TIRHandleResult handleConnectionEstablished(); |
123 TIRHandleResult handleConnectionEstablished(); |
121 |
124 |
122 void startLocalServer(); |
125 void startLocalServer(); |
123 bool eventFilter(QObject *object, QEvent *event); |
126 bool eventFilter(QObject *object, QEvent *event); |
166 #endif |
169 #endif |
167 |
170 |
168 IRQSystemEventHandler *iSystemEventHandler; |
171 IRQSystemEventHandler *iSystemEventHandler; |
169 |
172 |
170 IRPlayList *iPlayList; |
173 IRPlayList *iPlayList; |
|
174 HbIconItem *iLoadingAnimation; |
171 }; |
175 }; |
172 |
176 |
173 #endif |
177 #endif |