summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swiften/StreamStack/WhitespacePingLayer.h')
-rw-r--r--Swiften/StreamStack/WhitespacePingLayer.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/Swiften/StreamStack/WhitespacePingLayer.h b/Swiften/StreamStack/WhitespacePingLayer.h
index de6013b..9d6957b 100644
--- a/Swiften/StreamStack/WhitespacePingLayer.h
+++ b/Swiften/StreamStack/WhitespacePingLayer.h
@@ -17,10 +17,15 @@ namespace Swift {
void writeData(const ByteArray& data);
void handleDataRead(const ByteArray& data);
+ bool getIsActive() const {
+ return isActive;
+ }
+
private:
void handleTimerTick();
private:
+ bool isActive;
boost::shared_ptr<Timer> timer;
};
}