commonservices/sysutil/inc/sysutildomaincrkeys.h
changeset 0 4e1aa6a622a0
equal deleted inserted replaced
-1:000000000000 0:4e1aa6a622a0
       
     1 /*
       
     2 * Copyright (c) 2005-2009 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:
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef SYSUTILDOMAINCRKEYS_H
       
    21 #define SYSUTILDOMAINCRKEYS_H
       
    22 
       
    23 // INCLUDES
       
    24 #include <centralrepository.h>
       
    25 
       
    26 // =============================================================================
       
    27 // Defines critical level values for memory and disk space
       
    28 // =============================================================================
       
    29 
       
    30 /**
       
    31 UID for Disk level. This is not the preferred method for configuring the
       
    32 critical disk level, but has been left in for backwards compatibility.
       
    33 The preferred method is described here:
       
    34 @see SysUtil::DiskSpaceBelowCriticalLevelL
       
    35 
       
    36 If the preferred method is not used, that is the patchable data has not been set 
       
    37 then the Publish & Subscribe keys will be tried, or if that fails,
       
    38 from Central Repository. An error code will be returned if all fail.
       
    39 @publishedPartner
       
    40 @deprecated
       
    41 **/
       
    42 const TUid KCRUidDiskLevel = {0x10205056};
       
    43 
       
    44 /**
       
    45 Threshold for disk space critical level (bytes). This is not the preferred method
       
    46 for configuring the critical disk level, but has been left in for backwards compatibility.
       
    47 The preferred method is described here:
       
    48 @see SysUtil::DiskSpaceBelowCriticalLevelL
       
    49 
       
    50 If the preferred method is not used, that is the patchable data has not been set 
       
    51 then the Publish & Subscribe keys will be tried, or if that fails,
       
    52 from Central Repository. An error code will be returned if all fail.
       
    53 @publishedPartner
       
    54 @deprecated
       
    55 **/
       
    56 const TUint32 KDiskCriticalThreshold = 0x00000001;
       
    57 
       
    58 /**
       
    59 Threshold for RAM disk space critical level (bytes). This is not the preferred method
       
    60 for configuring the critical disk level, but has been left in for backwards compatibility.
       
    61 The preferred method is described here:
       
    62 @see SysUtil::DiskSpaceBelowCriticalLevelL
       
    63 
       
    64 If the preferred method is not used, that is the patchable data has not been set 
       
    65 then the Publish & Subscribe keys will be tried, or if that fails,
       
    66 from Central Repository. An error code will be returned if all fail.
       
    67 @publishedPartner
       
    68 @deprecated
       
    69 **/
       
    70 const TUint32 KRamDiskCriticalLevel = 0x00000002;
       
    71 
       
    72 #endif // SYSUTILDOMAINCRKEYS_H