Summary Files Commits Branches @commit @diff @stats
path: root / src / sensor.h
diff options
context:
space:
mode:
Commit8c2557eab38ba0d2222ec03fc6022b189e070f8d (patch)
Author
 MageJohn <MageJohn@users.noreply.github.com>
2019-02-21 00:41:14 +0000
Committer
 GitHub <noreply@github.com>
2019-02-21 00:41:14 +0000
Files917c5708af4c152677fa29a014bae8bfd62c6adc /src/sensor.h
lead-8c2557eab38ba0d2222ec03fc6022b189e070f8d.tar
lead-8c2557eab38ba0d2222ec03fc6022b189e070f8d.tar.gz
lead-8c2557eab38ba0d2222ec03fc6022b189e070f8d.zip
Parent7e9c4e1b9bfa3966cca992256b885f75c8660753 (diff)
Parent2321c26ccd7d1243f8abfac62fea4790402f301a (diff)
Merge pull request #2 from Almamu/master
Merge more improvements from Almamu
1 files changed, 2 insertions, 1 deletions
-rw-r--r--src/sensor.h3
diff --git a/src/sensor.h b/src/sensor.h
index bc4857b..4b86690 100644
--- a/src/sensor.h
+++ b/src/sensor.h
@@ -41,7 +41,7 @@ class Sensor : public QWidget
Q_OBJECT
public:
- explicit Sensor(int x, int y, int w, int h, QString enterAction, QString exitAction, int enterInterval, int exitInterval);
+ explicit Sensor(int x, int y, int w, int h, QString enterAction, QString exitAction, int enterInterval, int exitInterval, bool debugMode);
~Sensor();
protected:
@@ -56,6 +56,7 @@ private:
int enterInterval;
int exitInterval;
bool canTriggerExit;
+ bool debugMode;
public slots:
void activateEnter();