projects
/
platform
/
upstream
/
libzypp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
626634e
)
- added more ui accessors
author
Michael Andres
<ma@suse.de>
Tue, 7 Feb 2006 16:07:39 +0000
(16:07 +0000)
committer
Michael Andres
<ma@suse.de>
Tue, 7 Feb 2006 16:07:39 +0000
(16:07 +0000)
zypp/ui/Selectable.h
patch
|
blob
|
history
diff --git
a/zypp/ui/Selectable.h
b/zypp/ui/Selectable.h
index
8691862
..
4852921
100644
(file)
--- a/
zypp/ui/Selectable.h
+++ b/
zypp/ui/Selectable.h
@@
-101,6
+101,16
@@
namespace zypp
available_iterator availableEnd() const;
public:
+
+ /** True if installed object is present. */
+ bool has_installed() const
+ { return installedObj(); }
+
+ /** True if candidate object is present. */
+ bool has_candidate() const
+ { return candidateObj(); }
+
+ public:
/** Implementation */
class Impl;
typedef shared_ptr<Impl> Impl_Ptr;