aboutsummaryrefslogtreecommitdiff
path: root/src/exporter.h
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2014-10-09 13:44:12 +0000
committerCI bot <ps-jenkins@lists.canonical.com>2014-10-09 13:44:12 +0000
commitc8edcbeb3add928e37705ec51c8739d953f0d540 (patch)
treefd2bff9b14767a059828dc8460f14b94a98c58cd /src/exporter.h
parent7eaeb6486f681391b5d5b9a3d15ceeedc4313244 (diff)
parent94ba0a4147052dec53e2ba818ec3d03141e8f26b (diff)
downloadayatana-indicator-display-c8edcbeb3add928e37705ec51c8739d953f0d540.tar.gz
ayatana-indicator-display-c8edcbeb3add928e37705ec51c8739d953f0d540.tar.bz2
ayatana-indicator-display-c8edcbeb3add928e37705ec51c8739d953f0d540.zip
Use com.ubuntu.touch.system's "rotation-lock" boolean for the rotation lock indicator. Fixes: 1378078
Approved by: Ted Gould, PS Jenkins bot
Diffstat (limited to 'src/exporter.h')
-rw-r--r--src/exporter.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/exporter.h b/src/exporter.h
index 6367f3a..8867d32 100644
--- a/src/exporter.h
+++ b/src/exporter.h
@@ -17,6 +17,9 @@
* Charles Kerr <charles.kerr@canonical.com>
*/
+#ifndef INDICATOR_DISPLAY_EXPORTER_H
+#define INDICATOR_DISPLAY_EXPORTER_H
+
#include <src/indicator.h>
#include <core/signal.h>
@@ -26,7 +29,7 @@
class Exporter
{
public:
- Exporter(const std::shared_ptr<Indicator>& indicator);
+ explicit Exporter(const std::shared_ptr<Indicator>& indicator);
~Exporter();
core::Signal<std::string>& name_lost();
@@ -38,3 +41,4 @@ private:
Exporter& operator=(const Exporter&) =delete;
};
+#endif /* INDICATOR_DISPLAY_EXPORTER_H */