2024-03-23 18:41:26 -07:00
|
|
|
#pragma once
|
|
|
|
#include <backend.hpp>
|
|
|
|
#include <string>
|
|
|
|
#include <vector>
|
2024-03-26 18:39:02 -07:00
|
|
|
#define GTK_FRONTEND
|
2024-03-23 18:41:26 -07:00
|
|
|
class GtkBackend : public UIBackend {
|
2024-04-09 10:15:05 -07:00
|
|
|
void *app_ptr;
|
2024-03-23 18:41:26 -07:00
|
|
|
public:
|
|
|
|
std::string get_id() override;
|
|
|
|
std::string get_name() override;
|
2024-03-26 18:39:02 -07:00
|
|
|
void add_licenses() override;
|
2024-04-09 10:15:05 -07:00
|
|
|
void QuitHandler() override;
|
2024-03-23 18:41:26 -07:00
|
|
|
int run(std::vector<std::string> realArgs, int argc, char **argv) override;
|
|
|
|
};
|