HEAD: remove ridiculous dependency of wvmapi (actually wvtnef) on evolution
[wvapps.git] / funfs / cachefscbmgr.h
blob8e16e23f6689a1b292106a5f2fe42c4ba9dc9cfd
1 #ifndef __CACHEFSCBMGR_H
2 #define __CACHEFSCBMGR_H
4 #include "wvfs.h"
6 #include <wvstring.h>
8 class CacheFS;
10 class CacheFSCbMgr
12 public:
13 CacheFSCbMgr(CacheFS *_cachefs, WvStringParm _basepath,
14 WvFuseDirCb &_forward);
15 ~CacheFSCbMgr();
16 void callback_func(fuse_dirent *fde);
17 WvFuseDirCb &getcb() { return callback; }
18 protected:
19 bool all_good;
20 CacheFS *cachefs;
21 WvString basepath;
22 WvFuseDirCb &forward;
23 WvFuseDirCb callback;
26 #endif