aboutsummaryrefslogtreecommitdiff
path: root/src/Remember.hh
diff options
context:
space:
mode:
authorMark Tiefenbruck <mark@fluxbox.org>2008-05-12 16:00:02 (GMT)
committerMark Tiefenbruck <mark@fluxbox.org>2008-05-12 16:00:02 (GMT)
commit0b2e002d4f281edfef0e6c036cf58d9fdb7ae978 (patch)
tree2bcf0fb10bb2a2fc288681441b64c636fb4bfd13 /src/Remember.hh
parent93b0c5322a7482d83e38657b36e9814f8415e47b (diff)
downloadfluxbox_pavel-0b2e002d4f281edfef0e6c036cf58d9fdb7ae978.zip
fluxbox_pavel-0b2e002d4f281edfef0e6c036cf58d9fdb7ae978.tar.bz2
use AutoReloadHelper in apps file, check for changes automatically
Diffstat (limited to 'src/Remember.hh')
-rw-r--r--src/Remember.hh6
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