sipplugins/sippsipsettingsui/inc/tgssipserverdata.h
changeset 0 307788aac0a8
equal deleted inserted replaced
-1:000000000000 0:307788aac0a8
       
     1 /*
       
     2 * Copyright (c) 2003 - 2005 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:  Data structure for holding the profile data temporarily
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef T_GS_SIP_SERVER_DATA_H
       
    20 #define T_GS_SIP_SERVER_DATA_H
       
    21 
       
    22 // CONSTANTS
       
    23 
       
    24 const TInt KMaxProxyLength = 256;
       
    25 const TInt KMaxRealmLength = 256;
       
    26 const TInt KMaxServerUsernameLength = 72;
       
    27 const TInt KMaxServerPasswordLength = 24;
       
    28 const TInt KMaxServerPrivateIdentityLength = 72;
       
    29 const TInt KMaxServerPortLength = 40;
       
    30 
       
    31 // CLASS DECLARATION
       
    32 
       
    33 /**
       
    34 *  TGSSIPServerData class
       
    35 *  @since 3.0
       
    36 *  Data structure that contains the server data
       
    37 */
       
    38 class TGSSIPServerData
       
    39     {
       
    40     public:     // Data
       
    41 
       
    42         // Server's IP address
       
    43         TBuf<KMaxProxyLength> iAddress;
       
    44         // Realm
       
    45         TBuf<KMaxRealmLength> iRealm;
       
    46         // Username
       
    47         TBuf<KMaxServerUsernameLength> iUsername;
       
    48         // Password
       
    49         TBuf<KMaxServerPasswordLength> iPassword;
       
    50         // Use loose routing
       
    51         TInt iLooseRouting;
       
    52         // Port number
       
    53         TInt iPortNumber;
       
    54         // Transport protocol
       
    55         TInt iTransportProtocol;
       
    56         // Private user identity
       
    57         TBuf<KMaxServerPrivateIdentityLength> iPrivateIdentity;
       
    58         // Has password changed
       
    59 	    TBool iPasswordChanged;    
       
    60     };    
       
    61 
       
    62 #endif      // T_GS_SIP_SERVER_DATA_H
       
    63             
       
    64 // End of File