diff options
author | sje <sje@4f64403b-2f21-0410-a795-97e2b3489a10> | 2006-11-01 14:34:02 +0000 |
---|---|---|
committer | sje <sje@4f64403b-2f21-0410-a795-97e2b3489a10> | 2006-11-01 14:34:02 +0000 |
commit | c9afe68aa201d99fd8651a35e45064b57e4d2699 (patch) | |
tree | 7d44aa04d970e15da1b6a56974182155cef17654 /font_service/FontService.h | |
parent | 31d3a6408d045eadaff094d4c11bf017817743d7 (diff) |
git-svn-id: https://server.scottellis.com.au/svn/mim_plugs@5 4f64403b-2f21-0410-a795-97e2b3489a10
Diffstat (limited to 'font_service/FontService.h')
-rw-r--r-- | font_service/FontService.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/font_service/FontService.h b/font_service/FontService.h new file mode 100644 index 0000000..b88b40a --- /dev/null +++ b/font_service/FontService.h @@ -0,0 +1,18 @@ +// Copyright Scott Ellis (mail@scottellis.com.au) 2005
+// This software is licenced under the GPL (General Public Licence)
+// available at http://www.gnu.org/copyleft/gpl.html
+
+// 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 FONTSERVICE_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
+// FONTSERVICE_API functions as being imported from a DLL, wheras this DLL sees symbols
+// defined with this macro as being exported.
+#ifdef FONTSERVICE_EXPORTS
+#define FONTSERVICE_API __declspec(dllexport)
+#else
+#define FONTSERVICE_API __declspec(dllimport)
+#endif
+
+#include "services.h"
+#include "options.h"
|