secsrv_plat/devencadaptation_api/inc/DevEncEngineBase.h
changeset 0 164170e6151a
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:  Enumerations used in the application UI.
       
    15  *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef __DEVENCENGINEBASE_H__
       
    20 #define __DEVENCENGINEBASE_H__
       
    21 
       
    22 //  Include Files
       
    23 #include <f32file.h>
       
    24 #include <e32base.h>    // CBase
       
    25 
       
    26 //  Class Definitions
       
    27 
       
    28 class CDevEncEngineBase : public CBase
       
    29     {
       
    30 public:
       
    31 
       
    32     virtual TInt Connect( TDriveNumber aNumber ) = 0;
       
    33     virtual void Close() = 0;
       
    34     virtual TInt StartDiskOperation( TInt aOp ) = 0;
       
    35     virtual TInt DiskStatus( TInt& aStatus ) const = 0;
       
    36     virtual TInt Progress( TInt& aProgress ) const = 0;
       
    37     virtual TBool Connected() const = 0;
       
    38     virtual TDriveNumber DriveNumber() const = 0;
       
    39 
       
    40 // For DiskUtils
       
    41     virtual void TakeKeyInUseL( const TDesC8& aClearKey ) const = 0;
       
    42     virtual TInt RandomDataGet( TDes8& aData, const TInt aLength ) = 0;
       
    43     };
       
    44 
       
    45 #endif  // __DEVENCENGINEBASE_H__
       
    46