X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;ds=sidebyside;f=source%2Fxinema.h;h=ce0345dfeb43850bac27721e75f45e4152f7cff2;hb=c5af992425b815458e6ae01627d370578c68411a;hp=3c3f75a0eb610746433343778157b39998686bcc;hpb=4157ae2c48c539a3bbe609ab143d4c1454fd1748;p=xinema.git diff --git a/source/xinema.h b/source/xinema.h index 3c3f75a..ce0345d 100644 --- a/source/xinema.h +++ b/source/xinema.h @@ -3,29 +3,40 @@ #include #include +#include #include #include +#include "networkinterface.h" class XineEngine; class XineStream; class Xinema: public Msp::RegisteredApplication { +public: + sigc::signal signal_stream_created; + private: - std::string filename; Msp::Graphics::Display display; Msp::Mutex display_mutex; Msp::Graphics::Window window; + NetworkInterface network; XineEngine *engine; XineStream *stream; + Msp::Mutex command_mutex; + std::string pending_mrl; + public: Xinema(int, char **); virtual int main(); - private: virtual void tick(); + +public: + void play_file(const Msp::FS::Path &); + XineStream *get_stream() const { return stream; } }; #endif