resourcemgmt/hwresourcesmgr/server/inc/HWRMFmTxCommonData.inl
changeset 0 4e1aa6a622a0
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/resourcemgmt/hwresourcesmgr/server/inc/HWRMFmTxCommonData.inl	Tue Feb 02 00:53:00 2010 +0200
@@ -0,0 +1,116 @@
+/*
+* Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description:
+* CHWRMFmTxCommonData::Status
+*
+*/
+
+
+
+inline TFmTxState CHWRMFmTxCommonData::Status() const
+    {
+    return iFmTxState;
+    }
+
+// -----------------------------------------------------------------------------
+// CHWRMFmTxCommonData::IsRdsInitialised
+// -----------------------------------------------------------------------------
+//
+inline TBool CHWRMFmTxCommonData::IsRdsInitialised() const
+    {
+    return iRdsInitialised;
+    }
+    
+// -----------------------------------------------------------------------------
+// CHWRMFmTxCommonData::IsFmTxHardwareOn
+// -----------------------------------------------------------------------------
+//
+inline TBool CHWRMFmTxCommonData::IsFmTxHardwareOn() const
+    {
+    return ( iFmTxState == EFmTxStateActive || iFmTxState == EFmTxStateInactive || iFmTxState == EFmTxStateScanning ) ? ETrue : EFalse;
+    }
+        
+// -----------------------------------------------------------------------------
+// CHWRMFmTxCommonData::IsFmTxHardwareOn
+// -----------------------------------------------------------------------------
+//
+inline TBool CHWRMFmTxCommonData::IsFmTxHardwareOn( TFmTxState aState ) const
+    {
+    return ( aState == EFmTxStateActive || aState == EFmTxStateInactive || aState == EFmTxStateScanning ) ? ETrue : EFalse;
+    }
+    
+// -----------------------------------------------------------------------------
+// CHWRMFmTxCommonData::Frequency
+// -----------------------------------------------------------------------------
+//
+inline TInt CHWRMFmTxCommonData::Frequency() const
+    {
+    return iFmTxFrequency;
+    }
+
+// -----------------------------------------------------------------------------
+// CHWRMFmTxCommonData::FrequencyRangeUpdated
+// -----------------------------------------------------------------------------
+//
+inline TBool CHWRMFmTxCommonData::FrequencyRangeUpdated() const
+    {
+    return iFrequencyRangeUpdated;
+    }
+
+// -----------------------------------------------------------------------------
+// CHWRMFmTxCommonData::GetRdsTextConverter
+// -----------------------------------------------------------------------------
+//
+inline CHWRMFmTxRdsTextConverter* CHWRMFmTxCommonData::GetRdsTextConverter()
+    {
+    return iRdsTextConverter;
+    }
+
+// -----------------------------------------------------------------------------
+// CHWRMFmTxCommonData::RdsData
+// -----------------------------------------------------------------------------
+//
+inline TFmTxRdsData CHWRMFmTxCommonData::RdsData() const
+    {
+    return iRdsData;
+    }
+
+// -----------------------------------------------------------------------------
+// CHWRMFmTxCommonData::RdsPs
+// -----------------------------------------------------------------------------
+//
+inline const TDesC8& CHWRMFmTxCommonData::ConvertedRdsPs() const
+    {
+    return iRdsConvertedPs;
+    }
+    
+// -----------------------------------------------------------------------------
+// CHWRMFmTxCommonData::RdsPtyn
+// -----------------------------------------------------------------------------
+//
+inline const TDesC8& CHWRMFmTxCommonData::ConvertedRdsPtyn() const
+    {
+    return iRdsConvertedPtyn;
+    }    
+
+// -----------------------------------------------------------------------------
+// CHWRMFmTxCommonData::PowerSaveTimeout
+// -----------------------------------------------------------------------------
+//
+inline TUint32 CHWRMFmTxCommonData::PowerSaveTimeout() const
+    {
+    return iFmTxPowerSaveTimeout;
+    }    
+
+// End of File