From 4e6db3c33ecd7ef4416eb553d59dd34055850bc9 Mon Sep 17 00:00:00 2001 From: rnv Date: Tue, 29 Oct 2013 06:20:24 +0000 Subject: [PATCH] Win32 porting: Add dllexport/import. --- src/ATOMSOLVGUI/ATOMSOLVGUI.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/ATOMSOLVGUI/ATOMSOLVGUI.cxx b/src/ATOMSOLVGUI/ATOMSOLVGUI.cxx index 379cc61..37975b9 100644 --- a/src/ATOMSOLVGUI/ATOMSOLVGUI.cxx +++ b/src/ATOMSOLVGUI/ATOMSOLVGUI.cxx @@ -426,11 +426,12 @@ void ATOMSOLVGUI::preferencesChanged( const QString& group, const QString& param // Export the module extern "C" { + ATOMSOLVGUI_EXPORT CAM_Module* createModule() { return new ATOMSOLVGUI(); } - + ATOMSOLVGUI_EXPORT char* getModuleVersion() { return (char*)ATOMSOLV_VERSION_STR; -- 2.30.2