Merge remote branch 'remotes/origin/acid-burn/bug_629_show_autofs_volumes_as_backuplo...
[enigma2.git] / lib / gdi / epng.h
index 650c25139d16f02ac9ff79f71e1f5d7af786a1ae..753720b45d06b780df2454fed9c02dff4a86e744 100644 (file)
@@ -1,9 +1,11 @@
 #ifndef __png_h
 #define __png_h
 
-#include "grc.h"
+#include <lib/gdi/gpixmap.h>
+
+SWIG_VOID(int) loadPNG(ePtr<gPixmap> &SWIG_OUTPUT, const char *filename);
+SWIG_VOID(int) loadJPG(ePtr<gPixmap> &SWIG_OUTPUT, const char *filename, ePtr<gPixmap> alpha = 0);
 
-gImage *loadPNG(const char *filename);
 int savePNG(const char *filename, gPixmap *pixmap);
 
 #endif