42 #ifndef NCPkgPopupDeps_h 43 #define NCPkgPopupDeps_h 52 #include <zypp/Resolver.h> 58 class NCMultiSelectionBox;
65 class ErrorResultList;
81 enum NCPkgSolverAction {
89 typedef std::vector<std::pair<
90 zypp::ResolverProblem_Ptr,
91 zypp::ProblemSolution_Ptr> > ProblemSolutionCorrespondence;
94 ProblemSolutionCorrespondence problems;
96 NCPushButton * cancelButton;
97 NCPushButton * solveButton;
104 NCRichText *solDetails;
112 NCSelectionBox * problemw;
114 virtual bool postAgain( NCPkgSolverAction action );
116 virtual NCursesEvent wHandleInput( wint_t ch );
123 virtual int preferredWidth();
124 virtual int preferredHeight();
126 NCursesEvent showDependencyPopup( NCPkgSolverAction action );
128 bool showDependencies( NCPkgSolverAction action,
bool * ok );
130 bool solve( NCSelectionBox * problemw, NCPkgSolverAction action );
132 bool showSolutions(
int index );
134 void setSolution (
int index);
136 void showSolutionDetails( std::string details );
142 #endif // NCPkgPopupDeps_h