diff options
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"
|