linklayerprotocols/pppnif/INC/PPPCFG.H
changeset 0 af10295192d8
equal deleted inserted replaced
-1:000000000000 0:af10295192d8
       
     1 // Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 //
       
    15 
       
    16 /**
       
    17  @file
       
    18  @internalComponent 
       
    19 */
       
    20 
       
    21 #if !defined(__PPPCONFIG_H__)
       
    22 #define __PPPCONFIG_H__
       
    23 
       
    24 #include <e32base.h>
       
    25 
       
    26 _LIT(PPP_COMPRESSORS, "Compressors");
       
    27 
       
    28 //
       
    29 // Compressor Configuration
       
    30 //
       
    31 NONSHARABLE_CLASS(CPppCompConfig) : public CBase
       
    32 	{
       
    33 public:
       
    34 friend class CPppCcp;
       
    35 	CPppCompConfig();
       
    36 	~CPppCompConfig();
       
    37 	static CPppCompConfig* NewL();
       
    38 	void	AddNameL(TPtrC aName);
       
    39 	void	AddOptionsL(TPtrC aOptions);
       
    40 	void	AddID(TUint8 aID);
       
    41 	TPtrC8	Options();
       
    42 	TInt	OptionsLength();
       
    43 	TPtrC	Name();
       
    44 	TUint8	ID();
       
    45 private:
       
    46 	TSglQueLink link;
       
    47 	HBufC*	iName;
       
    48 	TUint8	iID;
       
    49 	HBufC8*	iOptions;
       
    50 	};
       
    51 
       
    52 #endif // __PPPCONFIG_H__