26#ifndef NCPkgPopupDeps_h
27#define NCPkgPopupDeps_h
33#include <zypp/Resolver.h>
35#include <yui/ncurses/NCPopup.h>
36#include <yui/ncurses/NCLabel.h>
51 class ErrorResultList;
62 enum NCPkgSolverAction
71 typedef std::vector<std::pair<
72 zypp::ResolverProblem_Ptr,
73 zypp::ProblemSolution_Ptr> > ProblemSolutionCorrespondence;
76 ProblemSolutionCorrespondence problems;
78 NCPushButton * cancelButton;
79 NCPushButton * solveButton;
86 NCRichText *solDetails;
94 NCSelectionBox * problemw;
96 virtual bool postAgain( NCPkgSolverAction action );
97 using NCPopup::postAgain;
99 virtual NCursesEvent wHandleInput( wint_t ch );
106 virtual int preferredWidth();
107 virtual int preferredHeight();
109 NCursesEvent showDependencyPopup( NCPkgSolverAction action );
111 bool showDependencies( NCPkgSolverAction action,
bool * ok );
113 bool solve( NCSelectionBox * problemw, NCPkgSolverAction action );
115 bool showSolutions(
int index );
117 void setSolution (
int index);
119 void showSolutionDetails( std::string details );
Definition NCPackageSelector.h:105
Definition NCPkgPopupDeps.cc:74