Provide information whether acceptance of a product license is needed
[platform/upstream/libzypp.git] / zypp / ResObject.h
index 286db0d..ddae8a7 100644 (file)
@@ -130,6 +130,14 @@ namespace zypp
      */
     std::string licenseToConfirm( const Locale & lang_r = Locale() ) const;
 
+   /**
+     * \short Acceptance of Product License needed?  
+     *
+     * Returns whether a product license has to be accepted
+     * (no acceptance is needed for openSUSE)
+     */
+    bool needToAcceptLicense() const;
+    
     /**
      * \short Vendor
      *