28 lines
709 B
C++
28 lines
709 B
C++
|
|
#pragma once
|
||
|
|
// clang-format off
|
||
|
|
#define NOMINMAX 1
|
||
|
|
#define WIN32_LEAN_AND_MEAN 1
|
||
|
|
#include <libremidi/detail/midi_api.hpp>
|
||
|
|
|
||
|
|
#include <mutex>
|
||
|
|
#include <string>
|
||
|
|
#include <thread>
|
||
|
|
#include <vector>
|
||
|
|
#include <guiddef.h>
|
||
|
|
#include <winrt/Windows.Foundation.h>
|
||
|
|
#include <winrt/Windows.Foundation.Collections.h>
|
||
|
|
#include <winrt/Windows.Devices.Enumeration.h>
|
||
|
|
|
||
|
|
#include <winrt/Microsoft.Devices.Midi2.h>
|
||
|
|
// clang-format on
|
||
|
|
|
||
|
|
namespace libremidi::winmidi
|
||
|
|
{
|
||
|
|
using namespace winrt;
|
||
|
|
using namespace winrt::Windows::Foundation;
|
||
|
|
using namespace winrt::Windows::Devices::Enumeration;
|
||
|
|
using namespace winrt::Windows::Storage::Streams;
|
||
|
|
using namespace Microsoft::Devices::Midi2;
|
||
|
|
using namespace Windows::Devices::Enumeration;
|
||
|
|
}
|