cleanup
This commit is contained in:
@@ -17,14 +17,13 @@ public:
|
|||||||
virtual unsigned GetNumChannels() const { return 2; } /* 1 or 2 */
|
virtual unsigned GetNumChannels() const { return 2; } /* 1 or 2 */
|
||||||
virtual bool IsStreamingFromDisk() const = 0;
|
virtual bool IsStreamingFromDisk() const = 0;
|
||||||
|
|
||||||
bool Error() const { return !error.empty(); }
|
string GetError() const { return m_sError; }
|
||||||
string GetError() const { return error; }
|
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
void SetError(string e) const { error = e; }
|
void SetError( CString sError ) const { m_sError = sError; }
|
||||||
|
|
||||||
private:
|
private:
|
||||||
mutable string error;
|
mutable CString m_sError;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user