Salome HOME
Python3 porting for Examples.
[tools/yacsgen.git] / module_generator / hxx_tmpl_gui.py
index 11221940641bf22d1856ebccecc6e1bce88c830f..b54881fa0953d954410371ad936d220752f94812 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2009-2014  EDF R&D
+# Copyright (C) 2009-2016  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
@@ -20,7 +20,7 @@
 try:
   from string import Template
 except:
-  from compat import Template,set
+  from module_generator.compat import Template,set
 
 hxxgui_cxx="""
 #include "${component_name}GUI.h"
@@ -33,6 +33,7 @@ hxxgui_cxx="""
 #include <LightApp_Preferences.h>
 
 #include <SALOME_LifeCycleCORBA.hxx>
+#include <utilities.h>
 
 #define COMPONENT_NAME "${component_name}"