#include <QObject>
#include <QString>
-#include <memory>
+#include <boost/shared_ptr.hpp>
class SUIT_Study;
class XGUI_Workshop;
// Operation processing.
virtual QString operationId() const;
- virtual bool isPerformedImmediately() const;
-
- std::shared_ptr<ModelAPI_Feature> feature() const;
+ boost::shared_ptr<ModelAPI_Feature> feature() const;
OperationState state() const;
bool isRunning() const;
public slots:
void start();
+ void resume();
void abort();
void commit();
// Data model operations.
void storeReal(double);
+ // Data model operations.
+ void storeCustomValue();
+
protected:
virtual bool isReadyToStart() const;
void setExecStatus(const int);
void setState(const OperationState);
- std::shared_ptr<ModelAPI_Document> document() const;
+ boost::shared_ptr<ModelAPI_Document> document() const;
private:
int myFlags; //!< Operation flags
//!< Next fields could be extracted into a subclass;
QString myOperationId;
- std::shared_ptr<ModelAPI_Feature> myFeature;
+ boost::shared_ptr<ModelAPI_Feature> myFeature;
};
#endif