radioengine/engine/inc/cradioengineimp.h
changeset 41 3a6b55c6390c
parent 28 075425b8d9a4
child 54 a8ba0c289b44
equal deleted inserted replaced
33:11b6825f0862 41:3a6b55c6390c
    28 #include "mradiordsdataobserver.h"
    28 #include "mradiordsdataobserver.h"
    29 #include "mradiosystemeventobserver.h"
    29 #include "mradiosystemeventobserver.h"
    30 #include "radioenginedef.h"
    30 #include "radioenginedef.h"
    31 
    31 
    32 // Forward declarations
    32 // Forward declarations
    33 class CRadioPubSub;
       
    34 class CRadioRdsReceiverBase;
    33 class CRadioRdsReceiverBase;
    35 class CRadioNetworkInfoListener;
    34 class CRadioNetworkInfoListener;
    36 class MRadioEngineSettings;
    35 class MRadioEngineSettings;
    37 class MRadioSettingsSetter;
    36 class MRadioSettingsSetter;
    38 class MRadioEngineObserver;
    37 class MRadioEngineObserver;
   109         ERadioEventSeeking,
   108         ERadioEventSeeking,
   110         ERadioEventRegion,
   109         ERadioEventRegion,
   111         ERadioEventFmTransmitter
   110         ERadioEventFmTransmitter
   112         };
   111         };
   113 
   112 
   114     /**
       
   115      * Possible radio scan events.
       
   116      */
       
   117     enum TRadioScanEvent
       
   118         {
       
   119         /**
       
   120          * Scanning found a valid frequency.
       
   121          */
       
   122         ERadioEventFrequencyScanned,
       
   123 
       
   124         /**
       
   125          * Scanning is completed.
       
   126          */
       
   127         ERadioEventScanCompleted
       
   128 
       
   129         };
       
   130 
       
   131     enum TRadioInitialisationState
   113     enum TRadioInitialisationState
   132         {
   114         {
   133         ERadioNotInitialized,
   115         ERadioNotInitialized,
   134         ERadioUtilitiesConstructed,
   116         ERadioUtilitiesConstructed,
       
   117         ERadioTunerControlRequested,
   135         ERadioTunerControlGranted
   118         ERadioTunerControlGranted
   136         };
   119         };
   137 
   120 
   138     void ConstructL();
   121     void ConstructL();
   139 
   122 
   168 
   151 
   169     /**
   152     /**
   170      * Switches radio power OFF.
   153      * Switches radio power OFF.
   171      */
   154      */
   172     void PowerOff();
   155     void PowerOff();
       
   156 
       
   157     /**
       
   158      * Requests tuner control from tuner utility
       
   159      */
       
   160     void RequestTunerControl();
   173 
   161 
   174     /**
   162     /**
   175      * Converts region code used internally by Visual Radio
   163      * Converts region code used internally by Visual Radio
   176      * in to a frequency range by tuner ( TFmRadioFrequencyRange )
   164      * in to a frequency range by tuner ( TFmRadioFrequencyRange )
   177      *
   165      *