devicediagnosticsfw/diagresultsdb/common/diagresultsdbprivatecrkeys.h
branchRCL_3
changeset 26 19bba8228ff0
parent 0 b497e44ab2fc
equal deleted inserted replaced
25:b183ec05bd8c 26:19bba8228ff0
       
     1 /*
       
     2 * Copyright (c) 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:  Private Central Repository keys.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef DIAGRESULTSDBPRIVATECRKEYS_H
       
    20 #define DIAGRESULTSDBPRIVATECRKEYS_H
       
    21 
       
    22 //  INCLUDES
       
    23 
       
    24 #include <e32std.h>
       
    25 
       
    26 // =============================================================================
       
    27 // Diagnostics Results DB
       
    28 // =============================================================================
       
    29 
       
    30 const TUid KCRUidDiagnosticsResults = { 0x2000B45D };
       
    31 
       
    32 /**
       
    33 * The maximum number of test records inside each DB file. 
       
    34 **/
       
    35 const TUint32 KDiagDatabaseMaxRecordCount = 0x00000001;
       
    36 
       
    37 /**
       
    38 * The maximum file size for DB file in bytes. 
       
    39 **/
       
    40 const TUint32 KDiagDatabaseMaxFileSize = 0x00000002;
       
    41 
       
    42 /**
       
    43 * The value indicates which deletion algorithm the DB uses. The First alternative 
       
    44 * deletes test records when max record count is exceeded (0). The other uses a buffer 
       
    45 * to store last results (1) and keeps the max record count.
       
    46 **/
       
    47 const TUint32 KDiagDatabaseDeletionAlgorithm = 0x00000003;
       
    48 
       
    49 
       
    50 #endif      // DIAGRESULTSDBPRIVATECRKEYS_H
       
    51 
       
    52 // End of File
       
    53