nettools/conntest/inc/SettingData.h
changeset 0 857a3e953887
equal deleted inserted replaced
-1:000000000000 0:857a3e953887
       
     1 /*
       
     2 * Copyright (c) 2006 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: CSettingsData stores the settings for ConnTest
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef SETTINGDATA_H
       
    19 #define SETTINGDATA_H
       
    20 
       
    21 // INCLUDES
       
    22 #include <e32base.h>
       
    23 #include "conntest.hrh"
       
    24 
       
    25 // FORWARD DECLARATIONS
       
    26 
       
    27 
       
    28 // CLASS DECLARATION
       
    29 
       
    30 /**
       
    31 * Class for encapsulating setting data.
       
    32 */
       
    33 class CSettingData : public CBase
       
    34 {
       
    35 public:
       
    36     static CSettingData* NewL();
       
    37     ~CSettingData();
       
    38     
       
    39 private:
       
    40     CSettingData();
       
    41     void ConstructL();
       
    42     
       
    43 public:
       
    44     TBuf<KMaxServerNameLength> iServerName;
       
    45     TInt iPort;
       
    46     TInt iProtocol;
       
    47     TInt iPacketSize;
       
    48     TInt iPackets;
       
    49     TInt iDelay;
       
    50     TInt iRoaming;
       
    51     TBuf<KMaxServerNameLength> iHttpPage;
       
    52 };
       
    53 
       
    54 
       
    55 #endif
       
    56 
       
    57 // End of File