Salome HOME
Updated copyright comment
[modules/homard.git] / src / HOMARD_I / HOMARD_Gen_i.hxx
index 18130bd75fb2ecf646dc8c31243c672f92dd0662..2cf41b11867509479c8ed7b8e18695ee6d3f6234 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2011-2019  CEA/DEN, EDF R&D
+// Copyright (C) 2011-2024  CEA, EDF
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -30,6 +30,8 @@
 #include CORBA_SERVER_HEADER(HOMARD_YACS)
 #include CORBA_CLIENT_HEADER(SALOMEDS)
 #include CORBA_CLIENT_HEADER(SALOMEDS_Attributes)
+#include CORBA_CLIENT_HEADER(SALOME_ModuleCatalog)
+#include CORBA_CLIENT_HEADER(SMESH_Gen)
 
 #include "HOMARD_i.hxx"
 #include "HOMARD_Gen.hxx"
 #include <string>
 #include <map>
 
-class HOMARDENGINE_EXPORT HOMARD_Gen_i:
-  public virtual Engines_Component_i,
-  public virtual POA_HOMARD::HOMARD_Gen
+class HOMARDENGINE_EXPORT HOMARD_Gen_i : public Engines_Component_i, public POA_HOMARD::HOMARD_Gen
 {
 public:
   HOMARD_Gen_i( CORBA::ORB_ptr orb,
                 PortableServer::POA_ptr poa,
                 PortableServer::ObjectId* contId,
                 const char* instanceName,
-                const char* interfaceName );
+                const char* interfaceName,
+                bool        checkNS);
   virtual ~HOMARD_Gen_i();
 
 
@@ -307,7 +308,8 @@ private:
 
   virtual char*                   getVersion();
   std::string GetStringInTexte( const std::string Texte, const std::string String, int option ) ;
-
+  virtual SALOME_ModuleCatalog::ModuleCatalog_var getModuleCatalog() const = 0;
+  virtual SMESH::SMESH_Gen_var retrieveSMESHInst() const = 0;
 private:
   struct StudyContext
   {
@@ -321,9 +323,7 @@ private:
   };
 
   ::HOMARD_Gen*                 myHomard;
-  SALOMEDS::Study_var           myStudy;
   StudyContext                  myStudyContext;
-  SALOME_NamingService*         _NS;
 
   int _tag_gene ;
   int _tag_boun ;
@@ -340,8 +340,8 @@ private:
   int _YACSMaxNode ;
   int _YACSMaxElem ;
   int _YACSTypeTest ;
- ;
-
+protected:
+  SALOMEDS::Study_var           myStudy;
 };
 
 #endif