]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/deb/debrecords.h
Clean support
[apt.git] / apt-pkg / deb / debrecords.h
index 0bd8da921f3bbabcce265878253074580fb6cfc7..68fe0f6a665ddd1480fde97c11c0804b083eeff0 100644 (file)
@@ -1,6 +1,6 @@
 // -*- mode: cpp; mode: fold -*-
 // Description                                                         /*{{{*/
-// $Id: debrecords.h,v 1.1 1998/08/09 00:51:36 jgg Exp $
+// $Id: debrecords.h,v 1.3 1998/11/13 04:23:38 jgg Exp $
 /* ######################################################################
    
    Debian Package Records - Parser for debian package records
@@ -26,10 +26,23 @@ class debRecordParser : public pkgRecords::Parser
 {
    pkgTagFile Tags;
    pkgTagSection Section;
+
+   string FindTag(const char *Tag);
+
+   protected:
+   
+   virtual bool Jump(pkgCache::VerFileIterator const &Ver);
    
    public:
+
+   // These refer to the archive file for the Version
+   virtual string FileName();
+   virtual string MD5Hash();
    
-   virtual bool Jump(pkgCache::VerFileIterator &Ver);
+   // These are some general stats about the package
+   virtual string Maintainer();
+   virtual string ShortDesc();
+   virtual string LongDesc();
    
    debRecordParser(FileFd &File);
 };