sysutil.h

Go to the documentation of this file.
00001 /*
00002 * ============================================================================
00003 *  Name        : sysutil.h
00004 *  Part of     : CommonEngine / SysUtil
00005 *  Interface   : SDK, SysUtil API
00006 *  Description : SysUtil API provides functions for applications to retrieve
00007 *                SW and language package versions and check whether there is
00008 *                free space on a disk drive.
00009 *  Version     : %version: ou1cfspd#14 %
00010 *
00011 *  Copyright © 2000-2006 Nokia.  All rights reserved.
00012 *  This material, including documentation and any related computer
00013 *  programs, is protected by copyright controlled by Nokia.  All
00014 *  rights are reserved.  Copying, including reproducing, storing,
00015 *  adapting or translating, any or all of this material requires the
00016 *  prior written consent of Nokia.  This material also contains
00017 *  confidential information which may not be disclosed to others
00018 *  without the prior written consent of Nokia.
00019 * ============================================================================
00020 * Template version: 4.0
00021 */
00022 
00023 #ifndef SYSUTIL_H
00024 #define SYSUTIL_H
00025 
00026 #include <e32base.h>
00027 
00032 const TInt KSysUtilVersionTextLength = 64;
00033 
00034 class RFs;
00035 
00045 class SysUtil
00046     {
00047 
00048 public:
00049 
00072     IMPORT_C static TInt GetSWVersion( TDes& aValue );
00073 
00087     IMPORT_C static TInt GetLangSWVersion( TDes& aValue );
00088 
00101     IMPORT_C static TInt GetLangVersion( TDes& aValue );
00102 
00126     IMPORT_C static TBool FFSSpaceBelowCriticalLevelL(
00127         RFs* aFs,
00128         TInt aBytesToWrite = 0 );
00129 
00130 
00157     IMPORT_C static TBool MMCSpaceBelowCriticalLevelL(
00158         RFs* aFs,
00159         TInt aBytesToWrite = 0 );
00160 
00205     IMPORT_C static TBool DiskSpaceBelowCriticalLevelL(
00206         RFs* aFs,
00207         TInt aBytesToWrite,
00208         TInt aDrive );
00209 
00210     };
00211 
00212 // SYSUTIL_H
00213 #endif

Copyright © Nokia Corporation 2001-2008
Back to top