X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fclient.h;h=2300fc2d3d5d3c5ffa54ab6c3c41a8fc9c218a04;hb=e9e15ac445100aee25fb3314a3ad89e7142c33fb;hp=fa2ea8d02ebdcfff8002b74e9f8bbb77071d894d;hpb=ed777426d367df15a67082f5dae0911c21472b5f;p=xinema.git diff --git a/source/client.h b/source/client.h index fa2ea8d..2300fc2 100644 --- a/source/client.h +++ b/source/client.h @@ -5,8 +5,8 @@ #include #include #include +#include "xinestream.h" -class XineStream; class Xinema; class Client: public sigc::trackable @@ -27,11 +27,14 @@ private: void data_available(); void end_of_stream(); + XineStream &get_stream() const; void process_command(const std::string &); void send_reply(const std::string &); void list_directory(const Msp::FS::Path &); void stream_created(XineStream &); + void stream_state_changed(XineStream::State); + void stream_title_changed(const std::string &); void stream_duration_changed(const Msp::Time::TimeDelta &); void stream_position_changed(const Msp::Time::TimeDelta &); };