Salome HOME
Merge from V6_main 13/12/2012
[samples/component.git] / src / UndefinedSymbolComponent / UndefinedSymbolComponent.cxx
index 6a285808c96a000030fd5365a325822e159b2c7f..99f96c690a89bfc773c41e4b78e702ce9cb92101 100755 (executable)
@@ -33,6 +33,7 @@
 
 //#include "utilities.h"
 #include "UndefinedSymbolComponent.hxx"
+#include "COMPONENT_version.h"
 
 using namespace std;
 
@@ -58,6 +59,15 @@ UndefinedSymbolComponentEngine::~UndefinedSymbolComponentEngine()
 {
 }
 
+char* UndefinedSymbolComponentEngine::getVersion()
+{
+#if COMPONENT_DEVELOPMENT
+  return CORBA::string_dup(COMPONENT_VERSION_STR"dev");
+#else
+  return CORBA::string_dup(COMPONENT_VERSION_STR);
+#endif
+}
+
 extern "C" { long CallUndefined() ; } ;
 
 CORBA::Long UndefinedSymbolComponentEngine::UndefinedSymbol() {