projects
/
platform
/
upstream
/
libzypp-bindings.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
backup
[platform/upstream/libzypp-bindings.git]
/
swig
/
ResStatus.i
1
2
%include <zypp/ResStatus.h>
3
4
#ifdef SWIGPERL5
5
6
%extend ResStatus {
7
8
bool setToBeInstalledUser()
9
{
10
return self->setToBeInstalled(ResStatus::USER);
11
}
12
13
bool resetTransactUser()
14
{
15
return self->resetTransact(ResStatus::USER);
16
}
17
};
18
#endif
19
20
%extend ResStatus
21
{
22
std::string asString() const
23
{
24
std::ostringstream str;
25
str << *self;
26
return str.str();
27
}
28
}