42 #ifndef NCPkgPopupDeps_h 43 #define NCPkgPopupDeps_h 49 #include <zypp/Resolver.h> 51 #include <yui/ncurses/NCPopup.h> 52 #include <yui/ncurses/NCLabel.h> 67 class ErrorResultList;
83 enum NCPkgSolverAction
92 typedef std::vector<std::pair<
93 zypp::ResolverProblem_Ptr,
94 zypp::ProblemSolution_Ptr> > ProblemSolutionCorrespondence;
97 ProblemSolutionCorrespondence problems;
99 NCPushButton * cancelButton;
100 NCPushButton * solveButton;
107 NCRichText *solDetails;
115 NCSelectionBox * problemw;
117 virtual bool postAgain( NCPkgSolverAction action );
119 virtual NCursesEvent wHandleInput( wint_t ch );
126 virtual int preferredWidth();
127 virtual int preferredHeight();
129 NCursesEvent showDependencyPopup( NCPkgSolverAction action );
131 bool showDependencies( NCPkgSolverAction action,
bool * ok );
133 bool solve( NCSelectionBox * problemw, NCPkgSolverAction action );
135 bool showSolutions(
int index );
137 void setSolution (
int index);
139 void showSolutionDetails( std::string details );
145 #endif // NCPkgPopupDeps_h Definition: NCPkgPopupDeps.cc:90
Definition: NCPkgPopupDeps.h:64
Definition: NCPackageSelector.h:109