aboutsummaryrefslogtreecommitdiff
path: root/win32/toneview.h
diff options
context:
space:
mode:
Diffstat (limited to 'win32/toneview.h')
-rw-r--r--win32/toneview.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/win32/toneview.h b/win32/toneview.h
new file mode 100644
index 0000000..32f402b
--- /dev/null
+++ b/win32/toneview.h
@@ -0,0 +1,16 @@
+#ifndef MYON_FMPLAYER_WIN32_TONEVIEW_H_INCLUDED
+#define MYON_FMPLAYER_WIN32_TONEVIEW_H_INCLUDED
+
+#include "tonedata/tonedata.h"
+#include <stdatomic.h>
+#define WIN32_LEAN_AND_MEAN
+#include <windows.h>
+
+extern struct toneview_g {
+ struct fmplayer_tonedata tonedata;
+ atomic_flag flag;
+} toneview_g;
+
+void show_toneview(HINSTANCE hinst, HWND parent);
+
+#endif // MYON_FMPLAYER_WIN32_TONEVIEW_H_INCLUDED