2011-01-22 01:18:58 +03:00
|
|
|
/*
|
2015-05-18 19:21:58 +03:00
|
|
|
* Copyright 2011-2015, Haiku, Inc.
|
2011-01-22 01:18:58 +03:00
|
|
|
* Distributed under the terms of the MIT License.
|
|
|
|
*/
|
2011-01-25 20:07:27 +03:00
|
|
|
#ifndef _PACKAGE__JOB_H_
|
|
|
|
#define _PACKAGE__JOB_H_
|
2011-01-22 01:18:58 +03:00
|
|
|
|
|
|
|
|
2015-05-18 19:21:58 +03:00
|
|
|
#include <support/Job.h>
|
2011-01-22 01:18:58 +03:00
|
|
|
|
|
|
|
|
2011-01-25 20:07:27 +03:00
|
|
|
namespace BPackageKit {
|
2011-01-22 01:18:58 +03:00
|
|
|
|
|
|
|
|
2011-01-25 20:07:27 +03:00
|
|
|
class BContext;
|
2011-01-22 01:18:58 +03:00
|
|
|
|
|
|
|
|
2011-01-25 20:07:27 +03:00
|
|
|
namespace BPrivate {
|
|
|
|
class JobQueue;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2015-05-18 19:21:58 +03:00
|
|
|
class BJob : public BSupportKit::BJob {
|
2011-01-22 01:18:58 +03:00
|
|
|
public:
|
2011-01-25 20:07:27 +03:00
|
|
|
BJob(const BContext& context,
|
2011-01-22 22:30:21 +03:00
|
|
|
const BString& title);
|
2011-01-25 20:07:27 +03:00
|
|
|
virtual ~BJob();
|
2011-01-22 01:18:58 +03:00
|
|
|
|
|
|
|
protected:
|
2011-01-25 20:07:27 +03:00
|
|
|
const BContext& fContext;
|
2011-01-22 01:18:58 +03:00
|
|
|
};
|
|
|
|
|
|
|
|
|
2011-01-25 20:07:27 +03:00
|
|
|
} // namespace BPackageKit
|
2011-01-22 01:18:58 +03:00
|
|
|
|
|
|
|
|
2011-01-25 20:07:27 +03:00
|
|
|
#endif // _PACKAGE__JOB_H_
|