radioapp/radioenginewrapper/inc/radioenginewrapper.h
changeset 19 afea38384506
parent 16 f54ebcfc1b80
child 37 451b2e1545b2
equal deleted inserted replaced
16:f54ebcfc1b80 19:afea38384506
    24 #include "radiowrapperexport.h"
    24 #include "radiowrapperexport.h"
    25 #include "radio_global.h"
    25 #include "radio_global.h"
    26 
    26 
    27 // Forward declarations
    27 // Forward declarations
    28 class RadioEngineWrapperPrivate;
    28 class RadioEngineWrapperPrivate;
    29 class RadioSettings;
    29 class RadioSettingsIf;
    30 class RadioStationHandlerIf;
    30 class RadioStationHandlerIf;
    31 class RadioEngineWrapperObserver;
    31 class RadioEngineWrapperObserver;
    32 
    32 
    33 // Class declaration
    33 // Class declaration
    34 class WRAPPER_DLL_EXPORT RadioEngineWrapper
    34 class WRAPPER_DLL_EXPORT RadioEngineWrapper
    53     bool isEngineConstructed();
    53     bool isEngineConstructed();
    54 
    54 
    55     /**
    55     /**
    56      * Getters for things owned by the engine
    56      * Getters for things owned by the engine
    57      */
    57      */
    58     RadioSettings& settings();
    58     RadioSettingsIf& settings();
    59 
    59 
    60     /**
    60     /**
    61      * Getters for region and other region dependent settings
    61      * Getters for region and other region dependent settings
    62      */
    62      */
    63     RadioRegion::Region region() const;
    63     RadioRegion::Region region() const;
    83 
    83 
    84     /*!
    84     /*!
    85      * Audio update command functions for the engine
    85      * Audio update command functions for the engine
    86      */
    86      */
    87     void setVolume( int volume );
    87     void setVolume( int volume );
    88     void toggleMute();
    88     void setMute( bool muted );
    89     void toggleAudioRoute();
    89     void toggleAudioRoute();
    90 
    90 
    91     void startSeeking( Seeking::Direction direction, const int reason = TuneReason::Unspecified );
    91     void startSeeking( Seeking::Direction direction, const int reason = TuneReason::Unspecified );
    92     void cancelSeeking();
    92     void cancelSeeking();
    93 
    93