Commit Message

Since Haiku is still in development and raw builds don't contain the
SDL or a VNC client, a native frontend is convenient. mmlr had maintained
a basic one for BeOS/Haiku until the kqemu drop. The code has been ported
to HEAD but is not yet fully updated to match CODING_STYLE.
Cc: Michael Lotz <mmlr@mlotz.ch>
Haiku's native APIs are C++ based, so we need a new make rule.
Some enabled GCC warnings are not applicable to C++ code and cause warnings.
Cc: Blue Swirl <blauwirbel@gmail.com>
Note that this frontend is another candidate user of a central qemu_main()
prototype, like Cocoa. It would also be candidate for a generic argv check
for non-graphic mode, to be shared with Cocoa.
---
Makefile | 2 +
Makefile.objs | 1 +
configure | 1 +
console.h | 3 +
rules.mak | 6 +-
ui/haiku.cpp | 607 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
ui/haiku.h | 96 +++++++++
vl.c | 10 +-
8 files changed, 724 insertions(+), 2 deletions(-)
create mode 100644 ui/haiku.cpp
create mode 100644 ui/haiku.h