aboutsummaryrefslogtreecommitdiff
path: root/win32/oscilloview.h
diff options
context:
space:
mode:
Diffstat (limited to 'win32/oscilloview.h')
-rw-r--r--win32/oscilloview.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/win32/oscilloview.h b/win32/oscilloview.h
new file mode 100644
index 0000000..8849830
--- /dev/null
+++ b/win32/oscilloview.h
@@ -0,0 +1,19 @@
+#ifndef MYON_FMPLAYER_WIN32_OSCILLOVIEW_H_INCLUDED
+#define MYON_FMPLAYER_WIN32_OSCILLOVIEW_H_INCLUDED
+
+#include "libopna/opna.h"
+#include "oscillo/oscillo.h"
+
+#define WIN32_LEAN_AND_MEAN
+#include <windows.h>
+#include <stdatomic.h>
+
+extern struct oscilloview {
+ atomic_flag flag;
+ struct oscillodata oscillodata[LIBOPNA_OSCILLO_TRACK_COUNT];
+} oscilloview_g;
+
+void show_oscilloview(HINSTANCE hinst, HWND parent);
+
+#endif // MYON_FMPLAYER_WIN32_OSCILLOVIEW_H_INCLUDED
+