diff DPF-Prymula-audioplugins/dpf/dgl/src/pugl-extra/haiku.h @ 3:84e66ea83026

DPF-Prymula-audioplugins-0.231015-2
author prymula <prymula76@outlook.com>
date Mon, 16 Oct 2023 21:53:34 +0200
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/DPF-Prymula-audioplugins/dpf/dgl/src/pugl-extra/haiku.h	Mon Oct 16 21:53:34 2023 +0200
@@ -0,0 +1,25 @@
+// Copyright 2012-2022 David Robillard <d@drobilla.net>
+// Copyright 2021-2022 Filipe Coelho <falktx@falktx.com>
+// SPDX-License-Identifier: ISC
+
+#ifndef PUGL_SRC_HAIKU_H
+#define PUGL_SRC_HAIKU_H
+
+#include "../pugl-upstream/src/types.h"
+
+#include "pugl/pugl.h"
+
+#include <Application.h>
+#include <Window.h>
+
+struct PuglWorldInternalsImpl {
+  BApplication* app;
+};
+
+struct PuglInternalsImpl {
+  PuglSurface* surface;
+  BView* view;
+  BWindow* window;
+};
+
+#endif // PUGL_SRC_HAIKU_H