commsconfig/commsdatabaseshim/commdbshim/INC/CDBLEN.H
changeset 0 dfb7c4ff071f
equal deleted inserted replaced
-1:000000000000 0:dfb7c4ff071f
       
     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 "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.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  @file
       
    21  @publishedAll
       
    22  @deprecated since v9.1. Functionality is replaced with commsdat.
       
    23 */
       
    24 
       
    25 #ifndef CDBLEN_H
       
    26 #define CDBLEN_H
       
    27 
       
    28 #include <e32def.h>
       
    29 
       
    30 /**
       
    31 Maximum text field length (in characters).
       
    32 @publishedAll
       
    33 @released
       
    34 */
       
    35 const TInt KCommsDbSvrMaxFieldLength=50;
       
    36 
       
    37 /**
       
    38 @publishedAll
       
    39 @released
       
    40 */
       
    41 const TInt KCommsDbSvrDefaultTextFieldLength=50;
       
    42 const TInt KCommsDbSvrMaxUserIdPassLength=255;
       
    43 const TInt KCommsDbSvrRealMaxFieldLength=KCommsDbSvrMaxUserIdPassLength;
       
    44 
       
    45 /** Maximum length of table and column names. 
       
    46 @publishedAll
       
    47 @released */
       
    48 const TInt KCommsDbSvrMaxColumnNameLength=50;
       
    49 
       
    50 #endif