001/*
002 * Title:        CoreMIDI4J
003 * Description:  Core MIDI Device Provider for Java on OS X
004 * Copyright:    Copyright (c) 2015-2016
005 * Company:      x.factory Librarians
006 *
007 * @author Derek Cook
008 * 
009 * CoreMIDI4J is an open source Service Provider Interface for supporting external MIDI devices on MAC OS X
010 * 
011 * CREDITS - This library uses principles established by OSXMIDI4J, but converted so it operates at the JNI level with no additional libraries required
012 * 
013 */
014
015package uk.co.xfactorylibrarians.coremidi4j;
016
017/**
018 * CoreMidiNotification is a listener interface which is used to register for change notifications when CoreMIDI4J detects changes in the MIDI environment
019 *
020 */
021
022public interface CoreMidiNotification {
023
024  /**
025   * Called when a notification occurs
026   * 
027   * @throws CoreMidiException if there is a problem handling the notification
028   * 
029   */
030
031  void midiSystemUpdated() throws CoreMidiException;
032
033}