HaikuDepot: Package status should come from PackageManager
* But its unimplemented...
This commit is contained in:
parent
d4957a50ae
commit
bbb3f9ac5e
@ -66,6 +66,14 @@ PackageManager::~PackageManager()
|
||||
}
|
||||
|
||||
|
||||
PackageState
|
||||
PackageManager::GetPackageState(const PackageInfo& package)
|
||||
{
|
||||
// TODO: Fetch information from the PackageKit
|
||||
return NONE;
|
||||
}
|
||||
|
||||
|
||||
PackageActionList
|
||||
PackageManager::GetPackageActions(const PackageInfo& package)
|
||||
{
|
||||
@ -84,5 +92,3 @@ PackageManager::GetPackageActions(const PackageInfo& package)
|
||||
|
||||
return actionList;
|
||||
}
|
||||
|
||||
|
||||
|
@ -6,9 +6,6 @@
|
||||
#define PACKAGE_MANAGER_H
|
||||
|
||||
|
||||
#include <Referenceable.h>
|
||||
|
||||
#include "List.h"
|
||||
#include "PackageInfo.h"
|
||||
|
||||
|
||||
@ -41,6 +38,7 @@ public:
|
||||
PackageManager();
|
||||
virtual ~PackageManager();
|
||||
|
||||
virtual PackageState GetPackageState(const PackageInfo& package);
|
||||
virtual PackageActionList GetPackageActions(const PackageInfo& package);
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user