Oops, my fix to subdir.mk didn't work with existing symlinks. Fixed.
[wvapps.git] / wvsync / wvsyncfilelister.h
blobd535145b4a43dd6c62680c0bede9f032fa48a514
1 /*
2 * Worldvisions Weaver Software:
3 * Copyright (C) 1997-2004 Net Integration Technologies, Inc.
5 * WvSyncFileLister provides the WvSyncLister implementation necessary to
6 * traverse a directory tree and synchronize its contents.
7 */
9 #ifndef __WVSYNCFILELISTER_H
10 #define __WVSYNCFILELISTER_H
12 #include "wvsynclister.h"
13 #include "uniconf.h"
14 #include "wvdiriter.h"
15 #include "wvsyncfile.h"
17 class WvSyncFileLister : public WvSyncLister
19 public:
20 WvSyncFileLister(WvSyncProtocol &, WvStringParm _rootdir, UniConf);
21 ~WvSyncFileLister() {}
23 virtual WvSyncObj *next();
24 virtual WvSyncObj *makeobj(WvStringParm name);
26 virtual bool newcwd(WvStringParm dir);
28 private:
29 WvLog log;
30 WvLog err;
31 WvString rootdir;
32 UniConf root;
34 WvDirIter i;
35 WvString curdir;
37 bool chdir_coming;
40 #endif