rpcsx/rpcs3/Emu/FS/vfsFileBase.h
DH eebe859f83 Improved mem_t.
- Implemented mem_ptr_t.
- Fixed issue 3.
2013-09-25 00:11:29 +03:00

25 lines
555 B
C++

#pragma once
#include "vfsDevice.h"
struct vfsFileBase : public vfsDevice
{
protected:
wxString m_path;
vfsOpenMode m_mode;
public:
vfsFileBase();
virtual ~vfsFileBase();
virtual bool Open(const wxString& path, vfsOpenMode mode) override;
virtual bool Close() override;
/*
virtual bool Create(const wxString& path)=0;
virtual bool Exists(const wxString& path)=0;
virtual bool Rename(const wxString& from, const wxString& to)=0;
virtual bool Remove(const wxString& path)=0;
*/
wxString GetPath() const;
vfsOpenMode GetOpenMode() const;
};