/*!
    \file  IStorageDevice.h
    \brief interface IStorageDevice

    Copyright (c) 2004 HigePon
    WITHOUT ANY WARRANTY

    \author  HigePon
    \version $Revision: 1.2 $
    \date   create:2004/03/10 update:$Date: 2004/07/04 10:22:19 $
*/
#ifndef _MONA_ISTORAGE_DEVICE_
#define _MONA_ISTORAGE_DEVICE_

#include "types.h"

class IStorageDevice
{
 public:
    virtual int open()  = 0;
    virtual int close() = 0;
    virtual int read(dword lba, void* buf, int size)  = 0;
    virtual int write(dword lba, void* buf, int size) = 0;
    virtual int ioctl(void* p) = 0;
};

#endif
