Salome HOME
ajout d'un include de utilities.h
[tools/yacsgen.git] / module_generator / hxx_tmpl_gui.py
index 2950c5dfce38c5a9d4c7f7f4ec458546ee20f747..ca26556aad9614a6b36b42bd85a43b96b99b0cb8 100644 (file)
@@ -1,9 +1,9 @@
-# Copyright (C) 2009-2012  EDF R&D
+# Copyright (C) 2009-2014  EDF R&D
 #
 # 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.
+# version 2.1 of the License, or (at your option) any later version.
 #
 # This library is distributed in the hope that it will be useful,
 # but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -33,6 +33,7 @@ hxxgui_cxx="""
 #include <LightApp_Preferences.h>
 
 #include <SALOME_LifeCycleCORBA.hxx>
+#include <utilities.h>
 
 #define COMPONENT_NAME "${component_name}"
 
@@ -40,8 +41,7 @@ using namespace std;
 
 // Constructor
 ${component_name}GUI::${component_name}GUI() :
-  SalomeApp_Module( COMPONENT_NAME ), // Module name
-  LightApp_Module( COMPONENT_NAME )  
+  SalomeApp_Module( COMPONENT_NAME ) // Module name
 {
   // Initializations
   default_bool = false;