This commit is contained in:
Glenn Maynard
2005-12-23 05:25:35 +00:00
parent eb151cf9d3
commit eff6f70502
+3 -4
View File
@@ -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