cleanup
This commit is contained in:
@@ -30,16 +30,6 @@ static struct FileDriverEntry_DIR: public FileDriverEntry
|
|||||||
|
|
||||||
class RageFileObjDirect: public RageFileObj
|
class RageFileObjDirect: public RageFileObj
|
||||||
{
|
{
|
||||||
private:
|
|
||||||
int fd;
|
|
||||||
CString path; /* for Copy */
|
|
||||||
|
|
||||||
CString write_buf;
|
|
||||||
|
|
||||||
bool FinalFlush();
|
|
||||||
|
|
||||||
int m_iMode;
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
RageFileObjDirect( const CString &path, int fd_, int mode_ );
|
RageFileObjDirect( const CString &path, int fd_, int mode_ );
|
||||||
virtual ~RageFileObjDirect();
|
virtual ~RageFileObjDirect();
|
||||||
@@ -50,6 +40,16 @@ public:
|
|||||||
virtual RageFileBasic *Copy() const;
|
virtual RageFileBasic *Copy() const;
|
||||||
virtual CString GetDisplayPath() const { return path; }
|
virtual CString GetDisplayPath() const { return path; }
|
||||||
virtual int GetFileSize() const;
|
virtual int GetFileSize() const;
|
||||||
|
|
||||||
|
private:
|
||||||
|
int fd;
|
||||||
|
CString path; /* for Copy */
|
||||||
|
|
||||||
|
CString write_buf;
|
||||||
|
|
||||||
|
bool FinalFlush();
|
||||||
|
|
||||||
|
int m_iMode;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user