#ifndef __OGGTRACK_H__ #define __OGGTRACK_H__ #include "abstract/track.h" class oggtrack : public idtrack { private: bool paused; mutable int length, currentpos; mutable string sbuffer; void readtag(); void runplayer(); public: oggtrack(const string &afname); ~oggtrack(); void play(); void pause(); void stop(); void fwd(bool big = false) {} void rwd(bool big = false) {} bool terminated() const; int getlength() const; string getdescription() const; vector getstatus() const; void setidtags(string &aartist, string &atitle, string &aalbum, string &ayear, string &acomment); void toplaylist(ofstream &f) const; }; #endif