natfw/natfwturnplugin/tsrc/ut_cnatfwturnplugin/inc/testsettings.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 __TESTSETTINGS_H__
       
    22 #define __TESTSETTINGS_H__
       
    23 
       
    24 #include <e32base.h>
       
    25 
       
    26 #include "settings.h" 
       
    27 
       
    28 
       
    29 class CTestSettings : public CSettings
       
    30 {
       
    31 public:
       
    32     static CTestSettings* NewL( const TDesC8& aDomain, TUint aIapId );
       
    33     static CTestSettings* NewLC( const TDesC8& aDomain, TUint aIapId );
       
    34 
       
    35     virtual ~CTestSettings( );
       
    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     CTestSettings( TUint aIapId );
       
    49            
       
    50 public: //DATA
       
    51     
       
    52     TUint iIapId;
       
    53     
       
    54     HBufC8* iDomain;
       
    55 
       
    56     TUint32 iDomainKey;
       
    57 
       
    58     HBufC8* iStunServerAddr;
       
    59 
       
    60     HBufC8* iTurnServerAddr;
       
    61     
       
    62     TUint iStunServerPort;
       
    63     
       
    64  	TUint iTurnServerPort;
       
    65 
       
    66     TUint iUdpTimeOut;
       
    67     
       
    68     TUint iTcpTimeOut;
       
    69 
       
    70     HBufC8* iServerUsername; 
       
    71     
       
    72     HBufC8* iServerPassword;
       
    73     
       
    74     TUint iUdpRefreshInterval;
       
    75 
       
    76     TUint iTcpRefreshInterval;
       
    77 
       
    78     TUint iStunRetransmitTimer;
       
    79 
       
    80     TBool iUseSharedSecret;
       
    81 
       
    82     TUint iTurnBandwidth;
       
    83 
       
    84     TUint iRequestedTransport;
       
    85 
       
    86     HBufC8* iRequestedAddress;
       
    87 
       
    88     TUint iRequestedPortProps;
       
    89 
       
    90     TUint iTurnLifeTime;
       
    91 
       
    92     TUint iTurnTimerValue;
       
    93 
       
    94     HBufC8* iLatestConnectedStunServerAddress;
       
    95     
       
    96     HBufC8* iLatestConnectedTurnServerAddress;
       
    97 
       
    98     HBufC8* iEcomPlugInPriorityOrder;
       
    99 
       
   100     HBufC8* iIceUsedPlugIns;
       
   101 
       
   102     TUint iPortPoolStartPort;
       
   103 
       
   104     TUint iPortPoolEndPort;
       
   105     
       
   106     TBool iEnableCrlfRefresh;
       
   107     
       
   108     TUint iConnectivityCheckTimeout;
       
   109 };
       
   110 
       
   111 #endif //__GENERALSETTINGS_H__