propagate file driver errors normally

This commit is contained in:
Glenn Maynard
2004-12-09 11:17:57 +00:00
parent b2c7aec818
commit a2f9bf586d
3 changed files with 31 additions and 10 deletions
+3 -1
View File
@@ -35,12 +35,14 @@ class RageFileObj
{
protected:
RageFile &parent;
void SetError( const CString &err );
void SetError( const CString &sErr ) { m_sError = sErr; }
CString m_sError;
public:
RageFileObj( RageFile &p ): parent(p) { }
virtual ~RageFileObj() { }
CString GetError() const { return m_sError; }
// virtual CString RealPath() const { return parent->GetPath(); }
virtual int Seek( int offset ) = 0;