0028225: MFC sample on OCAF uses old-style definition of a Handle-class
[occt.git] / samples / mfc / standard / 06_Ocaf / src / OCAFSample_Driver.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 _OCAFSample_Driver_HeaderFile
17#define _OCAFSample_Driver_HeaderFile
18
7fd59977 19#include <Standard.hxx>
7fd59977 20#include <TFunction_Driver.hxx>
92efcf78 21#include <TDF_LabelMap.hxx>
7fd59977 22
d7a28eda 23class TFunction_Logbook;
7fd59977 24
d7a28eda 25class OCAFSample_Driver : public TFunction_Driver
26{
7fd59977 27public:
28
d7a28eda 29 Standard_EXPORT void Validate (TFunction_Logbook& log) const;
30 Standard_EXPORT virtual Standard_Boolean MustExecute (const Handle (TFunction_Logbook)& log) const;
31 Standard_EXPORT virtual Standard_Integer Execute (Handle (TFunction_Logbook)& log) const;
32 Standard_EXPORT virtual Standard_Boolean Arguments (TDF_LabelMap& theArgs) const;
33 Standard_EXPORT virtual Standard_Boolean Results (TDF_LabelMap& theRes) const;
34 Standard_EXPORT ~OCAFSample_Driver ();
7fd59977 35
d7a28eda 36 // OCCT RTTI
37 DEFINE_STANDARD_RTTIEXT(OCAFSample_Driver,TFunction_Driver)
7fd59977 38
39protected:
40
d7a28eda 41 Standard_EXPORT OCAFSample_Driver ();
7fd59977 42};
43
7fd59977 44#endif