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 );
NCPkgServiceTag(ZyppService service)
A helper class to hold a reference to zypp::Service for each service table line (actually it's a dumm...
NCPkgServiceTag * getTag(int index)
Get tag of service table line on current index, (contains service reference)
virtual void addLine(ZyppService r, const std::vector< std::string > &cols)
Add one line (with tag) to the services table.
std::string getDescription(ZyppService r)
static bool any_service()
bool fillServiceList()
Add items to the service list (assoc.
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.