summaryrefslogtreecommitdiff
path: root/plugins/!NotAdopted/sametime/sametime.h
diff options
context:
space:
mode:
authorRobert Pösel <robyer@seznam.cz>2013-11-18 20:37:19 +0000
committerRobert Pösel <robyer@seznam.cz>2013-11-18 20:37:19 +0000
commit0e80ad0d4c150fa947849cdad07a7d0d34d7340e (patch)
tree7034b8267ed219c615c4b135778e80a1ede16923 /plugins/!NotAdopted/sametime/sametime.h
parent8598a4a7a0bc922c4c1c768b55f596cc6d8a0d44 (diff)
Add sametime protocol sources (not adopted)
git-svn-id: http://svn.miranda-ng.org/main/trunk@6935 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/!NotAdopted/sametime/sametime.h')
-rw-r--r--plugins/!NotAdopted/sametime/sametime.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/plugins/!NotAdopted/sametime/sametime.h b/plugins/!NotAdopted/sametime/sametime.h
new file mode 100644
index 0000000000..14438b2c4f
--- /dev/null
+++ b/plugins/!NotAdopted/sametime/sametime.h
@@ -0,0 +1,14 @@
+
+// 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 SAMETIME_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
+// SAMETIME_API functions as being imported from a DLL, wheras this DLL sees symbols
+// defined with this macro as being exported.
+#ifdef SAMETIME_EXPORTS
+#define SAMETIME_API __declspec(dllexport)
+#else
+#define SAMETIME_API __declspec(dllimport)
+#endif
+
+