Salome HOME
Merge with PAL/SALOME 2.1.0d
[modules/kernel.git] / src / TOOLSGUI / ToolsGUI.h
index 93f697881a59609b4da8d181d1b968d7a446908d..bd4022f22b7e9ff34c73271fb4d429f90d40690c 100644 (file)
 
 #include "QAD_Desktop.h"
 
-class ToolsGUI : public QObject
+#include <SALOMEconfig.h>
+#include CORBA_SERVER_HEADER(SALOMEDS)
+
+class Standard_EXPORT ToolsGUI  
 {
-  Q_OBJECT
 
 public :
 
-// Methods PUBLIC
-// 
-    Standard_EXPORT static int ToolsGUI::runCommand(string & arg);
-Standard_EXPORT static bool OnGUIEvent (int theCommandID, QAD_Desktop* parent);
-protected:
-
- // Methods PROTECTED
- // 
-
-
- // Fields PROTECTED
- //
-
-
-private: 
-
- // Methods PRIVATE
- // 
-
-
- // Fields PRIVATE
- //
+  static int                runCommand( string&  );
+  static bool               OnGUIEvent( int theCommandID, QAD_Desktop* parent );
 
+  static bool               GetVisibility( SALOMEDS::Study_var   theStudy,
+                                           SALOMEDS::SObject_var theObj,
+                                           void*                 theId );
+  static bool               SetVisibility( SALOMEDS::Study_var theStudy,
+                                           const char*         theEntry,
+                                           const bool          theValue,
+                                           void*               theId );
 };
 
 #endif