Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

NCPopupSelDeps.h

Go to the documentation of this file.
00001 /*---------------------------------------------------------------------\
00002 |                                                                      |
00003 |                      __   __    ____ _____ ____                      |
00004 |                      \ \ / /_ _/ ___|_   _|___ \                     |
00005 |                       \ V / _` \___ \ | |   __) |                    |
00006 |                        | | (_| |___) || |  / __/                     |
00007 |                        |_|\__,_|____/ |_| |_____|                    |
00008 |                                                                      |
00009 |                               core system                            |
00010 |                                                        (C) SuSE GmbH |
00011 \----------------------------------------------------------------------/
00012 
00013    File:       NCPopupSelDeps.h
00014 
00015    Author:     Gabriele Strattner <gs@suse.de>
00016    Maintainer: Michael Andres <ma@suse.de>
00017 
00018 /-*/
00019 #ifndef NCPopupSelDeps_h
00020 #define NCPopupSelDeps_h
00021 
00022 #include <iosfwd>
00023 
00024 #include <vector>
00025 #include <string>
00026 
00027 #include "NCPopupDeps.h"
00028 #include "NCLabel.h"
00029 #include "y2pm/PkgDep.h"
00030 
00031 #include <Y2PM.h>
00032 #include <y2pm/RpmDb.h>
00033 #include <y2pm/PMManager.h>
00034 
00035 
00037 //
00038 //      CLASS NAME : NCPopupSelDeps
00039 //
00040 //      DESCRIPTION :
00041 //
00042 class NCPopupSelDeps : public NCPopupDeps {
00043 
00044 private:
00045 
00046     NCPopupSelDeps & operator=( const NCPopupSelDeps & );
00047     NCPopupSelDeps            ( const NCPopupSelDeps & );
00048     
00049     // method to solve the dependencies
00050     bool solveInstall( PkgDep::ResultList & goodList, PkgDep::ErrorResultList & badList );
00051 
00052     string getLabelRequire();
00053     string getLabelRequBy1();
00054     string getLabelRequBy2();    
00055     string getLabelConflict();
00056     string getLabelContinueRequ();
00057     
00058     string getHeadline();    
00059 
00060 protected:
00061 
00062     void setDepsTableType();
00063     
00064 public:
00065        
00066     NCPopupSelDeps( const wpos at, PackageSelector * pkger );
00067     virtual ~NCPopupSelDeps();
00068  
00069 };
00070 
00072 
00073 
00074 #endif // NCPopupPkgDeps_h

Generated on Wed Sep 14 10:52:54 2005 for yast2-ncurses by  doxygen 1.4.4