mtpfws/mtpfw/common/inc/uiklafinternalcrkeys.h
changeset 20 6e82ae192c3a
child 24 523717cdb0ad
equal deleted inserted replaced
18:1b39655331a3 20:6e82ae192c3a
       
     1 /*
       
     2 * Copyright (c) 2004-2008 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:  Internal Central Repository keys.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef __UIKLAF_INTERNAL_CR_KEYS_H__
       
    20 #define __UIKLAF_INTERNAL_CR_KEYS_H__
       
    21 
       
    22 const TUid KCRUidUiklaf = { 0x101F8774 };
       
    23 
       
    24 // Helper constants for free disk space levels.
       
    25 #define DISK_SPACE_OK        0
       
    26 #define DISK_SPACE_WARNING  -1
       
    27 #define DISK_SPACE_CRITICAL -2
       
    28 
       
    29 /**
       
    30  * Use KUikOODDiskFreeSpaceWarningNoteLevel instead of this!!
       
    31  * Threshold for disk space warning level (bytes).
       
    32  * Read-only key. Default value: 196608
       
    33  */
       
    34 const TUint32 KUikOODDiskWarningThreshold  = 0x00000001;
       
    35 
       
    36 /**
       
    37  * Threshold for disk space critical level (bytes).
       
    38  * Read-only key. Default value: 131072
       
    39  */
       
    40 const TUint32 KUikOODDiskCriticalThreshold = 0x00000002;
       
    41 
       
    42 /**
       
    43  * Threshold for low RAM level (bytes).
       
    44  * Read-only key. Default value: 750000
       
    45  */
       
    46 const TUint32 KUikOOMRamLowThreshold       = 0x00000003;
       
    47 
       
    48 /**
       
    49  * Threshold for good RAM level (bytes).
       
    50  * Read-only key. Default value: 1000000
       
    51  */
       
    52 const TUint32 KUikOOMRamGoodThreshold      = 0x00000004;
       
    53 
       
    54 /**
       
    55  * Timeout for application exit (milliseconds).
       
    56  * Read-only key. Default value: 1000000
       
    57  */
       
    58 const TUint32 KUikOOMMaxAppExitTime        = 0x00000005;
       
    59 
       
    60 /**
       
    61  * Threshold for disk space warning note level as percent of used disk space.
       
    62  * Read-only key. Default value: 95
       
    63  */
       
    64 const TUint32 KUikOODDiskFreeSpaceWarningNoteLevel = 0x00000006;
       
    65 
       
    66 /**
       
    67  * Threshold for disk space warning note level for mass memory.
       
    68  * Read-only key. Default value: 20971520
       
    69  */
       
    70 const TUint32 KUikOODDiskFreeSpaceWarningNoteLevelMassMemory = 0x00000007;
       
    71 
       
    72 
       
    73 #endif __UIKLAF_INTERNAL_CR_KEYS_H__
       
    74 
       
    75 // End of file