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.
williamr@4
     1
williamr@4
     2
#ifndef ASTORIAAPISTORAGE_H
williamr@4
     3
#define ASTORIAAPISTORAGE_H
williamr@4
     4
williamr@4
     5
williamr@4
     6
class CyAsSymbianStorageDriver
williamr@4
     7
{
williamr@4
     8
	
williamr@4
     9
public:
williamr@4
    10
	IMPORT_C static int Open(void);
williamr@4
    11
	IMPORT_C static int Close(void);
williamr@4
    12
	IMPORT_C static int Read(int, int, void*);
williamr@4
    13
	IMPORT_C static int Write(int, int, void*);
williamr@4
    14
williamr@4
    15
	IMPORT_C static TInt GetMediaType(void);
williamr@4
    16
	IMPORT_C static TInt GetIsRemovable(void);
williamr@4
    17
	IMPORT_C static TInt GetIsWriteable(void);
williamr@4
    18
	IMPORT_C static TUint16 GetBlockSize(void);
williamr@4
    19
	IMPORT_C static TUint GetNumberOfUnits(void);
williamr@4
    20
	IMPORT_C static TInt GetIsLocked(void);
williamr@4
    21
	IMPORT_C static TUint GetEraseBlockSize(void);
williamr@4
    22
	IMPORT_C static TUint GetUnitSize(void);	
williamr@4
    23
	IMPORT_C static TUint GetStartBlock(void);	
williamr@4
    24
	IMPORT_C static TInt64 GetMediaSize(void);
williamr@4
    25
	
williamr@4
    26
};
williamr@4
    27
williamr@4
    28
#endif