nettools/conntest/inc/conntest.hrh
changeset 0 857a3e953887
child 2 4cefe9af9cf4
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: ConnTest resource header
       
    15  *
       
    16  */
       
    17 
       
    18 #ifndef CONNTEST_HRH
       
    19 #define CONNTEST_HRH
       
    20 
       
    21 // Constants
       
    22 
       
    23 // KMaxSendBuffer must be atleast 1 byte larger than KSendDataSize
       
    24 // since the socketswrite will add a null termination
       
    25 #define KSendDataSize 16384
       
    26 #define KReadDataSize 16384
       
    27 #define KMaxSendBuffer 32772
       
    28 #define KConnTestViews 4
       
    29 #define KMaxServerNameLength 128
       
    30 
       
    31 // Enumerations
       
    32 
       
    33 enum TConnTestContainer
       
    34     {
       
    35     ESettingsContainer,
       
    36     EOutputContainer,
       
    37     ECustomPrefsContainer
       
    38     };
       
    39 
       
    40 enum TConnTestCommandIds
       
    41     {
       
    42     EConnTestCmdSettings = 1,
       
    43     EConnTestCmdStoreSettings, // not used at the moment
       
    44     EConnTestCmdStartInterface,
       
    45     EConnTestCmdStartSnap,
       
    46     EConnTestCmdStartInterfaceNoPrefs,
       
    47     EConnTestCmdSetCustomPrefs,
       
    48     EConnTestCmdStartInterfaceExtConnPrefs,
       
    49     EConnTestCmdStartByNetworkId,
       
    50     EConnTestCmdStopInterface,
       
    51     EConnTestCmdStartInternet,
       
    52     EConnTestCmdStartForClose, // not used at the moment
       
    53     EConnTestCmdCloseInterface, // not used at the moment
       
    54     EConnTestCmdMigrate,
       
    55     EConnTestCmdIgnore,
       
    56     EConnTestCmdAccept,
       
    57     EConnTestCmdReject,
       
    58     EConnTestCmdConnect,
       
    59     EConnTestCmdDisconnect,
       
    60     EConnTestCmdListen,
       
    61     EConnTestCmdSendHttpGet,
       
    62     EConnTestCmdSendPerformanceHttpGet,
       
    63     EConnTestCmdSendHttpPost,
       
    64     EConnTestCmdSendRawData,
       
    65     EConnTestCmdAdvanced,
       
    66     EConnTestCmdConnectionInfo,
       
    67     EConnTestCmdInterfaceInfo,
       
    68     EConnTestCmdClearOutputWindow,
       
    69     EConnTestCmdHttpFrameworkGet,
       
    70     EConnTestCmdHttpFrameworkPost,
       
    71     EConnTestCmdHttpFrameworkSecureGet,
       
    72     EConnTestCmdHttpFrameworkPerformanceGet,
       
    73     EConnTestCmdHttpFrameworkPerformancePost,
       
    74     EConnTestCmdCancel,
       
    75     EConnTestCmdTimeoutLastSocketActivity,
       
    76     EConnTestCmdTimeoutLastSocketClosed,
       
    77     EConnTestCmdTimeoutLastSessionClosed,
       
    78     EConnTestCmdConnectionPrefsIap,
       
    79     EConnTestCmdWLANQoSVoice,
       
    80     EConnTestCmdWLANQoSVideo,
       
    81     EConnTestCmdWLANQoSBestEffort,
       
    82     EConnTestCmdWLANQoSBackground,
       
    83     EConnTestCmdWLANQoSNone,
       
    84     EConnTestCmdQoS1,
       
    85     EConnTestCmdParallelGet,
       
    86     EConnTestCmdIpLog,
       
    87     EConnTestCmdStartIpLog,
       
    88     EConnTestCmdStopIpLog,
       
    89     EConnTestCmdSendIpLog,
       
    90     EConnTestWlanAvailableIaps,
       
    91     EConnTestWlanScan,
       
    92     EConnTestWlanDir,
       
    93     EConnTestWlanGetSsid,
       
    94     EConnTestWlanGetBssid,
       
    95     EConnTestWlanGetRssi,
       
    96     EConnTestWlanGetConnMode,
       
    97     EConnTestWlanGetSecurityMode
       
    98     };
       
    99 
       
   100 enum TConnTestTabViewId
       
   101     {
       
   102     EConnTestView1Tab = 1,
       
   103     EConnTestView2Tab,
       
   104     EConnTestView3Tab,
       
   105     EConnTestView4Tab
       
   106     };
       
   107 
       
   108 enum TConnTestSettingItems
       
   109     {
       
   110     EConnTestIpAddress = 1,
       
   111     EConnTestPort,
       
   112     EConnTestProtocol,
       
   113     EConnTestPacketSize,
       
   114     EConnTestPackets,
       
   115     EConnTestDelay,
       
   116     EConnTestRoaming,
       
   117     EConnTestHttpPage
       
   118     };
       
   119 
       
   120 // Must be in correct orded, these are checked against the menu index
       
   121 enum TConnTestExtConnPrefsItems
       
   122     {
       
   123     EConnTestExtConnPrefsItemSnapPurpose = 0,
       
   124     EConnTestExtConnPrefsItemSnapId,
       
   125     EConnTestExtConnPrefsItemIapId,
       
   126     EConnTestExtConnPrefsItemBearerSet,
       
   127     EConnTestExtConnPrefsItemNoteBehaviour,
       
   128     EConnTestExtConnPrefsItemDisconnectDialog,
       
   129     EConnTestExtConnPrefsItemConnSelectionDialog,
       
   130     EConnTestExtConnPrefsItemForcedRoaming
       
   131     };
       
   132 
       
   133 #endif      // CONNTEST_HRH