diff options
Diffstat (limited to 'src/Remember.hh')
-rw-r--r-- | src/Remember.hh | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/Remember.hh b/src/Remember.hh index 4ab8f2a..107f1d2 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,8 @@ 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 reload(); | ||
227 | void save(); | 229 | void save(); |
228 | 230 | ||
229 | bool isRemembered(WinClient &win, Attribute attrib); | 231 | bool isRemembered(WinClient &win, Attribute attrib); |
@@ -277,7 +279,7 @@ private: | |||
277 | Startups m_startups; | 279 | Startups m_startups; |
278 | static Remember *s_instance; | 280 | static Remember *s_instance; |
279 | 281 | ||
280 | time_t m_last_timestamp; | 282 | FbTk::AutoReloadHelper m_reloader; |
281 | }; | 283 | }; |
282 | 284 | ||
283 | #endif // REMEMBER_HH | 285 | #endif // REMEMBER_HH |