equal
deleted
inserted
replaced
201 // CHWRMFmTxStatusObserver::Status |
201 // CHWRMFmTxStatusObserver::Status |
202 // Return FM Tx status |
202 // Return FM Tx status |
203 // ----------------------------------------------------------------------------- |
203 // ----------------------------------------------------------------------------- |
204 // |
204 // |
205 TFmTxState CHWRMFmTxStatusObserver::Status() |
205 TFmTxState CHWRMFmTxStatusObserver::Status() |
206 { |
206 { |
|
207 COMPONENT_TRACE1( _L( "HWRM FM Tx Client - CHWRMFmTxStatusObserver::Status()" )); |
|
208 |
|
209 TInt value(EFmTxStateUnknown); |
|
210 |
|
211 TInt err = RProperty::Get(KPSUidHWRMFmTx, KHWRMFmTxStatus, value); |
|
212 |
|
213 if ( err == KErrNone ) |
|
214 { |
|
215 COMPONENT_TRACE1( _L( "HWRM FM Tx Client - CHWRMFmTxStatusObserver::Status - RPropert::Get ok" ) ); |
|
216 |
|
217 iFmTxState = static_cast<TFmTxState>(value); |
|
218 } |
|
219 |
207 COMPONENT_TRACE2( _L( "HWRM FM Tx Client - CHWRMFmTxStatusObserver::Status - return 0x%x" ), iFmTxState ); |
220 COMPONENT_TRACE2( _L( "HWRM FM Tx Client - CHWRMFmTxStatusObserver::Status - return 0x%x" ), iFmTxState ); |
208 |
221 |
209 return iFmTxState; |
222 return iFmTxState; |
210 } |
223 } |
211 |
224 |