natfw/tsrc/natfwtestconsoles/natfwtestconsole/inc/natsettingstest.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 // INCLUDES
       
    22 #include <e32base.h>
       
    23 
       
    24 // FORWARD DECLARATIONS
       
    25 class CNATFWNatSettingsApi;
       
    26 class CConsoleBase;
       
    27 
       
    28 // CLASS
       
    29 class CNATSettingsTest : public CBase
       
    30     {
       
    31 public:
       
    32 
       
    33     static CNATSettingsTest* NewL( const TDesC8& aDomain, TUint aIapId );
       
    34     
       
    35     ~CNATSettingsTest();
       
    36     
       
    37     void PrintSettingsL( CConsoleBase& aConsole );
       
    38 
       
    39 private:
       
    40     
       
    41     void ConstructL( const TDesC8& aDomain );
       
    42     
       
    43     CNATSettingsTest( TUint aIapId );
       
    44     
       
    45     void PrintStunServerSettings( CConsoleBase& aConsole );
       
    46     
       
    47     void PrintTurnServerSettings( CConsoleBase& aConsole );
       
    48     
       
    49 private: // Data
       
    50     
       
    51     TUint iIapId;
       
    52     HBufC8* iDomain;
       
    53     CNATFWNatSettingsApi* iSettings;
       
    54     };