omap3530/beagle_drivers/wb/drivers/CyAsSymbianStorageDriver.h
author Lukasz Forynski <lukasz.forynski@gmail.com>
Wed, 03 Nov 2010 17:09:56 +0000
branchgeneric_fixes_and_updates
changeset 98 b3e9a64f6a92
parent 23 117faf51deac
permissions -rw-r--r--
follow up for 97:(fa3af5241fa7) - removed 'hard-coded' paths that were pointing at /adaptation. Now component should be movable (i.e. can sync it to any path)


#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