21#ifndef SIMPLEPLUGINPROGRESS_H
22#define SIMPLEPLUGINPROGRESS_H
24#include <tulip/PluginProgress.h>
33 SimplePluginProgress();
35 void cancel()
override;
37 bool isPreviewMode()
const override;
38 void setPreviewMode(
bool)
override;
39 void showPreview(
bool)
override;
40 void showStops(
bool)
override;
42 std::string getError()
override {
45 void setError(
const std::string &error)
override {
48 void setComment(
const std::string &)
override {}
49 void setTitle(
const std::string &)
override {}
52 virtual void progress_handler(
int step,
int max_step);
54 virtual void preview_handler(
bool);
PluginProcess subclasses are meant to notify about the progress state of some process (typically a pl...
ProgressState
This enum describes callback actions for the underlying system when calling tlp::PluginProgress::prog...