BSolverRepository: Change priority from uint8 to int32

This allows us to specifies priorities below and above the user
definable range.
This commit is contained in:
Ingo Weinhold
2013-04-12 13:42:27 +02:00
parent 115eae7371
commit 334a5a566c
3 changed files with 7 additions and 6 deletions
+4 -3
View File
@@ -51,8 +51,9 @@ public:
BString Name() const;
uint8 Priority() const;
void SetPriority(uint8 priority);
int32 Priority() const;
void SetPriority(int32 priority);
// negative priority is fine
bool IsEmpty() const;
int32 CountPackages() const;
@@ -70,7 +71,7 @@ private:
private:
BString fName;
uint8 fPriority;
int32 fPriority;
bool fIsInstalled;
PackageList fPackages;
uint64 fChangeCount;