summaryrefslogtreecommitdiff
path: root/ftparchive/sources.h
diff options
context:
space:
mode:
Diffstat (limited to 'ftparchive/sources.h')
-rw-r--r--ftparchive/sources.h32
1 files changed, 0 insertions, 32 deletions
diff --git a/ftparchive/sources.h b/ftparchive/sources.h
deleted file mode 100644
index 91e0b1376..000000000
--- a/ftparchive/sources.h
+++ /dev/null
@@ -1,32 +0,0 @@
-#ifndef SOURCES_H
-#define SOURCES_H
-
-#include <apt-pkg/tagfile.h>
-
-class DscExtract
-{
- public:
- //FIXME: do we really need to enforce a maximum size of the dsc file?
- static const int maxSize = 128*1024;
-
- char *Data;
- pkgTagSection Section;
- unsigned long Length;
- bool IsClearSigned;
-
- bool TakeDsc(const void *Data, unsigned long Size);
- bool Read(std::string FileName);
-
- DscExtract() : Data(0), Length(0) {
- Data = new char[maxSize];
- };
- ~DscExtract() {
- if(Data != NULL) {
- delete [] Data;
- Data = NULL;
- }
- };
-};
-
-
-#endif