Salome HOME
projects
/
modules
/
hydro.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
HYDRO bug 17: add HYDRO version in About dialog.
[modules/hydro.git]
/
src
/
HYDROGUI
/
HYDROGUI_Module.cxx
diff --git
a/src/HYDROGUI/HYDROGUI_Module.cxx
b/src/HYDROGUI/HYDROGUI_Module.cxx
index 33a57e03eb449a17c8dd74c74e5974030b5dc485..c355b51cc17d09b81ec638636f5c95c53e4c5e58 100644
(file)
--- a/
src/HYDROGUI/HYDROGUI_Module.cxx
+++ b/
src/HYDROGUI/HYDROGUI_Module.cxx
@@
-68,6
+68,11
@@
extern "C" HYDRO_EXPORT CAM_Module* createModule()
return new HYDROGUI_Module();
}
return new HYDROGUI_Module();
}
+extern "C" HYDRO_EXPORT char* getModuleVersion()
+{
+ return (char*)HYDRO_VERSION;
+}
+
HYDROGUI_Module::HYDROGUI_Module()
: LightApp_Module( "HYDRO" ),
myDisplayer( 0 ),
HYDROGUI_Module::HYDROGUI_Module()
: LightApp_Module( "HYDRO" ),
myDisplayer( 0 ),