summaryrefslogtreecommitdiff
path: root/plugins/YAPP/src/yapp.h
diff options
context:
space:
mode:
authorVadim Dashevskiy <watcherhd@gmail.com>2012-07-24 12:45:18 +0000
committerVadim Dashevskiy <watcherhd@gmail.com>2012-07-24 12:45:18 +0000
commit0cda0baab21d4d4bf40c9459f6f5a7e49aa92492 (patch)
treec1244d2f42e6d1728a81a18bd0fbd091904bf20c /plugins/YAPP/src/yapp.h
parent171e81205e357e0d54283a63997ed58ff97d54a9 (diff)
VersionInfo, W7UI, WhoUsesMyFiles, YAPP, ZeroNotification: changed folder structure
git-svn-id: http://svn.miranda-ng.org/main/trunk@1161 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/YAPP/src/yapp.h')
-rw-r--r--plugins/YAPP/src/yapp.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/plugins/YAPP/src/yapp.h b/plugins/YAPP/src/yapp.h
new file mode 100644
index 0000000000..de86e26295
--- /dev/null
+++ b/plugins/YAPP/src/yapp.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 POPUPS2_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
+// POPUPS2_API functions as being imported from a DLL, whereas this DLL sees symbols
+// defined with this macro as being exported.
+#ifdef YAPP_EXPORTS
+#define YAPP_API __declspec(dllexport)
+#else
+#define YAPP_API __declspec(dllimport)
+#endif
+