]> SALOME platform Git repositories - modules/geom.git/blobdiff - src/PrimitiveGUI/PrimitiveGUI.h
Salome HOME
SMH: Merged GEOM (NEWGUI, HEAD, POLYWORK)
[modules/geom.git] / src / PrimitiveGUI / PrimitiveGUI.h
index 3276c5ed6986d70d1cd1dcbf26d707e8f301164a..ce0b00d770314b9f570269a7a3a4d1ec59155fcc 100644 (file)
 class PrimitiveGUI : public GEOMGUI
 {
 protected:
-  PrimitiveGUI(); // hide constructor to avoid direct creation
+  PrimitiveGUI(GeometryGUI* parent); // hide constructor to avoid direct creation
 
 public :
   ~PrimitiveGUI();
 
   // Get the only PrimitiveGUI object
-  static PrimitiveGUI* GetPrimitiveGUI();
+  static PrimitiveGUI* GetPrimitiveGUI(GeometryGUI* parent);
 
-  bool OnGUIEvent(int theCommandID, QAD_Desktop* parent);
+  bool OnGUIEvent(int theCommandID, SUIT_Desktop* parent);
 
 private:
   static PrimitiveGUI* myGUIObject;    // the only PrimitiveGUI object