Changed ie to eg
[ntk/apt.git] / apt-pkg / deb / debrecords.h
index 0bd8da9..b91d070 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.5 1999/03/29 19:28:52 jgg Exp $
 /* ######################################################################
    
    Debian Package Records - Parser for debian package records
@@ -26,12 +26,23 @@ class debRecordParser : public pkgRecords::Parser
 {
    pkgTagFile Tags;
    pkgTagSection Section;
+
+   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);
+   debRecordParser(FileFd &File,pkgCache &Cache);
 };