qtinternetradio/ui/inc/irapplication.h
changeset 14 896e9dbc5f19
parent 12 608f67c22514
child 15 065198191975
--- a/qtinternetradio/ui/inc/irapplication.h	Tue Jul 06 14:07:20 2010 +0300
+++ b/qtinternetradio/ui/inc/irapplication.h	Wed Aug 18 09:40:26 2010 +0300
@@ -35,8 +35,7 @@
 class IRLastPlayedStationInfo;
 class IRQFavoritesDB;
 class IRQNetworkController;
-class IRQDiskSpaceWatcher;
-class QLocalServer;
+class IRQDiskSpaceWatcher; 
 class IRQAdvClient;
 class HbProgressDialog;
 class IRQSystemEventHandler;
@@ -45,12 +44,11 @@
 class IrMonitorService;
 class IrControlService;
 #endif 
+
 class IRFileViewService;
 class HbMessageBox;
 
-#ifdef LOCALIZATION
-class QTranslator;
-#endif
+ 
 
 class IRApplication : public QObject
 {
@@ -89,13 +87,7 @@
     void launchStartingView(TIRViewId aViewId);
     
     bool isAppFullyStarted() const;
-    
-#ifdef LOCALIZATION
-    /*
-     * this function will take ownership of the translator
-     */
-    void setTranslator(QTranslator* aTranslator);
-#endif
+    bool isEmbeddedInstance() const;
 	
     //from QObject
     bool event(QEvent* e);
@@ -112,8 +104,7 @@
     //connect to signal 'networkEventNotified' from IRQNetworkController
     void networkEventNotified(IRQNetworkEvent aEvent);
     void cancelConnect();
-    void loadGenre();
-    void newLocalSocketConnection();
+    void loadGenre();     
     void handleDiskSpaceLow(qint64 aCriticalLevel);
     void handleTermsConsAccepted();
     void handleCallActivated();
@@ -130,8 +121,6 @@
     void setExitingView(); 
     TIRHandleResult handleConnectionEstablished();
     
-    void startLocalServer();
-    bool eventFilter(QObject *object, QEvent *event);
     
 #ifdef _DEBUG
     void readConfiguration();
@@ -166,16 +155,9 @@
 
     QEvent::Type iInitEvent;
 
-    QString iConnectingText;
-    
-    QLocalServer *iLocalServer;
+    QString iConnectingText;     
     
-    HbProgressDialog *iLoadingNote;
-    
-#ifdef LOCALIZATION
-    QTranslator  *iTranslator;
-#endif
-    
+    HbProgressDialog *iLoadingNote;    
     IRQSystemEventHandler *iSystemEventHandler;    	
     TIRUseNetworkReason iUseNetworkReason;	
     
@@ -188,6 +170,7 @@
       
     IRFileViewService   *iFileViewService;
     HbMessageBox *iMessageBox;
+	bool          iIsEmbedded;
 };
 
 #endif