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

PMTypes.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:       PMTypes.h
00014 
00015   Author:     Michael Andres <ma@suse.de>
00016   Maintainer: Michael Andres <ma@suse.de>
00017 
00018   Purpose:
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   // Y2PM
00048 
00049   typedef std::list<PkgArch>  ArchSet;
00050 
00052   // InstSrc / InstSrcManager
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   // Selectable
00069 
00070   enum CandidateOrder {
00071     CO_DEFAULT, CO_AVS, CO_ASV
00072   };
00073 
00075   //
00077 
00078 } // namespace PM
00079 
00080 #endif // PMTypes_h

Generated on Fri Nov 9 14:30:31 2007 for yast2-packagemanager by doxygen 1.3.6