epoc32/include/cdblen.h
branchSymbian2
changeset 2 2fe1408b6811
parent 0 061f57f2323e
child 4 837f303aceeb
equal deleted inserted replaced
1:666f914201fb 2:2fe1408b6811
     1 cdblen.h
     1 // Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 // Maximum length of a text field from the Comms database
       
    15 // in a file alone so it can be used in a resource file.
       
    16 // 
       
    17 //
       
    18 
       
    19 
       
    20 
       
    21 /**
       
    22  @file
       
    23  @publishedAll
       
    24  @deprecated since v9.1. Functionality is replaced with commsdat.
       
    25 */
       
    26 
       
    27 #ifndef CDBLEN_H
       
    28 #define CDBLEN_H
       
    29 
       
    30 #include <e32def.h>
       
    31 
       
    32 /**
       
    33 Maximum text field length (in characters).
       
    34 @publishedAll
       
    35 @released
       
    36 */
       
    37 const TInt KCommsDbSvrMaxFieldLength=50;
       
    38 
       
    39 /**
       
    40 @publishedAll
       
    41 @released
       
    42 */
       
    43 const TInt KCommsDbSvrDefaultTextFieldLength=50;
       
    44 const TInt KCommsDbSvrMaxUserIdPassLength=255;
       
    45 const TInt KCommsDbSvrRealMaxFieldLength=KCommsDbSvrMaxUserIdPassLength;
       
    46 
       
    47 /** Maximum length of table and column names. 
       
    48 @publishedAll
       
    49 @released */
       
    50 const TInt KCommsDbSvrMaxColumnNameLength=50;
       
    51 
       
    52 #endif