37 lines
434 B
C++
37 lines
434 B
C++
/*
|
|
* Copyright 2015, Axel Dörfler, axeld@pinc-software.de.
|
|
* Distributed under the terms of the MIT License.
|
|
*/
|
|
|
|
|
|
#include "Target.h"
|
|
|
|
|
|
Target::Target(const char* name)
|
|
:
|
|
BaseJob(name),
|
|
fLaunched(false)
|
|
{
|
|
}
|
|
|
|
|
|
status_t
|
|
Target::AddData(const char* name, BMessage& data)
|
|
{
|
|
return fData.AddMessage(name, &data);
|
|
}
|
|
|
|
|
|
void
|
|
Target::SetLaunched(bool launched)
|
|
{
|
|
fLaunched = launched;
|
|
}
|
|
|
|
|
|
status_t
|
|
Target::Execute()
|
|
{
|
|
return B_OK;
|
|
}
|