Salome HOME
Porting SALOME SMESH module to the CMake build system: initial version.
[modules/smesh.git] / src / StdMeshersGUI / StdMeshersGUI_ObjectReferenceParamWdg.h
index d36efd9290d00860791a9cb2e3bc4a72e3157443..f1582f2ba3d75ec2a0cbcb3ea99195001b331b64 100644 (file)
@@ -35,7 +35,7 @@
 #include <QWidget>
 
 // CORBA includes
-#include <CORBA.h>
+#include <omniORB4/CORBA.h>
 
 #include <SALOMEconfig.h>
 #include CORBA_SERVER_HEADER(SMESH_Mesh)
@@ -80,6 +80,15 @@ public:
   bool IsObjectSelected(unsigned i=0) const
   { return i < myObjects.size() && !CORBA::is_nil(myObjects[i]); }
 
+  /*!
+   * \brief Get the selection status
+    *
+    * Useful to know which Object Reference param widget is activated
+    * to be able to activate the next one when the content of this
+    * one has been modified
+   */
+  bool IsSelectionActivated() const { return mySelectionActivated; }
+
   void AvoidSimultaneousSelection( StdMeshersGUI_ObjectReferenceParamWdg* other);
   
   void SetDefaultText(QString defaultText="", QString styleSheet="");