summaryrefslogtreecommitdiff
path: root/iup/include/iupim.h
diff options
context:
space:
mode:
authorPixel <pixel@nobis-crew.org>2009-11-04 11:56:41 -0800
committerPixel <pixel@nobis-crew.org>2009-11-04 11:59:33 -0800
commitd577d991b97ae2b5ee1af23641bcffc3f83af5b2 (patch)
tree590639d50205d1bcfaff2a7d2dc6ebf3f373c7ed /iup/include/iupim.h
Initial import. Contains the im, cd and iup librairies, and a "working" Makefile for them under linux.
Diffstat (limited to 'iup/include/iupim.h')
-rwxr-xr-xiup/include/iupim.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/iup/include/iupim.h b/iup/include/iupim.h
new file mode 100755
index 0000000..03b712c
--- /dev/null
+++ b/iup/include/iupim.h
@@ -0,0 +1,27 @@
+/** \file
+ * \brief Utilities using IM
+ *
+ * See Copyright Notice in "iup.h"
+ */
+
+#ifndef __IUPIM_H
+#define __IUPIM_H
+
+#if defined(__cplusplus)
+extern "C" {
+#endif
+
+Ihandle* IupLoadImage(const char* file_name);
+int IupSaveImage(Ihandle* ih, const char* file_name, const char* format);
+
+#ifdef __IM_IMAGE_H
+imImage* IupGetNativeHandleImage(void* handle);
+void* IupGetImageNativeHandle(imImage* image);
+#endif
+
+
+#if defined(__cplusplus)
+}
+#endif
+
+#endif