secsrv_plat/devenccommonutils_api/inc/DevEncDiskUtils.h
changeset 0 164170e6151a
child 16 9971b621ef6c
equal deleted inserted replaced
-1:000000000000 0:164170e6151a
       
     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:
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef DEVENCDISKUTILS_H
       
    19 #define DEVENCDISKUTILS_H
       
    20 
       
    21 #include <f32file.h>
       
    22 
       
    23 // Constants
       
    24 
       
    25 // Forward declarations
       
    26 //enum TDriveNumber; // Defined in f32file.h
       
    27 
       
    28 class CDevEncDiskUtils : public CBase
       
    29     {
       
    30     public:
       
    31         //IMPORT_C static const TDesC& DriveLetter( TDriveNumber aNumber );
       
    32         IMPORT_C static TInt DriveLetter( const TInt aNumber,
       
    33                                           TDes& aResult );
       
    34         IMPORT_C static void DrivePath( TDes& aDes,
       
    35                                         const TDriveNumber aNumber );
       
    36         IMPORT_C static void WriteTestFile();
       
    37         IMPORT_C static void VerifyTestFile();
       
    38         IMPORT_C static void DeleteTestFile();
       
    39         IMPORT_C static TInt DiskFinalize( const TDriveNumber aNumber );
       
    40 
       
    41     private:
       
    42         static void DoWriteTestFileL();
       
    43         static void DoVerifyTestFileL();
       
    44         static TInt64 FindCriticalLevelTresholdL();
       
    45         static TInt FindValueL( const TUid aRepositoryUid, const TUint aCRKey );
       
    46         static TInt64 FindWarningLevelTresholdL();
       
    47     };
       
    48 
       
    49 #endif // DEVENCDISKUTILS_H
       
    50 
       
    51 // End of file