aboutsummaryrefslogtreecommitdiff
path: root/lib/gdi/picload.h
diff options
context:
space:
mode:
authorghost <andreas.monzner@multimedia-labs.de>2008-11-17 23:14:29 +0100
committerghost <andreas.monzner@multimedia-labs.de>2008-11-17 23:14:29 +0100
commit9ca172f45cc02fe5cb693e7d35aade7d2233d448 (patch)
treedd92a24c5a511360b0655e8908a208b02a2d2d67 /lib/gdi/picload.h
parent68687c79e44dbd66db07879bd25309f08e339ece (diff)
downloadenigma2-9ca172f45cc02fe5cb693e7d35aade7d2233d448.tar.gz
enigma2-9ca172f45cc02fe5cb693e7d35aade7d2233d448.zip
picload: more simple non async decode (deprecated)
Diffstat (limited to 'lib/gdi/picload.h')
-rw-r--r--lib/gdi/picload.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/gdi/picload.h b/lib/gdi/picload.h
index 6a0f70b9..f64fd2f9 100644
--- a/lib/gdi/picload.h
+++ b/lib/gdi/picload.h
@@ -85,7 +85,7 @@ 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);
+ int startThread(int what, const char *file, int x, int y, bool async=true);
void thread_finished();
public:
void waitFinished();
@@ -94,8 +94,8 @@ public:
ePicLoad();
~ePicLoad();
- RESULT startDecode(const char *filename, int x=0, int y=0);
- RESULT getThumbnail(const char *filename, int x=0, int y=0);
+ RESULT startDecode(const char *filename, int x=0, int y=0, bool async=true);
+ RESULT getThumbnail(const char *filename, int x=0, int y=0, bool async=true);
RESULT setPara(PyObject *val);
PyObject *getInfo(const char *filename);
SWIG_VOID(int) getData(ePtr<gPixmap> &SWIG_OUTPUT);