Salome HOME
Merge V8_4_BR branch.
[modules/geom.git] / src / STLPlugin / STLPlugin_ImportDriver.hxx
index 8373e59d7f06662a4722c443d2fbff0d6ffe3def..1f457745dfc92eb792fdb0821e67a92bed063d84 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2014-2016  CEA/DEN, EDF R&D, OPEN CASCADE
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
 #ifndef _STLPlugin_ImportDriver_HXX
 #define _STLPlugin_ImportDriver_HXX
 
-// internal includes
-#include "STLPlugin_Engine.hxx"
-
 // GEOM includes
 #include "GEOM_BaseDriver.hxx"
 
-// OCCT includes
-#include <TFunction_Logbook.hxx>
-
 DEFINE_STANDARD_HANDLE( STLPlugin_ImportDriver, GEOM_BaseDriver );
 
-class STLPLUGINENGINE_EXPORT STLPlugin_ImportDriver : public GEOM_BaseDriver
+class STLPlugin_ImportDriver : public GEOM_BaseDriver
 {
 public:
   STLPlugin_ImportDriver();
   ~STLPlugin_ImportDriver() {};
 
   static const Standard_GUID& GetID();
-  virtual Standard_Integer    Execute( TFunction_Logbook& log ) const;
-  Standard_Boolean            MustExecute( const TFunction_Logbook& ) const;
-  virtual void                Validate( TFunction_Logbook& ) const {}
+  virtual Standard_Integer    Execute(Handle(TFunction_Logbook)& log) const;
+  Standard_Boolean            MustExecute( const Handle(TFunction_Logbook)& ) const { return Standard_True; }
+  virtual void                Validate( Handle(TFunction_Logbook)& ) const {}
  
-  virtual bool                GetCreationInformation( std::string&             theOperationName,
-                                                     std::vector<GEOM_Param>& params );
+  virtual bool                GetCreationInformation( std::string& theOperationName,
+                                                      std::vector<GEOM_Param>& params );
   
-DEFINE_STANDARD_RTTI( STLPlugin_ImportDriver )
+  DEFINE_STANDARD_RTTIEXT(STLPlugin_ImportDriver,GEOM_BaseDriver)
 };
 
 #endif // _STLPlugin_ImportDriver_HXX