2003-12-17 10:20:53 +00:00
|
|
|
#ifndef MEMORY_CARD_DRIVER_LINUX_H
|
|
|
|
|
#define MEMORY_CARD_DRIVER_LINUX_H 1
|
|
|
|
|
|
2003-12-17 19:51:11 +00:00
|
|
|
#include "MemoryCardDriver.h"
|
|
|
|
|
|
2003-12-17 10:20:53 +00:00
|
|
|
class MemoryCardDriver_Linux : public MemoryCardDriver
|
|
|
|
|
{
|
|
|
|
|
public:
|
|
|
|
|
MemoryCardDriver_Linux();
|
|
|
|
|
virtual ~MemoryCardDriver_Linux();
|
|
|
|
|
virtual bool StorageDevicesChanged();
|
|
|
|
|
virtual void GetStorageDevices( vector<UsbStorageDevice>& vStorageDevicesOut );
|
|
|
|
|
virtual bool MountAndTestWrite( UsbStorageDevice* pDevice );
|
2003-12-20 02:38:15 +00:00
|
|
|
virtual void Flush( UsbStorageDevice* pDevice );
|
2003-12-17 10:20:53 +00:00
|
|
|
protected:
|
|
|
|
|
int m_fds;
|
|
|
|
|
time_t m_lastModTime;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
* Copyright (c) 2003 by the person(s) listed below. All rights reserved.
|
|
|
|
|
* Chris Danford
|
|
|
|
|
*/
|