]>
git.saurik.com Git - apt.git/blob - apt-private/private-output.h
1 #ifndef APT_PRIVATE_OUTPUT_H
2 #define APT_PRIVATE_OUTPUT_H
9 #include "private-cachefile.h"
11 // forward declaration
19 extern std::ostream c0out
;
20 extern std::ostream c1out
;
21 extern std::ostream c2out
;
22 extern std::ofstream devnull
;
23 extern unsigned int ScreenWidth
;
26 void ListSingleVersion(pkgCacheFile
&CacheFile
, pkgRecords
&records
,
27 pkgCache::VerIterator V
, std::ostream
&out
,
28 bool include_summary
=true);
32 bool ShowList(std::ostream
&out
, std::string Title
, std::string List
,
33 std::string VersionsList
);
34 void ShowBroken(std::ostream
&out
,CacheFile
&Cache
,bool Now
);
35 void ShowNew(std::ostream
&out
,CacheFile
&Cache
);
36 void ShowDel(std::ostream
&out
,CacheFile
&Cache
);
37 void ShowKept(std::ostream
&out
,CacheFile
&Cache
);
38 void ShowUpgraded(std::ostream
&out
,CacheFile
&Cache
);
39 bool ShowDowngraded(std::ostream
&out
,CacheFile
&Cache
);
40 bool ShowHold(std::ostream
&out
,CacheFile
&Cache
);
42 bool ShowEssential(std::ostream
&out
,CacheFile
&Cache
);
44 void Stats(std::ostream
&out
, pkgDepCache
&Dep
);
47 bool YnPrompt(bool Default
=true);
48 bool AnalPrompt(const char *Text
);