1 /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 4 -*- */
2 /* Resolver_problems.cc
4 * Copyright (C) 2000-2002 Ximian, Inc.
5 * Copyright (C) 2005 SUSE Linux Products GmbH
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License,
9 * version 2, as published by the Free Software Foundation.
11 * This program is distributed in the hope that it will be useful, but
12 * WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * General Public License for more details.
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
22 #ifndef ZYPP_SOLVER_DETAIL_PROBLEMSOLUTIONIGNORE_H
23 #define ZYPP_SOLVER_DETAIL_PROBLEMSOLUTIONIGNORE_H
25 #include "zypp/solver/detail/Types.h"
26 #include "zypp/ProblemSolution.h"
28 /////////////////////////////////////////////////////////////////////////
30 { ///////////////////////////////////////////////////////////////////////
31 ///////////////////////////////////////////////////////////////////////
33 { /////////////////////////////////////////////////////////////////////
34 /////////////////////////////////////////////////////////////////////
36 { ///////////////////////////////////////////////////////////////////
39 * Class representing one possible solution to one problem found during resolving
40 * This problem solution ignores one or more items
43 class ProblemSolutionIgnoreConflicts : public ProblemSolution
50 ProblemSolutionIgnoreConflicts( ResolverProblem_Ptr parent,
52 const Capability & capability,
53 PoolItem_Ref otherItem);
54 ProblemSolutionIgnoreConflicts( ResolverProblem_Ptr parent,
56 const Capability & capability,
57 PoolItemList itemList);
60 class ProblemSolutionIgnoreRequires : public ProblemSolution
67 ProblemSolutionIgnoreRequires( ResolverProblem_Ptr parent,
69 const Capability & capability);
70 ProblemSolutionIgnoreRequires( ResolverProblem_Ptr parent,
71 PoolItemList itemList,
72 const Capability & capability);
75 class ProblemSolutionIgnoreArchitecture : public ProblemSolution
82 ProblemSolutionIgnoreArchitecture( ResolverProblem_Ptr parent,
86 class ProblemSolutionIgnoreVendor : public ProblemSolution
93 ProblemSolutionIgnoreVendor( ResolverProblem_Ptr parent,
97 class ProblemSolutionIgnoreObsoletes : public ProblemSolution
104 ProblemSolutionIgnoreObsoletes( ResolverProblem_Ptr parent,
106 const Capability & capability,
107 PoolItem_Ref otherItem);
110 class ProblemSolutionIgnoreInstalled : public ProblemSolution
117 ProblemSolutionIgnoreInstalled( ResolverProblem_Ptr parent,
119 PoolItem_Ref otherItem);
123 ///////////////////////////////////////////////////////////////////
124 };// namespace detail
125 /////////////////////////////////////////////////////////////////////
126 /////////////////////////////////////////////////////////////////////
127 };// namespace solver
128 ///////////////////////////////////////////////////////////////////////
129 ///////////////////////////////////////////////////////////////////////
131 /////////////////////////////////////////////////////////////////////////
133 #endif // ZYPP_SOLVER_DETAIL_PROBLEMSOLUTIONIGNORE_H