more changes for async picture decode support
[enigma2.git] / lib / gdi / picload.h
index a85567c0f01f35315e977481403863379478d952..6a0f70b93e4a2ce0a21e2183b44669474d4985cb 100644 (file)
@@ -86,7 +86,9 @@ class ePicLoad: public eMainloop, public eThread, public Object, public iObject
        void gotMessage(const Message &message);
        void thread();
        int startThread(int what, const char *file, int x, int y);
+       void thread_finished();
 public:
+       void waitFinished();
        PSignal1<void, const char*> PictureData;
 
        ePicLoad();
@@ -99,4 +101,7 @@ public:
        SWIG_VOID(int) getData(ePtr<gPixmap> &SWIG_OUTPUT);
 };
 
+//for old plugins
+SWIG_VOID(int) loadPic(ePtr<gPixmap> &SWIG_OUTPUT, std::string filename, int x, int y, int aspect, int resize_mode=0, int rotate=0, int background=0, std::string cachefile="");
+
 #endif // __picload_h__