libzypp
12.16.5
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
ProblemSolutionCombi.h
Go to the documentation of this file.
1
/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 4 -*- */
2
/* Resolver_problems.cc
3
*
4
* Copyright (C) 2000-2002 Ximian, Inc.
5
* Copyright (C) 2005 SUSE Linux Products GmbH
6
*
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.
10
*
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.
15
*
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
19
* 02111-1307, USA.
20
*/
21
22
#ifndef ZYPP_SOLVER_DETAIL_PROBLEMSOLUTIONINSTALL_H
23
#define ZYPP_SOLVER_DETAIL_PROBLEMSOLUTIONINSTALL_H
24
25
#include <string>
26
#include "
zypp/ProblemSolution.h
"
27
#include "
zypp/solver/detail/Types.h
"
28
#include "
zypp/solver/detail/SolverQueueItem.h
"
29
31
namespace
zypp
32
{
33
34
namespace
solver
35
{
36
37
namespace
detail
38
{
39
46
class
ProblemSolutionCombi
:
public
ProblemSolution
47
{
48
protected
:
49
int
actNumber
;
// number of actions
50
public
:
51
55
ProblemSolutionCombi
( ResolverProblem_Ptr parent );
59
void
addSingleAction
(
PoolItem
item,
const
TransactionKind
action);
60
64
void
addSingleAction
(
Capability
capability,
const
TransactionKind
action);
65
69
void
addSingleAction
( SolverQueueItem_Ptr item,
const
TransactionKind
action);
70
74
int
actionCount
() {
return
actNumber
;}
75
79
void
addDescription
(
const
std::string
description
);
80
84
void
addFrontDescription
(
const
std::string &
description
);
85
};
86
88
};
// namespace detail
91
};
// namespace solver
94
};
// namespace zypp
96
97
#endif // ZYPP_SOLVER_DETAIL_PROBLEMSOLUTIONAINSTALL_H
98
zypp
solver
detail
ProblemSolutionCombi.h
Generated by
1.8.2