00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021 #ifndef PMTypes_h
00022 #define PMTypes_h
00023
00024 #include <set>
00025 #include <map>
00026 #include <list>
00027 #include <vector>
00028
00029 #include <y2pm/PMError.h>
00030 #include <y2pm/PkgArch.h>
00031 #include <y2pm/PMLangCode.h>
00032
00033
00034 #include <y2pm/InstSrcPtr.h>
00035
00036 class Y2PM;;
00037 class InstTarget;
00038 class InstSrcManager;
00039 class PMPackageManager;
00040 class PMYouPatchManager;
00041 class PMSelectionManager;
00042
00043 namespace PM {
00044
00046
00048
00049 typedef std::list<PkgArch> ArchSet;
00050
00052
00054
00055 typedef unsigned NumericISrcID;
00056
00057 typedef constInstSrcPtr ISrcId;
00058 typedef std::list<ISrcId> ISrcIdList;
00059
00060 typedef std::vector<NumericISrcID> InstOrder;
00061
00062 typedef std::pair<NumericISrcID, bool> SrcState;
00063 typedef std::vector<SrcState> SrcStateVector;
00064
00065
00067
00069
00070 enum CandidateOrder {
00071 CO_DEFAULT, CO_AVS, CO_ASV
00072 };
00073
00075
00077
00078 }
00079
00080 #endif // PMTypes_h