epoc32/include/assp/omap3530_assp/CyAsSymbianStorageDriver.h
author William Roberts <williamr@symbian.org>
Wed, 31 Mar 2010 12:33:34 +0100
branchSymbian3
changeset 4 837f303aceeb
permissions -rw-r--r--
Current Symbian^3 public API header files (from PDK 3.0.h)
This is the epoc32/include tree with the "platform" subtrees removed, and
all but a selected few mbg and rsg files removed.
     1 
     2 #ifndef ASTORIAAPISTORAGE_H
     3 #define ASTORIAAPISTORAGE_H
     4 
     5 
     6 class CyAsSymbianStorageDriver
     7 {
     8 	
     9 public:
    10 	IMPORT_C static int Open(void);
    11 	IMPORT_C static int Close(void);
    12 	IMPORT_C static int Read(int, int, void*);
    13 	IMPORT_C static int Write(int, int, void*);
    14 
    15 	IMPORT_C static TInt GetMediaType(void);
    16 	IMPORT_C static TInt GetIsRemovable(void);
    17 	IMPORT_C static TInt GetIsWriteable(void);
    18 	IMPORT_C static TUint16 GetBlockSize(void);
    19 	IMPORT_C static TUint GetNumberOfUnits(void);
    20 	IMPORT_C static TInt GetIsLocked(void);
    21 	IMPORT_C static TUint GetEraseBlockSize(void);
    22 	IMPORT_C static TUint GetUnitSize(void);	
    23 	IMPORT_C static TUint GetStartBlock(void);	
    24 	IMPORT_C static TInt64 GetMediaSize(void);
    25 	
    26 };
    27 
    28 #endif