//
#include "BL_SalomeGui.hxx"
+#include "JOBMANAGER_version.h"
BL::SalomeGui::SalomeGui() : MainWindows_SALOME("JobManager"),
SalomeApp_Module("JobManager"),
{
return new BL::SalomeGui();
}
+
+ char* getModuleVersion()
+ {
+ return (char*)JOBMANAGER_VERSION_STR;
+ }
}
--- /dev/null
+// Copyright (C) 2007-2011 CEA/DEN, EDF R&D, OPEN CASCADE
+//
+// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
+// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
+//
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public
+// License as published by the Free Software Foundation; either
+// version 2.1 of the License.
+//
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+// Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public
+// License along with this library; if not, write to the Free Software
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+//
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+//
+
+// File : JOBMANAGER_version.h
+// Author : Vadim SANDLER
+// Module : SALOME
+//
+#if !defined(__JOBMANAGER_VERSION_H__)
+#define __JOBMANAGER_VERSION_H__
+
+/*
+ JOBMANAGER_VERSION is (major << 16) + (minor << 8) + patch.
+*/
+
+#define JOBMANAGER_VERSION_STR "@VERSION@"
+#define JOBMANAGER_VERSION @XVERSION@
+
+#endif // __JOBMANAGER_VERSION_H__
libJOBMANAGER_la_CXXFLAGS = $(qt4_cppflags) \
$(BOOST_CPPFLAGS) \
$(OMNIORB_INCLUDES) \
- -I../../idl \
+ -I$(top_builddir)/idl \
-I$(KERNEL_ROOT_DIR)/include/salome \
-I$(GUI_ROOT_DIR)/include/salome \
-I$(top_srcdir)/src/genericgui \
$(top_builddir)/src/wrappers/libBL_Wrappers_SALOME.la \
-lSalomeApp
-salomeinclude_HEADERS = BL_SalomeGui.hxx
+salomeinclude_HEADERS = BL_SalomeGui.hxx \
+ JOBMANAGER_version.h
# resources files
LIBICONS = SalomeApp.xml jobmanager.png