diff options
Diffstat (limited to 'src/AttentionNoticeHandler.hh')
-rw-r--r-- | src/AttentionNoticeHandler.hh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/AttentionNoticeHandler.hh b/src/AttentionNoticeHandler.hh index ed38d20..ed2245d 100644 --- a/src/AttentionNoticeHandler.hh +++ b/src/AttentionNoticeHandler.hh | |||
@@ -27,7 +27,7 @@ | |||
27 | 27 | ||
28 | #include <map> | 28 | #include <map> |
29 | 29 | ||
30 | class WinClient; | 30 | class Focusable; |
31 | 31 | ||
32 | namespace FbTk { | 32 | namespace FbTk { |
33 | class Timer; | 33 | class Timer; |
@@ -41,14 +41,14 @@ class AttentionNoticeHandler: public FbTk::Observer { | |||
41 | public: | 41 | public: |
42 | ~AttentionNoticeHandler(); | 42 | ~AttentionNoticeHandler(); |
43 | 43 | ||
44 | typedef std::map<WinClient*, FbTk::Timer*> NoticeMap; | 44 | typedef std::map<Focusable*, FbTk::Timer*> NoticeMap; |
45 | /// Adds a client that requires attention, | 45 | /// Adds a client that requires attention, |
46 | /// will fail if the client is already active | 46 | /// will fail if the client is already active |
47 | void addAttention(WinClient &client); | 47 | void addAttention(Focusable &client); |
48 | /// removes the client from the attention map | 48 | /// removes the client from the attention map |
49 | void update(FbTk::Subject *subj); | 49 | void update(FbTk::Subject *subj); |
50 | 50 | ||
51 | bool isDemandingAttention(WinClient &client); | 51 | bool isDemandingAttention(Focusable &client); |
52 | 52 | ||
53 | private: | 53 | private: |
54 | NoticeMap m_attentions; | 54 | NoticeMap m_attentions; |