e711e6e42f
* Put it in the BSupportKit namespace, following the style introduced with the package kit for now. * The BSupportKit::BJob class no longer knows about the package kit's Context class. However, the BPackageKit::BJob class does. * Due to the namespace juggling, a lot of files had to be touched. * The JobQueue class remains private. * Due to the way Haiku is built on itself, you cannot build this change under Haiku with an older release.
42 lines
495 B
C++
42 lines
495 B
C++
/*
|
|
* Copyright 2015, Haiku, Inc.
|
|
* Distributed under the terms of the MIT License.
|
|
*/
|
|
#ifndef _JOB_PRIVATE_H_
|
|
#define _JOB_PRIVATE_H_
|
|
|
|
|
|
#include <Job.h>
|
|
|
|
|
|
namespace BSupportKit {
|
|
|
|
|
|
class BJob::Private {
|
|
public:
|
|
Private(BJob& job)
|
|
:
|
|
fJob(job)
|
|
{
|
|
}
|
|
|
|
void SetTicketNumber(uint32 ticketNumber)
|
|
{
|
|
fJob._SetTicketNumber(ticketNumber);
|
|
}
|
|
|
|
void ClearTicketNumber()
|
|
{
|
|
fJob._ClearTicketNumber();
|
|
}
|
|
|
|
private:
|
|
BJob& fJob;
|
|
};
|
|
|
|
|
|
} // namespace BSupportKit
|
|
|
|
|
|
#endif // _JOB_PRIVATE_H_
|