0028225: MFC sample on OCAF uses old-style definition of a Handle-class
[occt.git] / samples / mfc / standard / 06_Ocaf / src / TOcafFunction_CutDriver.hxx
CommitLineData
7fd59977 1// File generated by CPPExt (Transient)
2//
3// Copyright (C) 1991,1995 by
4//
5// MATRA DATAVISION, FRANCE
6//
7// This software is furnished in accordance with the terms and conditions
8// of the contract and with the inclusion of the above copyright notice.
9// This software or any other copy thereof may not be provided or otherwise
10// be made available to any other person. No title to an ownership of the
11// software is hereby transferred.
12//
13// At the termination of the contract, the software and all copies of this
14// software must be deleted.
15//
16#ifndef _TOcafFunction_CutDriver_HeaderFile
17#define _TOcafFunction_CutDriver_HeaderFile
18
19#ifndef _Standard_HeaderFile
20#include <Standard.hxx>
21#endif
7fd59977 22
23#ifndef _TFunction_Driver_HeaderFile
24#include <TFunction_Driver.hxx>
25#endif
26#ifndef _Standard_Boolean_HeaderFile
27#include <Standard_Boolean.hxx>
28#endif
29#ifndef _Standard_Integer_HeaderFile
30#include <Standard_Integer.hxx>
31#endif
32class TFunction_Logbook;
33
34
d7a28eda 35class TOcafFunction_CutDriver : public TFunction_Driver
36{
7fd59977 37public:
38
d7a28eda 39 Standard_EXPORT static const Standard_GUID& GetID() ;
40 Standard_EXPORT TOcafFunction_CutDriver ();
41 Standard_EXPORT virtual void Validate (Handle (TFunction_Logbook)& log) const;
42 Standard_EXPORT virtual Standard_Boolean MustExecute (const Handle (TFunction_Logbook)& log) const;
43 Standard_EXPORT virtual Standard_Integer Execute (Handle (TFunction_Logbook)& log) const;
7fd59977 44
d7a28eda 45 // OCCT RTTI
46 DEFINE_STANDARD_RTTIEXT(TOcafFunction_CutDriver,TFunction_Driver)
7fd59977 47};
48
7fd59977 49#endif