diff options
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 |