factor out loadPNG into generic LoadPixmap
[enigma2.git] / lib / gdi / epng.h
index 650c25139d16f02ac9ff79f71e1f5d7af786a1ae..2db7bc43c845019da2b5e751da50cb332166202b 100644 (file)
@@ -1,9 +1,9 @@
 #ifndef __png_h
 #define __png_h
 
-#include "grc.h"
+#include <lib/gdi/gpixmap.h>
 
-gImage *loadPNG(const char *filename);
+SWIG_VOID(int) loadPNG(ePtr<gPixmap> &SWIG_OUTPUT, const char *filename);
 int savePNG(const char *filename, gPixmap *pixmap);
 
 #endif