aboutsummaryrefslogtreecommitdiff
path: root/include/datetime/snap.h
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2014-07-30 10:54:56 +0000
committerCI bot <ps-jenkins@lists.canonical.com>2014-07-30 10:54:56 +0000
commita2f643c295b666f9913a01a43592ce61fbb023ee (patch)
tree5399ee6853f1fba884c3f303be473d58cf6ae7a9 /include/datetime/snap.h
parent18c9f881e5eb01b157048d083515e59ebdd08afa (diff)
parenta7e8b219e8a9301249301cff6fbe989670d4e312 (diff)
downloadayatana-indicator-datetime-a2f643c295b666f9913a01a43592ce61fbb023ee.tar.gz
ayatana-indicator-datetime-a2f643c295b666f9913a01a43592ce61fbb023ee.tar.bz2
ayatana-indicator-datetime-a2f643c295b666f9913a01a43592ce61fbb023ee.zip
Activate the phone's screen when an alarm is displayed. Fixes: 1340329
Approved by: Jussi Pakkanen, PS Jenkins bot
Diffstat (limited to 'include/datetime/snap.h')
-rw-r--r--include/datetime/snap.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/include/datetime/snap.h b/include/datetime/snap.h
index 9b45b3f..1c90496 100644
--- a/include/datetime/snap.h
+++ b/include/datetime/snap.h
@@ -24,8 +24,9 @@
#include <datetime/clock.h>
#include <datetime/settings.h>
-#include <memory>
#include <functional>
+#include <memory>
+#include <set>
namespace unity {
namespace indicator {
@@ -49,6 +50,10 @@ public:
private:
const std::shared_ptr<Clock> m_clock;
const std::shared_ptr<const Settings> m_settings;
+
+ class Popup;
+ friend class Popup;
+ std::set<Popup*> m_pending;
};
} // namespace datetime