omap3530/beagle_drivers/wb/drivers/CyAsSymbianStorageDriver.h
changeset 23 117faf51deac
equal deleted inserted replaced
22:b7e488c49d0d 23:117faf51deac
       
     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