aboutsummaryrefslogtreecommitdiff
path: root/src/AttentionNoticeHandler.hh
diff options
context:
space:
mode:
authormarkt <markt>2007-10-13 21:51:37 (GMT)
committermarkt <markt>2007-10-13 21:51:37 (GMT)
commita59428d67a95a9df16554962f0a6257d6378328a (patch)
treef856ed9300c34f7a17d499f22d895610cfbc08e5 /src/AttentionNoticeHandler.hh
parent41b5c6dadb1f474675660cef18b812d4c2338ed2 (diff)
downloadfluxbox-a59428d67a95a9df16554962f0a6257d6378328a.zip
fluxbox-a59428d67a95a9df16554962f0a6257d6378328a.tar.bz2
merged changes from pre-devel
Diffstat (limited to 'src/AttentionNoticeHandler.hh')
-rw-r--r--src/AttentionNoticeHandler.hh8
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
30class WinClient; 30class Focusable;
31 31
32namespace FbTk { 32namespace FbTk {
33class Timer; 33class Timer;
@@ -41,14 +41,14 @@ class AttentionNoticeHandler: public FbTk::Observer {
41public: 41public:
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
53private: 53private:
54 NoticeMap m_attentions; 54 NoticeMap m_attentions;