Loading [MathJax]/extensions/tex2jax.js
libzypp
17.31.23
Toggle main menu visibility
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Variables
_
a
c
d
g
h
m
n
o
p
r
s
w
y
Typedefs
a
b
c
d
e
f
g
i
l
m
n
o
p
r
s
t
u
v
w
z
Enumerations
Enumerator
d
e
f
l
n
p
r
s
t
v
z
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
~
Variables
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
y
z
Typedefs
a
b
c
d
e
f
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
z
Enumerations
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
Enumerator
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
y
z
Related Functions
b
c
d
h
i
k
l
m
n
o
p
r
s
t
z
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
y
z
Functions
Variables
_
a
b
d
f
k
n
p
r
s
t
u
v
Typedefs
Macros
_
a
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
w
x
y
z
ProvideFilePolicy.cc
Go to the documentation of this file.
1
/*---------------------------------------------------------------------\
2
| ____ _ __ __ ___ |
3
| |__ / \ / / . \ . \ |
4
| / / \ V /| _/ _/ |
5
| / /__ | | | | | | |
6
| /_____||_| |_| |_| |
7
| |
8
\---------------------------------------------------------------------*/
9
10
#include <iostream>
11
#include <fstream>
12
#include <sstream>
13
#include <zypp/base/Logger.h>
14
15
#include <
zypp/ProvideFilePolicy.h
>
16
17
using
std::endl;
18
20
namespace
zypp
21
{
23
//
24
// CLASS NAME : ProvideFilePolicy
25
//
27
28
bool
ProvideFilePolicy::progress
(
int
value )
const
29
{
30
if
(
_progressCB
)
31
return
_progressCB
( value );
32
return
true
;
33
}
34
35
}
// namespace zypp
ProvideFilePolicy.h
zypp::ProvideFilePolicy::_progressCB
ProgressCB _progressCB
Definition:
ProvideFilePolicy.h:53
zypp::ProvideFilePolicy::progress
bool progress(int value) const
Evaluate callback.
Definition:
ProvideFilePolicy.cc:28
zypp
Easy-to use interface to the ZYPP dependency resolver.
Definition:
CodePitfalls.doc:2
zypp
ProvideFilePolicy.cc
Generated by
1.9.6