#ifndef MEMORY_CARD_DRIVER_LINUX_H #define MEMORY_CARD_DRIVER_LINUX_H 1 #include "MemoryCardDriver.h" #include "RageThreads.h" class MemoryCardDriver_Linux : public MemoryCardDriver { public: MemoryCardDriver_Linux(); virtual ~MemoryCardDriver_Linux(); virtual bool StorageDevicesChanged(); virtual void GetStorageDevices( vector& vStorageDevicesOut ); virtual bool MountAndTestWrite( UsbStorageDevice* pDevice, CString sMountPoint ); virtual void Unmount( UsbStorageDevice* pDevice, CString sMountPoint ); virtual void Flush( UsbStorageDevice* pDevice ); virtual void ResetUsbStorage(); static int MountThread_Start( void *p ); void MountThreadMain(); protected: RageThread MountThread; bool shutdown; RageMutex m_StorageDevicesChangedMutex; bool m_bStorageDevicesChanged; }; #endif /* * Copyright (c) 2003 by the person(s) listed below. All rights reserved. * Chris Danford */