00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011 #ifndef __UNIWATCH_H
00012 #define __UNIWATCH_H
00013
00014 #include "uniconf.h"
00015
00016 class UniWatch
00017 {
00018 UniConf cfg;
00019 UniConfCallback cb;
00020 bool recurse;
00021
00022 public:
00023
00024 UniWatch(const UniConf &_cfg, const UniConfCallback &_cb,
00025 bool _recurse = true);
00026
00027
00028 UniWatch(const UniConf &_cfg, bool *b, bool _recurse = true);
00029
00030 ~UniWatch();
00031
00032 void update();
00033 };
00034
00035 DeclareWvList(UniWatch);
00036
00037
00038 #endif // __UNIWATCH_H