summaryrefslogtreecommitdiff
path: root/xframes/xframes.h
diff options
context:
space:
mode:
authorsje <sje@4f64403b-2f21-0410-a795-97e2b3489a10>2006-11-01 14:58:17 +0000
committersje <sje@4f64403b-2f21-0410-a795-97e2b3489a10>2006-11-01 14:58:17 +0000
commit9a1b2f988762967da30e6f4d2575dc2dfe99a21a (patch)
treee21dab2141e93e87a604e29896438c41b035e8e9 /xframes/xframes.h
parentd513db102812c5dd83f94084e979bb7e24345498 (diff)
git-svn-id: https://server.scottellis.com.au/svn/mim_plugs@25 4f64403b-2f21-0410-a795-97e2b3489a10
Diffstat (limited to 'xframes/xframes.h')
-rw-r--r--xframes/xframes.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/xframes/xframes.h b/xframes/xframes.h
new file mode 100644
index 0000000..90bd3e0
--- /dev/null
+++ b/xframes/xframes.h
@@ -0,0 +1,12 @@
+// The following ifdef block is the standard way of creating macros which make exporting
+// from a DLL simpler. All files within this DLL are compiled with the XFRAMES_EXPORTS
+// symbol defined on the command line. this symbol should not be defined on any project
+// that uses this DLL. This way any other project whose source files include this file see
+// XFRAMES_API functions as being imported from a DLL, whereas this DLL sees symbols
+// defined with this macro as being exported.
+#ifdef XFRAMES_EXPORTS
+#define XFRAMES_API __declspec(dllexport)
+#else
+#define XFRAMES_API __declspec(dllimport)
+#endif
+