|
libyui-ncurses-pkg
2.50.10
|
24 #ifndef NCPkgFilterService_h
25 #define NCPkgFilterService_h
32 #include <zypp/RepoManager.h>
34 #include "NCPadWidget.h"
36 #include "NCPushButton.h"
38 #include "NCTablePad.h"
46 typedef std::string ZyppService;
72 ZyppService getService()
const {
return service; }
84 zypp::shared_ptr<zypp::RepoManager> repo_manager;
110 virtual void addLine( ZyppService r,
const std::vector<std::string> & cols );
137 virtual NCursesEvent wHandleInput ( wint_t ch );
virtual void addLine(ZyppService r, const std::vector< std::string > &cols)
Add one line (with tag) to the services table.
static bool any_service()
ZyppService getService(int index)
Get service reference from selected line's tag.
void showServicePackages()
Make the Package List show the packages for the currently selected service.
NCPkgServiceTag(ZyppService service)
A helper class to hold a reference to zypp::Service for each service table line (actually it's a dumm...
bool fillServiceList()
Add items to the service list (assoc.
NCPkgServiceTag * getTag(int index)
Get tag of service table line on current index, (contains service reference)
std::string getDescription(ZyppService r)