Salome HOME
CCAR: change setStudyId to virtual method to be able to derive it in components
[modules/kernel.git] / src / Container / SALOME_Component_i.hxx
index 361b87eb3e599e7b539aff7733c4031b55fec3f8..a96756f4e39024385fddfc405a08ec0ad53360e6 100644 (file)
@@ -113,14 +113,14 @@ public:
 
   // Object information
   virtual bool hasObjectInfo() { return false; }
-  virtual char* getObjectInfo(CORBA::Long studyId, const char* entry) { return ""; }
+  virtual char* getObjectInfo(CORBA::Long studyId, const char* entry) { return CORBA::string_dup(""); }
   
   // --- local C++ methods
 
   PortableServer::ObjectId * getId(); 
   Engines_Container_i *GetContainerPtr();
 
-  bool setStudyId(CORBA::Long studyId);
+  virtual bool setStudyId(CORBA::Long studyId);
   static bool isMultiStudy();
   static bool isMultiInstance();
   static std::string GetDynLibraryName(const char *componentName);