]> git.saurik.com Git - apt.git/blobdiff - cmdline/apt-extracttemplates.h
avoid using global PendingError to avoid failing too often too soon
[apt.git] / cmdline / apt-extracttemplates.h
index 9cc3f5f258be11451c4492a60ad9ccf1891abd05..91e385e70e475dc2261561815e3bf2486597d1b5 100644 (file)
@@ -20,16 +20,15 @@ class pkgCache;
 class DebFile : public pkgDirStream
 {
        FileFd File;
-       unsigned long Size;
        char *Control;
        unsigned long ControlLen;
        
 public:
-       DebFile(const char *FileName);
+       explicit DebFile(const char *FileName);
        ~DebFile();
-       bool DoItem(Item &I, int &fd);
+       bool DoItem(Item &I, int &fd) APT_OVERRIDE;
        bool Process(pkgDirStream::Item &I, const unsigned char *data, 
-               unsigned long size, unsigned long pos);
+               unsigned long long size, unsigned long long pos) APT_OVERRIDE;
 
        bool Go();
        bool ParseInfo();