42 #ifndef NCPkgFilterRepo_h 43 #define NCPkgFilterRepo_h 51 #include "NCPadWidget.h" 53 #include "NCPushButton.h" 55 #include "NCTablePad.h" 88 ZyppRepo getRepo()
const {
return repo; }
118 virtual void addLine( ZyppRepo r,
const std::vector<std::string> & cols );
140 std::string showDescription (ZyppRepo r);
142 virtual NCursesEvent wHandleInput ( wint_t ch );
160 bool showRepoPackages( );
ZyppProduct findProductForRepo(ZyppRepo repo)
Find single zypp::Product for this repository (null product if multiple products found) ...
ZyppRepo getRepo(int index)
Get repository reference from selected line's tag.
NCPkgRepoTag * getTag(const int &index)
Get tag of repository table line on current index, ( contains repository reference) ...
NCPkgRepoTag(ZyppRepo repo)
A helper class to hold a reference to zypp::Repository for each repository table line (actually it's ...
bool fillRepoList()
Add items to the repository list (assoc.
virtual void addLine(ZyppRepo r, const std::vector< std::string > &cols)
Add one line (with tag) to the repositories table.