/* * jlscp - a java LinuxSampler control protocol API * * Copyright (C) 2005-2007 Grigor Iliev * * This file is part of jlscp. * * jlscp is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 * as published by the Free Software Foundation. * * jlscp is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with jlscp; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, * MA 02111-1307 USA */ package org.linuxsampler.lscp.event; /** *The listener interface that is notified when changes to the instruments database are made. * @author Grigor Iliev */ public interface InstrumentsDbListener extends java.util.EventListener { /** * Invoked when the number of instrument * directories in a specific directory has changed. */ public void directoryCountChanged(InstrumentsDbEvent e); /** * Invoked when the settings of an instrument directory are changed. */ public void directoryInfoChanged(InstrumentsDbEvent e); /** * Invoked when an instrument directory is renamed. */ public void directoryNameChanged(InstrumentsDbEvent e); /** * Invoked when the number of instruments * in a specific directory has changed. */ public void instrumentCountChanged(InstrumentsDbEvent e); /** * Invoked when the settings of an instrument are changed. */ public void instrumentInfoChanged(InstrumentsDbEvent e); /** * Invoked when an instrument is renamed. */ public void instrumentNameChanged(InstrumentsDbEvent e); /** * Invoked when the status of particular job has changed. */ public void jobStatusChanged(InstrumentsDbEvent e); }