42 #ifndef NCPkgPopupDeps_h 43 #define NCPkgPopupDeps_h 52 #include <zypp/Resolver.h> 58 class NCMultiSelectionBox;
66 class ErrorResultList;
82 enum NCPkgSolverAction
91 typedef std::vector<std::pair<
92 zypp::ResolverProblem_Ptr,
93 zypp::ProblemSolution_Ptr> > ProblemSolutionCorrespondence;
96 ProblemSolutionCorrespondence problems;
98 NCPushButton * cancelButton;
99 NCPushButton * solveButton;
106 NCRichText *solDetails;
114 NCSelectionBox * problemw;
116 virtual bool postAgain( NCPkgSolverAction action );
118 virtual NCursesEvent wHandleInput( wint_t ch );
125 virtual int preferredWidth();
126 virtual int preferredHeight();
128 NCursesEvent showDependencyPopup( NCPkgSolverAction action );
130 bool showDependencies( NCPkgSolverAction action,
bool * ok );
132 bool solve( NCSelectionBox * problemw, NCPkgSolverAction action );
134 bool showSolutions(
int index );
136 void setSolution (
int index);
138 void showSolutionDetails( std::string details );
144 #endif // NCPkgPopupDeps_h