diff options
author | Henrik Kinnunen <fluxgen@fluxbox.org> | 2008-05-13 15:07:30 (GMT) |
---|---|---|
committer | Henrik Kinnunen <fluxgen@fluxbox.org> | 2008-05-13 15:07:30 (GMT) |
commit | 7f45bae4629f345906e96c1fcb3a3d1e49c36382 (patch) | |
tree | b09708632d29ac4471c57446eb726e5401c8570f /src/Remember.hh | |
parent | 5ecebae4770cbe7e4feea46d2c074a818f1c9662 (diff) | |
parent | d7aa526d9275f7c94f0b1ce27464eaf3dae0d78d (diff) | |
download | fluxbox-7f45bae4629f345906e96c1fcb3a3d1e49c36382.zip fluxbox-7f45bae4629f345906e96c1fcb3a3d1e49c36382.tar.bz2 |
Merge branch 'master' of fluxbox@git.fluxbox.org:fluxbox
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 |