Mostly style-related changes to package kit:

* drop 'Haiku' namespace
* rename 'Package' namespace to 'BPackageKit'
* renamed all public classes to begin with a 'B'
* renamed BPackageKit::Roster to BPackageKit::BPackageRoster to not
  clash with the BRoster from the application kit.
* fix some instances of public headers including private ones

Some functional changes, too:
* JobQueue now removes and deletes dependants of failed jobs 
  automatically
* JobQueue supports waiting for jobs to become runnable
* added a couple of InitCheck() methods where they make sense
  and invoke those in users of these classes



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40287 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Oliver Tappe
2011-01-25 17:07:27 +00:00
parent 5ba9397df3
commit 7d7ed9bf4b
43 changed files with 746 additions and 640 deletions
+9 -13
View File
@@ -2,8 +2,8 @@
* Copyright 2011, Haiku, Inc.
* Distributed under the terms of the MIT License.
*/
#ifndef _HAIKU__PACKAGE__REPOSITORY_CACHE_H_
#define _HAIKU__PACKAGE__REPOSITORY_CACHE_H_
#ifndef _PACKAGE__REPOSITORY_CACHE_H_
#define _PACKAGE__REPOSITORY_CACHE_H_
#include <Entry.h>
@@ -13,19 +13,17 @@
class BEntry;
namespace Haiku {
namespace Package {
namespace BPackageKit {
//class RepositoryHeader;
class RepositoryCache {
class BRepositoryCache {
public:
RepositoryCache();
RepositoryCache(const BEntry& entry);
virtual ~RepositoryCache();
BRepositoryCache();
BRepositoryCache(const BEntry& entry);
virtual ~BRepositoryCache();
status_t SetTo(const BEntry& entry);
status_t InitCheck() const;
@@ -45,9 +43,7 @@ private:
};
} // namespace Package
} // namespace Haiku
} // namespace BPackageKit
#endif // _HAIKU__PACKAGE__REPOSITORY_CACHE_H_
#endif // _PACKAGE__REPOSITORY_CACHE_H_