diff -r 6df133bd92e1 -r 075425b8d9a4 radioapp/radiouiengine/inc/radiouiengine_p.h --- a/radioapp/radiouiengine/inc/radiouiengine_p.h Fri Jun 04 10:21:36 2010 +0100 +++ b/radioapp/radiouiengine/inc/radiouiengine_p.h Fri Jun 11 13:38:32 2010 +0300 @@ -31,11 +31,11 @@ class RadioEngineWrapper; class RadioStationModel; class RadioHistoryModel; -class RadioCarouselModel; class RadioPresetStorage; class RadioControlService; class RadioMonitorService; class RadioScannerEngine; +class QTimer; class RadioUiEnginePrivate : public RadioEngineWrapperObserver { @@ -62,6 +62,8 @@ void tunedToFrequency( uint frequency, int reason ); void radioStatusChanged( bool radioIsOn ); void rdsAvailabilityChanged( bool available ); + void increaseVolume(); + void decreaseVolume(); void volumeChanged( int volume ); void muteChanged( bool muted ); void audioRouteChanged( bool loudspeaker ); @@ -74,7 +76,7 @@ /*! * Tunes to next or previous station */ - uint skip( StationSkip::Mode mode, uint startFrequency = 0 ); + uint skip( StationSkip::Mode mode, uint startFrequency = 0, const int reason = TuneReason::Skip ); private: // data @@ -92,16 +94,18 @@ QScopedPointer mHistoryModel; - QScopedPointer mCarouselModel; - -#ifndef BUILD_WIN32 QScopedPointer mControlService; -#endif QScopedPointer mMonitorService; QPointer mScannerEngine; + /** + * Power off timer + * Owned by public class by setting parent + */ + QPointer mPowerOffTimer; + }; #endif // RADIOUIENGINE_P_H_