summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swift/Controllers/UIEvents/ToggleShowOfflineUIEvent.h')
-rw-r--r--Swift/Controllers/UIEvents/ToggleShowOfflineUIEvent.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/Swift/Controllers/UIEvents/ToggleShowOfflineUIEvent.h b/Swift/Controllers/UIEvents/ToggleShowOfflineUIEvent.h
new file mode 100644
index 0000000..b45eb83
--- /dev/null
+++ b/Swift/Controllers/UIEvents/ToggleShowOfflineUIEvent.h
@@ -0,0 +1,19 @@
+/*
+ * Copyright (c) 2010 Kevin Smith
+ * Licensed under the GNU General Public License v3.
+ * See Documentation/Licenses/GPLv3.txt for more information.
+ */
+
+#pragma once
+
+#include "Swift/Controllers/UIEvents/UIEvent.h"
+
+namespace Swift {
+ class ToggleShowOfflineUIEvent : public UIEvent {
+ public:
+ ToggleShowOfflineUIEvent(bool show) : show_(show) {};
+ bool getShow() {return show_;};
+ private:
+ bool show_;
+ };
+}