// Copyright 2014 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef MEDIA_MIDI_USB_MIDI_DEVICE_H_ #define MEDIA_MIDI_USB_MIDI_DEVICE_H_ #include <stddef.h> #include <stdint.h> #include <memory> #include <vector> #include "base/functional/callback.h" #include "base/time/time.h" #include "media/midi/usb_midi_export.h" namespace midi { class UsbMidiDevice; // Delegate class for UsbMidiDevice. // Each method is called when an corresponding event arrives at the device. class USB_MIDI_EXPORT UsbMidiDeviceDelegate { … }; // UsbMidiDevice represents a USB-MIDI device. // This is an interface class and each platform-dependent implementation class // will be a derived class. class USB_MIDI_EXPORT UsbMidiDevice { … }; } // namespace midi #endif // MEDIA_MIDI_USB_MIDI_DEVICE_H_