aboutsummaryrefslogtreecommitdiff
path: root/win32/toneview.h
diff options
context:
space:
mode:
authorTakamichi Horikawa <takamichiho@gmail.com>2017-03-17 22:33:37 +0900
committerTakamichi Horikawa <takamichiho@gmail.com>2017-03-17 22:33:37 +0900
commit7fff156b574d3d1671c1d9f246b85007b08275da (patch)
tree4fc918020304077289dcc086075efc6e83407e99 /win32/toneview.h
parent893a411ff3eb6ffdeba62acae34ac5511466599f (diff)
win32: add toneviewer
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