repo.or.cz
/
wvapps.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
HEAD: remove ridiculous dependency of wvmapi (actually wvtnef) on evolution
[wvapps.git]
/
funfs
/
cachefscbmgr.h
blob
8e16e23f6689a1b292106a5f2fe42c4ba9dc9cfd
1
#ifndef __CACHEFSCBMGR_H
2
#define __CACHEFSCBMGR_H
3
4
#include
"wvfs.h"
5
6
#include <wvstring.h>
7
8
class
CacheFS
;
9
10
class
CacheFSCbMgr
11
{
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
;
24
};
25
26
#endif