1 /* 2 * Copyright 2015, Axel Dörfler, axeld@pinc-software.de. 3 * Distributed under the terms of the MIT License. 4 */ 5 6 7 #include "Target.h" 8 9 10 Target::Target(const char* name) 11 : 12 BaseJob(name), 13 fLaunched(false) 14 { 15 } 16 17 18 status_t 19 Target::AddData(const char* name, BMessage& data) 20 { 21 return fData.AddMessage(name, &data); 22 } 23 24 25 void 26 Target::SetLaunched(bool launched) 27 { 28 fLaunched = launched; 29 } 30 31 32 status_t 33 Target::Execute() 34 { 35 return B_OK; 36 } 37