--- a/resourceinterfaces/fmtransmittercontrol/src/HWRMFmTxStatusObserver.cpp Tue Aug 31 16:29:05 2010 +0300
+++ b/resourceinterfaces/fmtransmittercontrol/src/HWRMFmTxStatusObserver.cpp Wed Sep 01 12:34:26 2010 +0100
@@ -203,7 +203,20 @@
// -----------------------------------------------------------------------------
//
TFmTxState CHWRMFmTxStatusObserver::Status()
- {
+ {
+ COMPONENT_TRACE1( _L( "HWRM FM Tx Client - CHWRMFmTxStatusObserver::Status()" ));
+
+ TInt value(EFmTxStateUnknown);
+
+ TInt err = RProperty::Get(KPSUidHWRMFmTx, KHWRMFmTxStatus, value);
+
+ if ( err == KErrNone )
+ {
+ COMPONENT_TRACE1( _L( "HWRM FM Tx Client - CHWRMFmTxStatusObserver::Status - RPropert::Get ok" ) );
+
+ iFmTxState = static_cast<TFmTxState>(value);
+ }
+
COMPONENT_TRACE2( _L( "HWRM FM Tx Client - CHWRMFmTxStatusObserver::Status - return 0x%x" ), iFmTxState );
return iFmTxState;