resourcemgmt/hwresourcesmgr/server/inc/HWRMFmTxService.h
changeset 78 3f0699f2e14c
parent 0 4e1aa6a622a0
--- a/resourcemgmt/hwresourcesmgr/server/inc/HWRMFmTxService.h	Tue Oct 12 15:02:43 2010 +0300
+++ b/resourcemgmt/hwresourcesmgr/server/inc/HWRMFmTxService.h	Thu Oct 14 12:47:54 2010 +0300
@@ -87,6 +87,18 @@
 */
 class CHWRMFmTxService : public CHWRMService
     {
+    private:  // Enumerations
+    
+        /**
+        * Private enumeration to identify scan type
+        */
+        enum TFmTxScanType
+            {
+            EFmTxScanTypeNone = 0,
+            EFmTxScanTypeGet,
+            EFmTxScanTypeSet
+            };
+
     public: // Constructors and Destructor
     
         /**
@@ -311,6 +323,20 @@
         */
         void CancelPluginCommandL(HWRMFmTxCommand::TFmTxCmd aCommandId);
 
+        /**
+        * Enables transmitter for being able to scan and set free frequencies
+        * without need to explicitly enable transmitter.
+        *
+        */
+        void EnsureTransmitterOnL( const RMessage2& aMessage );
+
+        /**
+        * Resets scan request state and audio policing.
+        *
+        * @param aNotifyAudioPolicy ETrue if audio policy should be notified instantly.  
+        */
+        void ResetScanRequest( TBool aNotifyAudioPolicy = EFalse );
+
     private:  // data
 
         CHWRMPluginHandler& iWatcherPluginHandler;  // Reference to watcher plugin handler.
@@ -320,6 +346,8 @@
 
         TBool iSuspended; // Flag to indicate if this session is suspended.
         TBool iReserved;  // Flag to indicate if this session is reserved.
+        TFmTxScanType iScanRequestType;
+        TUint iClearFreqsRequired;
     };
 
 #endif  // HWRMFMTXSERVICE_H