+ Package::maybeUnsupported
[platform/upstream/libzypp.git] / zypp / Package.h
index 046dc72..fbfa572 100644 (file)
@@ -15,6 +15,7 @@
 #include "zypp/ResObject.h"
 #include "zypp/PackageKeyword.h"
 #include "zypp/Changelog.h"
+#include "zypp/VendorSupportOptions.h"
 
 ///////////////////////////////////////////////////////////////////
 namespace zypp
@@ -41,6 +42,20 @@ namespace zypp
 
   public:
 
+    /**
+     * Returns the level of supportability the vendor
+     * gives to this package.
+     * 
+     * This is one value from \ref VendorSupportOption
+     */
+    VendorSupportOption vendorSupport() const;
+
+    /**
+     * True if the vendor support for this package
+     * is unknown or explictly unsupported.
+     */
+    bool maybeUnsupported() const;
+
     /** Get the package change log */
     Changelog changelog() const;
     /** */
@@ -92,6 +107,7 @@ namespace zypp
     /** Dtor */
     virtual ~Package();
   };
+
   ///////////////////////////////////////////////////////////////////
 
   /////////////////////////////////////////////////////////////////