pressrv_plat/xdm_api/inc/XdmCredentials.h
changeset 0 c8caa15ef882
equal deleted inserted replaced
-1:000000000000 0:c8caa15ef882
       
     1 /*
       
     2 * Copyright (c) 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:   XDM credentials
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 
       
    21 #ifndef __XDMCREDENTIALS__
       
    22 #define __XDMCREDENTIALS__
       
    23 
       
    24 #include <e32base.h>
       
    25 
       
    26 const TInt KXdmMaxUserNameLength		               = 256;
       
    27 const TInt KXdmMaxPasswordLength		               = 256;
       
    28 
       
    29 //CLASS DECLARATION
       
    30 class TXdmCredentials
       
    31     {
       
    32     public:
       
    33         
       
    34         /**
       
    35         * C++ Defualt Constructor
       
    36         */
       
    37         IMPORT_C TXdmCredentials();
       
    38         
       
    39         /**
       
    40         * Constructor with parameters
       
    41         * @param TDesC& Username
       
    42         * @param TDesC& Password
       
    43         */
       
    44         IMPORT_C TXdmCredentials( const TDesC& aUserName,
       
    45                                   const TDesC& aPassword );
       
    46 
       
    47     public:  //Data
       
    48         
       
    49         TBuf8<KXdmMaxUserNameLength>                   iUserName;
       
    50         TBuf8<KXdmMaxPasswordLength>                   iPassword;
       
    51     };
       
    52 
       
    53 #endif      //__XDMCREDENTIALS__
       
    54             
       
    55 // End of File