1 // CAF_Operation.h: interface for the CAF_Operation class.
3 //////////////////////////////////////////////////////////////////////
5 #if !defined(AFX_CAF_OPERATION_H__87D24897_EA69_4A5A_B81F_39E25ABC254B__INCLUDED_)
6 #define AFX_CAF_OPERATION_H__87D24897_EA69_4A5A_B81F_39E25ABC254B__INCLUDED_
10 #endif // _MSC_VER > 1000
15 #include <qkeysequence.h>
19 #include "SUIT_Operation.h"
23 class CAF_EXPORT CAF_Operation : public SUIT_Operation
27 CAF_Operation(SUIT_Application* theApp);
28 virtual ~CAF_Operation();
30 void setName( const QString& name );
31 const QString& getName() const;
35 // All operations-successors must set this field to true in order
36 // to indicates that data are changed or false if aren't changed.
37 // By default, in startOperation method this field is set to true.
40 virtual void startOperation();
41 virtual void abortOperation();
42 virtual void commitOperation();
47 friend class SUIT_Study;
50 #endif // !defined(AFX_SUIT_OPERATION_H__87D24897_EA69_4A5A_B81F_39E25ABC254B__INCLUDED_)