networkingtestandutils/networkingunittest/tdummyetel/ETELBPTR.H
author Pat Downey <patd@symbian.org>
Wed, 01 Sep 2010 12:33:58 +0100
branchRCL_3
changeset 58 8d540f55e491
parent 0 af10295192d8
permissions -rw-r--r--
Revert incorrect RCL_3 drop: Revision: 201035 Kit: 201035

// Copyright (c) 1997-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:
//

#if !defined(__ETELBPTR_H__)
#define __ETELBPTR_H__

#if !defined(__ETELBGSM_H__)
#include "ETelBgsm.h"
#endif

class CBasicPtrHolder : public CBase
/**
Contains the TPtr's used by asynchronous client-side functions.
Used by Client-side code to ensure BC by keeping size of Rxxx classes constant even if a 
new function has to be added.
@internalComponent
*/
	{
public:
	static CBasicPtrHolder* NewL(const TInt aSize);
	~CBasicPtrHolder();
public:
	TPtr8& Ptr(const TInt aIndex);
protected:
	CBasicPtrHolder();
	virtual void ConstructL(const TInt aSize);	
protected:
	CArrayFixFlat<TPtr8>* iPtrArray;
public:
	TInt iGetNetworkInfoValue;
	RBasicGsmPhone::TBscNetworkId iNetworkIdValue;
	RBasicGsmPhone::TNetworkSetMode iNetworkMode;
	TInt iMsgStoreIndex;
	TInt iSetAlarmIndex;
	TInt iGetAlarmIndex;
	TInt iPhoneBookInfoIndex;
	};


#endif