6 #include "SUIT_Study.h"
11 #include <TDocStd_Document.hxx>
14 #pragma warning ( disable: 4251 )
17 class CAF_EXPORT CAF_Study : public SUIT_Study
22 CAF_Study( SUIT_Application* theApp );
23 CAF_Study( SUIT_Application* theApp, Handle (TDocStd_Document)& aStdDoc );
26 virtual bool startOperation();
27 virtual void abortOperation();
28 virtual void commitOperation();
31 bool isModified() const;
32 void doModified( bool undoable = true);
40 QStringList undoNames() const;
41 QStringList redoNames() const;
43 void setStdDocument( Handle(TDocStd_Document)& aStdDoc ) { myStdDoc = aStdDoc; }
44 Handle(TDocStd_Document) getStdDocument() { return myStdDoc; }
47 Handle(TDocStd_Document) myStdDoc;
50 friend class CAF_Operation;
54 #pragma warning ( default: 4251 )