BSolverPackage: Add Version()

This commit is contained in:
Ingo Weinhold 2013-11-27 15:32:20 +01:00
parent 616d003507
commit ecd7a82e0d
2 changed files with 8 additions and 0 deletions

View File

@ -27,6 +27,7 @@ public:
BString Name() const;
BString VersionedName() const;
const BPackageVersion& Version() const;
BSolverPackage& operator=(const BSolverPackage& other);

View File

@ -66,6 +66,13 @@ BSolverPackage::VersionedName() const
}
const BPackageVersion&
BSolverPackage::Version() const
{
return fInfo.Version();
}
BSolverPackage&
BSolverPackage::operator=(const BSolverPackage& other)
{