Salome HOME
ModelDocument test corrected to avoid SWIG/Python crash
[modules/shaper.git] / src / NewGeom / NewGeom_Module.h
index f8fdfb8f960d3e5ace4eb18f349d3932eb1e0bac..800d6b168957f26eaf83e805436f6a82598d469d 100644 (file)
@@ -1,3 +1,5 @@
+// Copyright (C) 2014-20xx CEA/DEN, EDF R&D
+
 
 #ifndef NewGeom_Module_H
 #define NewGeom_Module_H
@@ -97,6 +99,8 @@ Q_OBJECT
  protected slots:
   virtual void onViewManagerAdded(SUIT_ViewManager* theMgr);
   void onDefaultPreferences();
+  // Obtains the current application and updates its actions
+  void onUpdateCommandStatus();
 
  protected:
   CAM_DataModel* createDataModel();
@@ -117,7 +121,9 @@ Q_OBJECT
   QMap<QString, QString> myDocumentType;
 
   bool myIsOpened;
-  bool myIsStorePositions;
+  // the next parameters should be restored after this module deactivation
+  bool myIsStorePositions; // the application value of the preferences parameter
+  bool myIsEditEnabled;    // the application value
 
   QtxPopupMgr* myPopupMgr;
 };