]> git.saurik.com Git - apt.git/blobdiff - apt-private/private-output.h
fix test/integration/test-apt-helper
[apt.git] / apt-private / private-output.h
index 9283e39aba3fc701d028d42b4435d912b8b8da02..81643f90a6b6f899990d5b44e22906902fc4a936 100644 (file)
@@ -1,17 +1,14 @@
 #ifndef APT_PRIVATE_OUTPUT_H
 #define APT_PRIVATE_OUTPUT_H
 
+#include <apt-pkg/pkgcache.h>
 
-#include <iostream>
 #include <fstream>
 #include <string>
 
-#include "private-cachefile.h"
-
 // forward declaration
 class pkgCacheFile;
 class CacheFile;
-class pkgCache;
 class pkgDepCache;
 class pkgRecords;
 
@@ -24,10 +21,11 @@ extern unsigned int ScreenWidth;
 
 bool InitOutput();
 void ListSingleVersion(pkgCacheFile &CacheFile, pkgRecords &records, 
-                       pkgCache::VerIterator V, std::ostream &out);
-
+                       pkgCache::VerIterator V, std::ostream &out,
+                       bool include_summary=true);
 
 
+// helper to describe global state
 bool ShowList(std::ostream &out, std::string Title, std::string List,
               std::string VersionsList);
 void ShowBroken(std::ostream &out,CacheFile &Cache,bool Now);