diff options
author | Charles Kerr <charles.kerr@canonical.com> | 2014-10-09 13:44:12 +0000 |
---|---|---|
committer | CI bot <ps-jenkins@lists.canonical.com> | 2014-10-09 13:44:12 +0000 |
commit | c8edcbeb3add928e37705ec51c8739d953f0d540 (patch) | |
tree | fd2bff9b14767a059828dc8460f14b94a98c58cd /tests/gtestdbus-fixture.h | |
parent | 7eaeb6486f681391b5d5b9a3d15ceeedc4313244 (diff) | |
parent | 94ba0a4147052dec53e2ba818ec3d03141e8f26b (diff) | |
download | ayatana-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 'tests/gtestdbus-fixture.h')
-rw-r--r-- | tests/gtestdbus-fixture.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/tests/gtestdbus-fixture.h b/tests/gtestdbus-fixture.h index 541050e..c592033 100644 --- a/tests/gtestdbus-fixture.h +++ b/tests/gtestdbus-fixture.h @@ -17,6 +17,9 @@ * Charles Kerr <charles.kerr@canonical.com> */ +#ifndef INDICATOR_TESTS_GTESTDBUS_FIXTURE_H +#define INDICATOR_TESTS_GTESTDBUS_FIXTURE_H + #include "glib-fixture.h" /*** @@ -27,9 +30,10 @@ class GTestDBusFixture: public GlibFixture { public: - GTestDBusFixture() {} + GTestDBusFixture() =default; + virtual ~GTestDBusFixture() =default; - GTestDBusFixture(const std::vector<std::string>& service_dirs_in): service_dirs(service_dirs_in) {} + explicit GTestDBusFixture(const std::vector<std::string>& service_dirs_in): service_dirs(service_dirs_in) {} private: @@ -100,3 +104,5 @@ class GTestDBusFixture: public GlibFixture super::TearDown(); } }; + +#endif /* INDICATOR_TESTS_GTESTDBUS_FIXTURE_H */ |