diff options
author | Mathias Gumz <akira at fluxbox dot org> | 2008-08-14 05:52:39 (GMT) |
---|---|---|
committer | Mathias Gumz <akira at fluxbox dot org> | 2008-08-14 05:52:39 (GMT) |
commit | e169d33552c8e7070aa6e13da0187f2013b4cfc3 (patch) | |
tree | ae9e92c7e885791c7f47645184070cbcd441ab94 /src/Remember.hh | |
parent | c82e7c0080f8a5c14dcf95ec92dc42f59ea9dd8b (diff) | |
parent | 91ca3bc5c8e2b892a9a81b18246f72aba7deebfd (diff) | |
download | fluxbox-e169d33552c8e7070aa6e13da0187f2013b4cfc3.zip fluxbox-e169d33552c8e7070aa6e13da0187f2013b4cfc3.tar.bz2 |
Merge branch 'master' into to_push
Diffstat (limited to 'src/Remember.hh')
-rw-r--r-- | src/Remember.hh | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/Remember.hh b/src/Remember.hh index 4ab8f2a..1f3ed7f 100644 --- a/src/Remember.hh +++ b/src/Remember.hh | |||
@@ -29,6 +29,7 @@ | |||
29 | #include "AtomHandler.hh" | 29 | #include "AtomHandler.hh" |
30 | #include "ClientPattern.hh" | 30 | #include "ClientPattern.hh" |
31 | 31 | ||
32 | #include "FbTk/AutoReloadHelper.hh" | ||
32 | #include "FbTk/RefCount.hh" | 33 | #include "FbTk/RefCount.hh" |
33 | 34 | ||
34 | #include <fstream> | 35 | #include <fstream> |
@@ -223,7 +224,9 @@ public: | |||
223 | Application* add(WinClient &winclient); | 224 | Application* add(WinClient &winclient); |
224 | FluxboxWindow* findGroup(Application *, BScreen &screen); | 225 | FluxboxWindow* findGroup(Application *, BScreen &screen); |
225 | 226 | ||
226 | void reconfigure(); // was load | 227 | void reconfigure(); |
228 | void checkReload(); | ||
229 | void reload(); | ||
227 | void save(); | 230 | void save(); |
228 | 231 | ||
229 | bool isRemembered(WinClient &win, Attribute attrib); | 232 | bool isRemembered(WinClient &win, Attribute attrib); |
@@ -277,7 +280,7 @@ private: | |||
277 | Startups m_startups; | 280 | Startups m_startups; |
278 | static Remember *s_instance; | 281 | static Remember *s_instance; |
279 | 282 | ||
280 | time_t m_last_timestamp; | 283 | FbTk::AutoReloadHelper m_reloader; |
281 | }; | 284 | }; |
282 | 285 | ||
283 | #endif // REMEMBER_HH | 286 | #endif // REMEMBER_HH |