diff -r 6b1d113cdff3 -r 6638e7f4bd8f cellularsrvapitest/telephonyhaitest/etelmm/inc/T_RMobileLineData.h --- a/cellularsrvapitest/telephonyhaitest/etelmm/inc/T_RMobileLineData.h Mon May 03 13:37:20 2010 +0300 +++ b/cellularsrvapitest/telephonyhaitest/etelmm/inc/T_RMobileLineData.h Thu May 06 15:10:38 2010 +0100 @@ -1,68 +1,68 @@ -/* -* 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_RMOBILELINE_DATA_H -#define T_RMOBILELINE_DATA_H - -#include "datawrapperbase.h" -// For ETel API. -#include - -// For ETel API. -#include - -class CT_RMobileLineData : public CDataWrapperBase - { -public: - ~CT_RMobileLineData(); - static CT_RMobileLineData* NewL(); - - virtual TAny* GetObject(); - virtual TBool DoCommandL(const TTEFFunction& aCommand, const TTEFSectionName& aSection, const TInt aAsyncErrorIndex); - - TName* GetCallNameL(TInt aCall); - -protected: - CT_RMobileLineData(); - void ConstructL(); - void InitialiseL(); -private: - void RunL(CActive* aActive, TInt aIndex); - - void DoCmdOpen(const TDesC& aSection); - void DoCmdClose(); - void DoCmdNotifyIncomingCall(const TDesC& aSection, const TInt aAsyncErrorIndex); - -private: - CActiveCallback* iActiveCallback; - - TInt iMaxPhoneCalls; - /** - * Access to functionality assosiated with a specific mobile line. - */ - RMobileLine *iMobileLine; //Wrapped object - - /** - * Array of Call names - */ - RArray< TName > iCallNames; //Pointer - }; - -#endif // T_RMOBILELINE_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_RMOBILELINE_DATA_H +#define T_RMOBILELINE_DATA_H + +#include "datawrapperbase.h" +// For ETel API. +#include + +// For ETel API. +#include + +class CT_RMobileLineData : public CDataWrapperBase + { +public: + ~CT_RMobileLineData(); + static CT_RMobileLineData* NewL(); + + virtual TAny* GetObject(); + virtual TBool DoCommandL(const TTEFFunction& aCommand, const TTEFSectionName& aSection, const TInt aAsyncErrorIndex); + + TName* GetCallNameL(TInt aCall); + +protected: + CT_RMobileLineData(); + void ConstructL(); + void InitialiseL(); +private: + void RunL(CActive* aActive, TInt aIndex); + + void DoCmdOpen(const TDesC& aSection); + void DoCmdClose(); + void DoCmdNotifyIncomingCall(const TDesC& aSection, const TInt aAsyncErrorIndex); + +private: + CActiveCallback* iActiveCallback; + + TInt iMaxPhoneCalls; + /** + * Access to functionality assosiated with a specific mobile line. + */ + RMobileLine *iMobileLine; //Wrapped object + + /** + * Array of Call names + */ + RArray< TName > iCallNames; //Pointer + }; + +#endif // T_RMOBILELINE_DATA_H + \ No newline at end of file