mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-02 21:11:25 +12:00
24 lines
No EOL
536 B
C++
24 lines
No EOL
536 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);
|
|
virtual bool Close();
|
|
/*
|
|
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;
|
|
}; |