summaryrefslogtreecommitdiff
path: root/ept/popcon/maint/sourcedir.h
diff options
context:
space:
mode:
Diffstat (limited to 'ept/popcon/maint/sourcedir.h')
-rw-r--r--ept/popcon/maint/sourcedir.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/ept/popcon/maint/sourcedir.h b/ept/popcon/maint/sourcedir.h
index 9217fd1..eccb6f1 100644
--- a/ept/popcon/maint/sourcedir.h
+++ b/ept/popcon/maint/sourcedir.h
@@ -25,6 +25,7 @@
*/
#include <ept/popcon/popcon.h>
+#include <wibble/sys/fs.h>
#include <string>
#include <map>
@@ -34,13 +35,11 @@ namespace popcon {
/**
* Access a directory containing Debtags data files
*/
-class SourceDir
+class SourceDir : public wibble::sys::fs::Directory
{
protected:
enum FileType { SKIP, RAW, RAWGZ };
- std::string path;
-
// Check if a file name is a tag file, a vocabulary file or a file to skip.
// Please notice that it works on file names, not paths.
FileType fileType(const std::string& name);