X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fxinema.h;h=3a2bae178698a742e3608f074247355e6f950609;hb=ed777426d367df15a67082f5dae0911c21472b5f;hp=3c3f75a0eb610746433343778157b39998686bcc;hpb=4157ae2c48c539a3bbe609ab143d4c1454fd1748;p=xinema.git diff --git a/source/xinema.h b/source/xinema.h index 3c3f75a..3a2bae1 100644 --- a/source/xinema.h +++ b/source/xinema.h @@ -3,29 +3,39 @@ #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 &); }; #endif