aboutsummaryrefslogtreecommitdiff
path: root/win32/toneview.h
blob: 4a8fc0654ae95b8705538829fdb6b85b40133104 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#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 toneview_open(HINSTANCE hinst, HWND parent, void (*closecb)(void *ptr), void *cbptr);
void toneview_close(void);

#endif // MYON_FMPLAYER_WIN32_TONEVIEW_H_INCLUDED