omap3530/beagle_drivers/wb/drivers/CyAsSymbianStorageDriver.h
author Mike Kinghan <mikek@symbian.org>
Tue, 16 Nov 2010 13:53:39 +0000 (2010-11-16)
changeset 108 181b2f6a9979
parent 23 117faf51deac
permissions -rw-r--r--
Fix for Bug 3952 - Various #includes in the Beagleboard code use non-portable '\' path delimiters

#ifndef ASTORIAAPISTORAGE_H
#define ASTORIAAPISTORAGE_H


class CyAsSymbianStorageDriver
{
	
public:
	IMPORT_C static int Open(void);
	IMPORT_C static int Close(void);
	IMPORT_C static int Read(int, int, void*);
	IMPORT_C static int Write(int, int, void*);

	IMPORT_C static TInt GetMediaType(void);
	IMPORT_C static TInt GetIsRemovable(void);
	IMPORT_C static TInt GetIsWriteable(void);
	IMPORT_C static TUint16 GetBlockSize(void);
	IMPORT_C static TUint GetNumberOfUnits(void);
	IMPORT_C static TInt GetIsLocked(void);
	IMPORT_C static TUint GetEraseBlockSize(void);
	IMPORT_C static TUint GetUnitSize(void);	
	IMPORT_C static TUint GetStartBlock(void);	
	IMPORT_C static TInt64 GetMediaSize(void);
	
};

#endif