summaryrefslogtreecommitdiff
path: root/ept/popcon/maint/sourcedir.h
diff options
context:
space:
mode:
authorEnrico Zini <enrico@enricozini.org>2013-10-24 01:36:38 +0200
committerEnrico Zini <enrico@enricozini.org>2013-10-24 01:36:38 +0200
commit866a0cbcda0e33941f0709d8a0d5bb00fdd786b6 (patch)
tree3fa51fef71e687c672253f4e4a6a779d96619e75 /ept/popcon/maint/sourcedir.h
parent584ced4ff06a00caa3837deb6452314346ba5373 (diff)
downloadlibept-866a0cbcda0e33941f0709d8a0d5bb00fdd786b6.tar.gz
Prepared new release
* Dropped Conflict on long-disappeared version of debtags * Ported to debhelper * Ported to libwibble 1.1 * Removed obsolete debian/README
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);