diff -r 3b03c28289e6 -r f683e24efca3 qtinternetradio/ui/inc/irapplication.h --- a/qtinternetradio/ui/inc/irapplication.h Fri Jun 11 13:30:40 2010 +0300 +++ b/qtinternetradio/ui/inc/irapplication.h Wed Jun 23 18:04:00 2010 +0300 @@ -17,9 +17,9 @@ #ifndef IRAPPLICATION_H #define IRAPPLICATION_H +#include #include #include -#include #include #include "irqevent.h" @@ -40,15 +40,15 @@ class IRQAdvClient; class HbProgressDialog; class IRQSystemEventHandler; -class XQSharableFile; class IRPlayList; class HbIconItem; +class IRFileViewService; #ifdef LOCALIZATION class QTranslator; #endif -class IRApplication : public XQServiceProvider +class IRApplication : public QObject { Q_OBJECT @@ -74,6 +74,8 @@ IRQAdvClient* getAdvClient(); IRPlayList* getPlayList() const; + void launchStartingView(TIRViewId aViewId); + #ifdef LOCALIZATION /* * this function will take ownership of the translator @@ -88,10 +90,6 @@ public: bool iTestPreferredBitrate; #endif - -public slots: - void view(const QString &aFileName); - void view(const XQSharableFile &aSharableFile); signals: void quit(); @@ -114,7 +112,6 @@ void destroyComponents(); void setupConnection(); void setLaunchView(); - void launchStartingView(TIRViewId aViewId); void startSystemEventMonitor(); void initApp(); void setExitingView(); @@ -170,8 +167,8 @@ IRQSystemEventHandler *iSystemEventHandler; - IRPlayList *iPlayList; HbIconItem *iLoadingAnimation; + IRFileViewService *iFileViewService; }; #endif