libzypp
10.5.0
|
00001 /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 4 -*- */ 00002 /* Types.h 00003 * 00004 * Copyright (C) 2005 SUSE Linux Products GmbH 00005 * 00006 * This program is free software; you can redistribute it and/or 00007 * modify it under the terms of the GNU General Public License, 00008 * version 2, as published by the Free Software Foundation. 00009 * 00010 * This program is distributed in the hope that it will be useful, but 00011 * WITHOUT ANY WARRANTY; without even the implied warranty of 00012 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00013 * General Public License for more details. 00014 * 00015 * You should have received a copy of the GNU General Public License 00016 * along with this program; if not, write to the Free Software 00017 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 00018 * 02111-1307, USA. 00019 */ 00020 00021 #ifndef ZYPP_PROBLEMTYPES_H 00022 #define ZYPP_PROBLEMTYPES_H 00023 00024 #include <iosfwd> 00025 #include <list> 00026 #include <set> 00027 #include <map> 00028 #include <string> 00029 00030 #include "zypp/base/ReferenceCounted.h" 00031 #include "zypp/base/NonCopyable.h" 00032 #include "zypp/base/PtrTypes.h" 00033 #include "zypp/base/Functional.h" 00034 00036 namespace zypp 00037 { 00038 00039 DEFINE_PTR_TYPE(Resolver); 00040 00041 DEFINE_PTR_TYPE(ProblemSolution); 00042 typedef std::list<ProblemSolution_Ptr> ProblemSolutionList; 00043 typedef std::list<ProblemSolution_constPtr> CProblemSolutionList; 00044 00045 DEFINE_PTR_TYPE(ResolverProblem); 00046 typedef std::list<ResolverProblem_Ptr> ResolverProblemList; 00047 typedef std::list<ResolverProblem_constPtr> CResolverProblemList; 00048 00050 };// namespace zypp 00052 00053 #endif // ZYPP_SOLVER_DETAIL_TYPES_H