From f42a93e99a3321f212370235c8e3cbf67cd8ae76 Mon Sep 17 00:00:00 2001 From: Klaus Kaempf Date: Wed, 8 Feb 2006 14:17:13 +0000 Subject: [PATCH] add isBase --- zypp/Selection.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/zypp/Selection.h b/zypp/Selection.h index 8911833..c28d5d7 100644 --- a/zypp/Selection.h +++ b/zypp/Selection.h @@ -45,6 +45,8 @@ namespace zypp /** selection category */ Label category() const; + inline bool isBase() const + { return category() == "base"; } /** selection visibility (for hidden selections) */ bool visible() const; -- 2.7.4