ncdengine/provider/server/inc/ncddatabaseversions.h
changeset 0 ba25891c3a9e
equal deleted inserted replaced
-1:000000000000 0:ba25891c3a9e
       
     1 /*
       
     2 * Copyright (c) 2006-2007 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 database version definitions
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef NCDDATABASEVERSIONS_H
       
    20 #define NCDDATABASEVERSIONS_H
       
    21 
       
    22 /**
       
    23  * Base value for Altair database version numbers
       
    24  */
       
    25 const TUint32 KNcdAltairVersionBase = 1000;
       
    26 
       
    27 /**
       
    28  * Purchase history version number
       
    29  *
       
    30  * @note This MUST be increased always when purchase history's
       
    31  * binary format is changed
       
    32  */
       
    33 const TUint32 KNcdPurchaseHistoryVersion = KNcdAltairVersionBase + 4;
       
    34 
       
    35 
       
    36 /**
       
    37  * General database version. This affects node cache, 
       
    38  * subscriptions, etc.
       
    39  *
       
    40  * @note This MUST be increased always when the binary format
       
    41  * of any database except purchase history changes
       
    42  */
       
    43 const TUint32 KNcdGeneralDatabaseVersion = KNcdAltairVersionBase + 18;
       
    44 
       
    45 #endif // NCDDATABASEVERSIONS_H