epoc32/include/cdblen.h
branchSymbian2
changeset 2 2fe1408b6811
parent 0 061f57f2323e
child 4 837f303aceeb
     1.1 --- a/epoc32/include/cdblen.h	Tue Nov 24 13:55:44 2009 +0000
     1.2 +++ b/epoc32/include/cdblen.h	Tue Mar 16 16:12:26 2010 +0000
     1.3 @@ -1,1 +1,52 @@
     1.4 -cdblen.h
     1.5 +// Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies).
     1.6 +// All rights reserved.
     1.7 +// This component and the accompanying materials are made available
     1.8 +// 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
     1.9 +// which accompanies this distribution, and is available
    1.10 +// at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
    1.11 +//
    1.12 +// Initial Contributors:
    1.13 +// Nokia Corporation - initial contribution.
    1.14 +//
    1.15 +// Contributors:
    1.16 +//
    1.17 +// Description:
    1.18 +// Maximum length of a text field from the Comms database
    1.19 +// in a file alone so it can be used in a resource file.
    1.20 +// 
    1.21 +//
    1.22 +
    1.23 +
    1.24 +
    1.25 +/**
    1.26 + @file
    1.27 + @publishedAll
    1.28 + @deprecated since v9.1. Functionality is replaced with commsdat.
    1.29 +*/
    1.30 +
    1.31 +#ifndef CDBLEN_H
    1.32 +#define CDBLEN_H
    1.33 +
    1.34 +#include <e32def.h>
    1.35 +
    1.36 +/**
    1.37 +Maximum text field length (in characters).
    1.38 +@publishedAll
    1.39 +@released
    1.40 +*/
    1.41 +const TInt KCommsDbSvrMaxFieldLength=50;
    1.42 +
    1.43 +/**
    1.44 +@publishedAll
    1.45 +@released
    1.46 +*/
    1.47 +const TInt KCommsDbSvrDefaultTextFieldLength=50;
    1.48 +const TInt KCommsDbSvrMaxUserIdPassLength=255;
    1.49 +const TInt KCommsDbSvrRealMaxFieldLength=KCommsDbSvrMaxUserIdPassLength;
    1.50 +
    1.51 +/** Maximum length of table and column names. 
    1.52 +@publishedAll
    1.53 +@released */
    1.54 +const TInt KCommsDbSvrMaxColumnNameLength=50;
    1.55 +
    1.56 +#endif