Salome HOME
0022712: [CEA 1300] LightApp_PreferencesDlg - invalid layout / resize policy
[modules/gui.git] / src / PVViewer / PVViewer_EngineWrapper.h
index 328e120c81bc9b37487c5b9b1a154a421a8bf3d5..8f78d685a417962138c328f2e4872b14655b407f 100644 (file)
 #include <PyInterp_Utils.h>
 #include <string>
 
+//#include <SALOMEconfig.h>
+//#include <SALOME_LifeCycleCORBA.hxx>
+//#include <SALOMEDS_SObject.hxx>
+//#include CORBA_SERVER_HEADER(SALOME_ModuleCatalog)
+//#include CORBA_SERVER_HEADER(SALOMEDS)
+
+
 /*!
  * Class facilitating the access to the PARAVIS engine without having to link
- * to it.
+ * to it. Documentation of the method is found in the PARAVIS module (in the idl directory).
+ *
+ * (Two implementations are provided: one with CORBA dynamic invokation from C++, one using
+ * Python - see commented elements in the .cxx file)
  */
 class PVViewer_EngineWrapper
 {
 public:
+  //! Returns the unique instance of the engine.
   static PVViewer_EngineWrapper * GetInstance();
 
   bool GetGUIConnected();
@@ -42,6 +53,8 @@ private:
   virtual ~PVViewer_EngineWrapper() {}
 
   static PVViewer_EngineWrapper * instance;
+  //Engines::EngineComponent_var _component;
+
   PyObjWrapper paravisEngine;
 };