Make UEFI boot-platform build again
[haiku.git] / src / servers / launch / Target.h
blob0d0ece0a1735ba899654dff0dd117eca5877f4d4
1 /*
2 * Copyright 2015, Axel Dörfler, axeld@pinc-software.de.
3 * Distributed under the terms of the MIT License.
4 */
5 #ifndef TARGET_H
6 #define TARGET_H
9 #include "BaseJob.h"
11 #include <Message.h>
14 using namespace BSupportKit;
17 class Target : public BaseJob {
18 public:
19 Target(const char* name);
21 status_t AddData(const char* name, BMessage& data);
22 const BMessage& Data() const
23 { return fData; }
25 bool HasLaunched() const
26 { return fLaunched; }
27 void SetLaunched(bool launched);
29 protected:
30 virtual status_t Execute();
32 private:
33 BMessage fData;
34 bool fLaunched;
38 #endif // TARGET_H