diff -r 000000000000 -r 8e480a14352b messagingfw/biomsgfw/wappinc/GprsBearerData.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/messagingfw/biomsgfw/wappinc/GprsBearerData.h Mon Jan 18 20:36:02 2010 +0200 @@ -0,0 +1,69 @@ +// Copyright (c) 2003-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(__GPRS_BEARER_DATA_H__) +#define __GPRS_BEARER_DATA_H__ + +#include +#include + +class CIpAddress; + +class CWapGprsBearerData:public CBase +/** +@internalComponent +@released +*/ + { + public: + + static CWapGprsBearerData* NewL(); + static CWapGprsBearerData* NewLC(); + ~CWapGprsBearerData(); + + public: + + // Read from XML message (must be present in it) + TPtrC iAccessPointName; + + // Values for these two must be invented + // they are mandatory but will not be in the XML message + TUint32 iPDPType; + HBufC* iPDPAddress; + + // These two are set to "PPP" and ETrue + // they are mandatory but are not in the XML message or the default table + HBufC* iIFName; + TBool iIFPromptForAuth; + + // Read from XML message + // Not mandatory + TPtrC iLoginName; + TPtrC iLoginPass; + CIpAddress* iGatewayAddr; + + // Mandatory, but not in the XML message or the default table + // set to ETrue + TBool iIPDnsAddrFromServer; + TBool iPlainTextAuthDisabled; + TBool iIpAddrFromServer; + TUint iGprsCommDbRecordId; + + private: + void ConstructL(); + CWapGprsBearerData(){} + }; + +#endif