summaryrefslogtreecommitdiffstats
path: root/fltk/fltk/load_plugin.h
diff options
context:
space:
mode:
Diffstat (limited to 'fltk/fltk/load_plugin.h')
-rw-r--r--fltk/fltk/load_plugin.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/fltk/fltk/load_plugin.h b/fltk/fltk/load_plugin.h
new file mode 100644
index 0000000..fe234b1
--- /dev/null
+++ b/fltk/fltk/load_plugin.h
@@ -0,0 +1,14 @@
+/*! \file
+ This is a convienence function for portable loading of a plugin
+ and possibly returing a symbol in that plugin. The function is
+ \e not in the fltk namespace!
+*/
+
+#ifndef fl_load_plugin_h
+#define fl_load_plugin_h
+
+#include "FL_API.h"
+
+FL_API void* load_plugin(const char* name, const char* symbol);
+
+#endif