* Copyright 2019, Adrien Destugues, pulkomandy@pulkomandy.tk.
* Distributed under the terms of the MIT License.
*/
#ifndef DEBUGWINDOW_H
#define DEBUGWINDOW_H
#include <Bitmap.h>
#include <Window.h>
enum {
kActionKillTeam,
kActionDebugTeam,
kActionWriteCoreFile,
kActionSaveReportTeam,
kActionPromptUser
};
#define HANDOVER_USE_DEBUGGER 1
#define USE_GUI true
class DebugWindow : public BWindow {
public:
DebugWindow(const char* appName);
~DebugWindow();
void MessageReceived(BMessage* message);
int32 Go();
private:
static BRect IconSize();
private:
BBitmap fBitmap;
BButton* fOKButton;
sem_id fSemaphore;
int32 fAction;
};
#endif