15 lines
386 B
C
15 lines
386 B
C
|
#pragma once
|
||
|
#include <backend.hpp>
|
||
|
#include <string>
|
||
|
#include <vector>
|
||
|
class HaikuUIBackend : public UIBackend {
|
||
|
BACKEND_TYPE(Native);
|
||
|
public:
|
||
|
std::string get_id() override;
|
||
|
std::string get_name() override;
|
||
|
void QuitHandler() override;
|
||
|
void *main_loop;
|
||
|
int run(std::vector<std::string> realArgs, int argc, char **argv) override;
|
||
|
HaikuUIBackend() = default;
|
||
|
};
|