radioapp/radioenginewrapper/inc/radioenginewrapper_p.h
changeset 28 075425b8d9a4
parent 24 6df133bd92e1
child 32 189d20c34778
equal deleted inserted replaced
24:6df133bd92e1 28:075425b8d9a4
    61     virtual ~RadioEngineWrapperPrivate();
    61     virtual ~RadioEngineWrapperPrivate();
    62 
    62 
    63     /**
    63     /**
    64      * Initialization and startup
    64      * Initialization and startup
    65      */
    65      */
    66     void init();
    66     bool init();
    67     bool isEngineConstructed();
       
    68 
    67 
    69     /**
    68     /**
    70      * Returns the radio settings
    69      * Returns the radio settings
    71      */
    70      */
    72     RadioSettingsIf& settings();
    71     RadioSettingsIf& settings();
    76     * Returns reference to the CRadioEngineHandler
    75     * Returns reference to the CRadioEngineHandler
    77     */
    76     */
    78     CRadioEngineHandler& RadioEnginehandler();
    77     CRadioEngineHandler& RadioEnginehandler();
    79 
    78 
    80     /**
    79     /**
    81      * Functions called from slots to tune to given frequency or preset
    80      * Tunes to given frequency
    82      */
    81      */
    83     void tuneFrequency( uint frequency, const int reason );
    82     void setFrequency( uint frequency, const int reason );
    84     void tuneWithDelay( uint frequency, const int reason );
       
    85 
    83 
    86     ObserverList& observers();
    84     ObserverList& observers();
    87 
    85 
    88     void startSeeking( Seeking::Direction direction, const int reason = TuneReason::Unspecified );
    86     void startSeeking( Seek::Direction direction, const int reason = TuneReason::Unspecified );
    89 
    87 
    90 private:
    88 private:
    91 
    89 
    92 // from base class MRadioEngineObserver
    90 // from base class MRadioEngineObserver
    93 
    91 
   107     void AudioRouteChangedL( RadioEngine::TRadioAudioRoute aRoute );
   105     void AudioRouteChangedL( RadioEngine::TRadioAudioRoute aRoute );
   108 
   106 
   109 // from base class MRadioSystemEventObserver
   107 // from base class MRadioSystemEventObserver
   110 
   108 
   111     void HandleSystemEventL( TRadioSystemEventType aEventType );
   109     void HandleSystemEventL( TRadioSystemEventType aEventType );
   112 
       
   113 // from base class MRadioRepositoryEntityObserver
       
   114 
       
   115     void HandleRepositoryValueChangeL( const TUid& aUid, TUint32 aKey, TInt aValue, TInt aError );
       
   116     void HandleRepositoryValueChangeL( const TUid& /*aUid*/, TUint32 /*aKey*/, const TReal& /*aValue*/, TInt /*aError*/ ) {}
       
   117     void HandleRepositoryValueChangeL( const TUid& /*aUid*/, TUint32 /*aKey*/, const TDesC8& /*aValue*/, TInt /*aError*/ ) {}
       
   118     void HandleRepositoryValueChangeL( const TUid& /*aUid*/, TUint32 /*aKey*/, const TDesC16& /*aValue*/, TInt /*aError*/ ) {}
       
   119 
   110 
   120 private: // data
   111 private: // data
   121 
   112 
   122     /**
   113     /**
   123      * Pointer to the public class
   114      * Pointer to the public class