natfw/tsrc/natfwtestconsoles/natfwtestconsole/inc/generalsettings.h
changeset 0 1bce908db942
equal deleted inserted replaced
-1:000000000000 0:1bce908db942
       
     1 /*
       
     2 * Copyright (c) 2007 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:    
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 
       
    21 #ifndef __GENERALSETTINGS_H__
       
    22 #define __GENERALSETTINGS_H__
       
    23 
       
    24 #include <e32base.h>
       
    25 
       
    26 #include "settings.h" 
       
    27 
       
    28 
       
    29 class CGeneralSettings : public CSettings
       
    30 {
       
    31 public:
       
    32     static CGeneralSettings* NewL( const TDesC8& aDomain, TUint aIapId );
       
    33     static CGeneralSettings* NewLC( const TDesC8& aDomain, TUint aIapId );
       
    34 
       
    35     virtual ~CGeneralSettings( );
       
    36     
       
    37 public: // from CSettings
       
    38     
       
    39     virtual void CreateSettingsL();
       
    40 
       
    41 public:
       
    42 
       
    43     TInt GetDomainKey( TUint32& aDomainKey );
       
    44     
       
    45 protected:
       
    46     
       
    47     void ConstructL( const TDesC8& aDomain );
       
    48     CGeneralSettings( TUint aIapId );
       
    49            
       
    50 private: //DATA
       
    51     
       
    52     TUint iIapId;
       
    53     HBufC8* iDomain;
       
    54 };
       
    55 
       
    56 #endif //__GENERALSETTINGS_H__