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:
@@ -2,8 +2,8 @@
|
||||
* Copyright 2011, Oliver Tappe <[email protected]>
|
||||
* Distributed under the terms of the MIT License.
|
||||
*/
|
||||
#ifndef _HAIKU__PACKAGE__PRIVATE__FETCH_FILE_JOB_H_
|
||||
#define _HAIKU__PACKAGE__PRIVATE__FETCH_FILE_JOB_H_
|
||||
#ifndef _PACKAGE__PRIVATE__FETCH_FILE_JOB_H_
|
||||
#define _PACKAGE__PRIVATE__FETCH_FILE_JOB_H_
|
||||
|
||||
|
||||
#include <Entry.h>
|
||||
@@ -12,18 +12,16 @@
|
||||
#include <package/Job.h>
|
||||
|
||||
|
||||
namespace Haiku {
|
||||
namespace BPackageKit {
|
||||
|
||||
namespace Package {
|
||||
|
||||
namespace Private {
|
||||
namespace BPrivate {
|
||||
|
||||
|
||||
class FetchFileJob : public Job {
|
||||
typedef Job inherited;
|
||||
class FetchFileJob : public BJob {
|
||||
typedef BJob inherited;
|
||||
|
||||
public:
|
||||
FetchFileJob(const Context& context,
|
||||
FetchFileJob(const BContext& context,
|
||||
const BString& title,
|
||||
const BString& fileURL,
|
||||
const BEntry& targetEntry);
|
||||
@@ -39,11 +37,9 @@ private:
|
||||
};
|
||||
|
||||
|
||||
} // namespace Private
|
||||
} // namespace BPrivate
|
||||
|
||||
} // namespace Package
|
||||
|
||||
} // namespace Haiku
|
||||
} // namespace BPackageKit
|
||||
|
||||
|
||||
#endif // _HAIKU__PACKAGE__PRIVATE__FETCH_FILE_JOB_H_
|
||||
#endif // _PACKAGE__PRIVATE__FETCH_FILE_JOB_H_
|
||||
|
||||
Reference in New Issue
Block a user