Main Page | Namespace List | Class Hierarchy | Class List | Directories | 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 class PMLanguageManager;
00043 
00044 namespace PM {
00045 
00047   // Y2PM
00049 
00050   typedef std::list<PkgArch>  ArchSet;
00051 
00053   // InstSrc / InstSrcManager
00055 
00056   typedef unsigned          NumericISrcID;
00057 
00058   typedef constInstSrcPtr   ISrcId;
00059   typedef std::list<ISrcId> ISrcIdList;
00060 
00061   typedef std::vector<NumericISrcID> InstOrder;
00062 
00063   typedef std::pair<NumericISrcID, bool> SrcState;
00064   typedef std::vector<SrcState>          SrcStateVector;
00065 
00066 
00068   // Selectable
00070 
00071   enum CandidateOrder {
00072     CO_DEFAULT, CO_AVS, CO_ASV
00073   };
00074 
00076   //
00078 
00079 } // namespace PM
00080 
00081 #endif // PMTypes_h

Generated on Mon Mar 21 22:08:01 2005 for yast2-packagemanager by  doxygen 1.4.1