2 /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 4 -*- */
5 * Easy-to use interface to the ZYPP dependency resolver
7 * Copyright (C) 2000-2002 Ximian, Inc.
8 * Copyright (C) 2005 SUSE Linux Products GmbH
10 * This program is free software; you can redistribute it and/or
11 * modify it under the terms of the GNU General Public License,
12 * version 2, as published by the Free Software Foundation.
14 * This program is distributed in the hope that it will be useful, but
15 * WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17 * General Public License for more details.
19 * You should have received a copy of the GNU General Public License
20 * along with this program; if not, write to the Free Software
21 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
25 #include "zypp/base/String.h"
26 #include "zypp/base/Gettext.h"
27 #include "zypp/base/Logger.h"
28 #include "zypp/solver/detail/ProblemSolutionIgnore.h"
29 #include "zypp/solver/detail/Helper.h"
33 /////////////////////////////////////////////////////////////////////////
35 { ///////////////////////////////////////////////////////////////////////
36 ///////////////////////////////////////////////////////////////////////
38 { /////////////////////////////////////////////////////////////////////
39 /////////////////////////////////////////////////////////////////////
41 { ///////////////////////////////////////////////////////////////////
43 IMPL_PTR_TYPE(ProblemSolutionIgnore);
45 //---------------------------------------------------------------------------
47 ProblemSolutionIgnore::ProblemSolutionIgnore( ResolverProblem_Ptr parent,
49 : ProblemSolution (parent, "", "")
51 // TranslatorExplanation %s = name of package, patch, selection ...
52 _description = str::form (_("Ignore some dependencies for %s"), item->name().c_str() );
54 // addAction ( new InjectSolutionAction (item, capability, REQUIRES));
57 ProblemSolutionIgnore::ProblemSolutionIgnore( ResolverProblem_Ptr parent,
58 PoolItemList itemList )
59 : ProblemSolution (parent, "", "")
61 _description = _("Generally ignore of some dependecies");
62 for (PoolItemList::const_iterator iter = itemList.begin();
63 iter != itemList.end(); iter++) {
64 // addAction ( new InjectSolutionAction (*iter, capability, REQUIRES));
68 ///////////////////////////////////////////////////////////////////
70 /////////////////////////////////////////////////////////////////////
71 /////////////////////////////////////////////////////////////////////
73 ///////////////////////////////////////////////////////////////////////
74 ///////////////////////////////////////////////////////////////////////
76 /////////////////////////////////////////////////////////////////////////