diff -r 6b1d113cdff3 -r 6638e7f4bd8f cellularsrvapitest/telephonydevsoundhaitest/etelmm/inc/T_RMmCustomAPIData.h --- a/cellularsrvapitest/telephonydevsoundhaitest/etelmm/inc/T_RMmCustomAPIData.h Mon May 03 13:37:20 2010 +0300 +++ b/cellularsrvapitest/telephonydevsoundhaitest/etelmm/inc/T_RMmCustomAPIData.h Thu May 06 15:10:38 2010 +0100 @@ -1,74 +1,74 @@ -/* -* Copyright (c) 2005-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: -* -*/ - - -#ifndef T_RMMCUSTOMAPI_DATA_H -#define T_RMMCUSTOMAPI_DATA_H - -#include "DataWrapperBase.h" - -// CBase -#include -// TDesC -#include -// For ETel API. -#include -#include -#include - -class CT_RMmCustomApiData : public CDataWrapperBase - { -public: - ~CT_RMmCustomApiData(); - static CT_RMmCustomApiData* NewL(); - - virtual TAny* GetObject(); - virtual TBool DoCommandL(const TTEFFunction& aCommand, const TTEFSectionName& aSection, const TInt aAsyncErrorIndex); - -protected: - CT_RMmCustomApiData(); - void ConstructL(); - -private: - void RunL(CActive* aActive, TInt aIndex); - - void DoCmdGetCurrentSystemNetworkModes(const TInt aAsyncErrorIndex); - void DoCmdUtilityModeCheck(const TTEFSectionName& aSection); - void DoCmdSetSystemNetworkMode(const TTEFSectionName& aSection, const TInt aAsyncErrorIndex); - - void DoCmdOpen(const TTEFSectionName& aSection); - void DoCmdClose(); - - TUint32 GetPhoneNetworkMode(); - TBool CheckNetworkMode(TInt aNetworkMode); - -private: - CActiveCallback* iActiveCallback; - TUint32 iNetworkMode; - - /** - * Access to functionality assosiated with a specific mobile line. - */ - RMmCustomAPI *iCustomPhone; //Wrapped object - - static const TEnumEntryTable iEnumTestCaseMode[]; - - }; - -#endif // T_RMMCUSTOMAPI_DATA_H - - +/* +* Copyright (c) 2005-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: +* +*/ + + +#ifndef T_RMMCUSTOMAPI_DATA_H +#define T_RMMCUSTOMAPI_DATA_H + +#include "DataWrapperBase.h" + +// CBase +#include +// TDesC +#include +// For ETel API. +#include +#include +#include + +class CT_RMmCustomApiData : public CDataWrapperBase + { +public: + ~CT_RMmCustomApiData(); + static CT_RMmCustomApiData* NewL(); + + virtual TAny* GetObject(); + virtual TBool DoCommandL(const TTEFFunction& aCommand, const TTEFSectionName& aSection, const TInt aAsyncErrorIndex); + +protected: + CT_RMmCustomApiData(); + void ConstructL(); + +private: + void RunL(CActive* aActive, TInt aIndex); + + void DoCmdGetCurrentSystemNetworkModes(const TInt aAsyncErrorIndex); + void DoCmdUtilityModeCheck(const TTEFSectionName& aSection); + void DoCmdSetSystemNetworkMode(const TTEFSectionName& aSection, const TInt aAsyncErrorIndex); + + void DoCmdOpen(const TTEFSectionName& aSection); + void DoCmdClose(); + + TUint32 GetPhoneNetworkMode(); + TBool CheckNetworkMode(TInt aNetworkMode); + +private: + CActiveCallback* iActiveCallback; + TUint32 iNetworkMode; + + /** + * Access to functionality assosiated with a specific mobile line. + */ + RMmCustomAPI *iCustomPhone; //Wrapped object + + static const TEnumEntryTable iEnumTestCaseMode[]; + + }; + +#endif // T_RMMCUSTOMAPI_DATA_H + +