Added MacOS SDK

This commit is contained in:
Andrew Zambazos
2026-06-11 14:04:52 +12:00
parent ffdc88608e
commit 553ab6537a
2151 changed files with 450464 additions and 0 deletions
+31
View File
@@ -0,0 +1,31 @@
#pragma once
#include <AppCore/AppCore.h>
#include <memory>
#ifdef UL_EMBED_FILES
#include "platform/EmbeddedFileSystem.h"
#endif
using namespace ultralight;
class UI;
class Browser {
public:
Browser(bool use_gpu, bool force_repaint, bool show_stats);
~Browser();
void Run();
void SetTitle(const String& title);
RefPtr<App> app() { return app_; }
RefPtr<Window> window() { return window_; }
protected:
RefPtr<App> app_;
RefPtr<Window> window_;
std::unique_ptr<UI> ui_;
#ifdef UL_EMBED_FILES
std::unique_ptr<EmbeddedFileSystem> file_system_;
#endif
};