#include "zypp/ResObject.h"
#include "zypp/PackageKeyword.h"
#include "zypp/Changelog.h"
+#include "zypp/VendorSupportOptions.h"
///////////////////////////////////////////////////////////////////
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;
/** */
*/
OnMediaLocation location() const;
-
- /** \deprecated no metadata always empty */
- ZYPP_DEPRECATED std::string os() const { return std::string(); }
- /** \deprecated no metadata always empty */
- ZYPP_DEPRECATED std::string prein() const { return std::string(); }
- /** \deprecated no metadata always empty */
- ZYPP_DEPRECATED std::string postin() const { return std::string(); }
- /** \deprecated no metadata always empty */
- ZYPP_DEPRECATED std::string preun() const { return std::string(); }
- /** \deprecated no metadata always empty */
- ZYPP_DEPRECATED std::string postun() const { return std::string(); }
-
protected:
friend Ptr make<Self>( const sat::Solvable & solvable_r );
/** Ctor */
/** Dtor */
virtual ~Package();
};
+
///////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////