Salome HOME
Migration to OCCT 7.0
[modules/geom.git] / src / GEOM_I / GEOM_BaseObject_i.hh
index e9bdd5dfc24a7b31eba709dabd2a97fea26ddc46..a9966da60b7b1c3b44627b2a33cb24134ba5ca43 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2007-2013  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2016  CEA/DEN, EDF R&D, OPEN CASCADE
 //
 // Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
 // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
@@ -6,7 +6,7 @@
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
 // License as published by the Free Software Foundation; either
-// version 2.1 of the License.
+// version 2.1 of the License, or (at your option) any later version.
 //
 // This library is distributed in the hope that it will be useful,
 // but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -37,7 +37,7 @@
 class GEOM_I_EXPORT GEOM_BaseObject_i : public virtual POA_GEOM::GEOM_BaseObject, public virtual SALOME::GenericObj_i
 {
  public:
-  GEOM_BaseObject_i(PortableServer::POA_ptr thePOA, GEOM::GEOM_Gen_ptr theEngine, Handle(GEOM_BaseObject) theImpl);
+  GEOM_BaseObject_i(PortableServer::POA_ptr thePOA, GEOM::GEOM_Gen_ptr theEngine, HANDLE_NAMESPACE(GEOM_BaseObject) theImpl);
   ~GEOM_BaseObject_i();
 
   virtual char* GetEntry();
@@ -46,6 +46,8 @@ class GEOM_I_EXPORT GEOM_BaseObject_i : public virtual POA_GEOM::GEOM_BaseObject
 
   virtual CORBA::Long GetType();
 
+  virtual CORBA::Long GetTick();
+
   virtual void SetName(const char* theName);
 
   virtual char* GetName();
@@ -64,9 +66,9 @@ class GEOM_I_EXPORT GEOM_BaseObject_i : public virtual POA_GEOM::GEOM_BaseObject
 
   virtual char* GetParameters();
 
-  virtual GEOM::CreationInformation* GetCreationInformation();
+  virtual GEOM::CreationInformationSeq* GetCreationInformation();
 
-  Handle(GEOM_BaseObject) GetImpl() { return _impl; }
+  HANDLE_NAMESPACE(GEOM_BaseObject) GetImpl() { return _impl; }
 
  protected:
 
@@ -74,7 +76,7 @@ class GEOM_I_EXPORT GEOM_BaseObject_i : public virtual POA_GEOM::GEOM_BaseObject
 
  private:
 
-  Handle(GEOM_BaseObject) _impl;
+  HANDLE_NAMESPACE(GEOM_BaseObject) _impl;
 };
 
 #endif