BJob: Added SetState() method.
This commit is contained in:
parent
e96f5c3330
commit
5ab2b1457b
@ -71,6 +71,7 @@ protected:
|
||||
virtual status_t Execute() = 0;
|
||||
virtual void Cleanup(status_t jobResult);
|
||||
|
||||
void SetState(BJobState state);
|
||||
void SetErrorString(const BString&);
|
||||
|
||||
void NotifyStateListeners();
|
||||
|
@ -226,6 +226,13 @@ BJob::DependantJobAt(int32 index) const
|
||||
}
|
||||
|
||||
|
||||
void
|
||||
BJob::SetState(BJobState state)
|
||||
{
|
||||
fState = state;
|
||||
}
|
||||
|
||||
|
||||
void
|
||||
BJob::NotifyStateListeners()
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user