cbs/CbsServer/ServerInc/CbsDbConstants.h
changeset 46 2fa1fa551b0b
parent 42 35488577e233
child 48 78df25012fda
equal deleted inserted replaced
42:35488577e233 46:2fa1fa551b0b
     1 /*
       
     2 * Copyright (c) 2003 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:  Contains constants used by the database.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef     CBSDBCONSTANTS_H
       
    20 #define     CBSDBCONSTANTS_H
       
    21 
       
    22 // INCLUDES
       
    23 #include <e32base.h>
       
    24 
       
    25 // CONSTANTS
       
    26 
       
    27 // The default size of database observer array.
       
    28 const TInt KCbsDbObserverArraySize = 3;
       
    29 
       
    30 // The default size of the topic array.
       
    31 const TInt KCbsDbTopicArraySize = 50;
       
    32 
       
    33 // The maximum amount of received (not saved) messages in a topic.
       
    34 const TInt KCbsDbMaxReceivedMessages = 6;
       
    35 
       
    36 // The maximum amount of saved (not received) messages (all topics).
       
    37 const TInt KCbsDbMaxSavedMessages = 50;
       
    38 
       
    39 // Minimum valid topic number
       
    40 const TInt KCbsMinValidTopicNumber = 0;
       
    41 
       
    42 // Maximum valid topic number 
       
    43 const TInt KCbsMaxValidTopicNumber = 999;
       
    44 
       
    45 // Maximum number of characters in one message. 15 pages, 93 characters per page.
       
    46 const TUint KCbsMaxCharsInMessage = 15*93;
       
    47   
       
    48 #endif      //  CBSDBCONSTANTS_H   
       
    49             
       
    50 // End of File
       
    51 
       
    52