mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2025-03-01 10:33:28 +00:00
Const correctness, override keyword, a bunch of stuff..
This commit is contained in:
@@ -38,23 +38,23 @@ public:
|
||||
, const QJsonObject &args = QJsonObject()
|
||||
, const QString &imageData = ""
|
||||
);
|
||||
virtual ~Effect();
|
||||
~Effect() override;
|
||||
|
||||
virtual void run();
|
||||
void run() override;
|
||||
|
||||
int getPriority() const { return _priority; };
|
||||
int getPriority() const { return _priority; }
|
||||
|
||||
///
|
||||
/// @brief Set manual interuption to true,
|
||||
/// Note: DO NOT USE QThread::interuption!
|
||||
///
|
||||
void requestInterruption() { _interupt = true; };
|
||||
void requestInterruption() { _interupt = true; }
|
||||
|
||||
///
|
||||
/// @brief Check if the interuption flag has been set
|
||||
/// @return The flag state
|
||||
///
|
||||
bool isInterruptionRequested() { return _interupt; };
|
||||
bool isInterruptionRequested() { return _interupt; }
|
||||
|
||||
QString getScript() const { return _script; }
|
||||
QString getName() const { return _name; }
|
||||
|
Reference in New Issue
Block a user