00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef _PkgDep_private_h
00021 #define _PkgDep_private_h
00022
00023 #include <y2pm/PkgDep.h>
00024 #include <y2pm/IgnoredRelations.h>
00025
00026 #define Y2PMHIDDEN __attribute__ ((visibility("hidden")))
00027 #define Y2PMINTERNAL __attribute__ ((visibility("internal")))
00028
00029 class PkgDep::P
00030 {
00031 private:
00032 PkgDep& _dep;
00033
00034 public:
00035 IgnoredRequirements ignoredRequirements;
00036
00037 bool pkg_consistent( PMSolvablePtr pkg, PkgDep::ErrorResult *err ) Y2PMHIDDEN;
00038 bool is_obsoleted_by_candidate(PkgSet& candidates, PMSolvablePtr instd, ErrorResult* res = NULL) Y2PMHIDDEN;
00039
00042 void inconsistent_to_candidates() Y2PMHIDDEN;
00043
00044
00045 AltInfoList alts_to_check;
00046 std::set<PkgName> alts_handled;
00047 alternatives_mode alt_mode;
00048
00049 void handle_alternative( const AltInfo& alt_info ) Y2PMHIDDEN;
00050
00051 P(PkgDep& dep) : _dep(dep)
00052 {
00053 }
00054 };
00055
00056 #endif