001package jmri.jmrit.vsdecoder;
002
003/**
004 * Trigger listener
005 *
006 * <hr>
007 * This file is part of JMRI.
008 * <p>
009 * JMRI is free software; you can redistribute it and/or modify it under
010 * the terms of version 2 of the GNU General Public License as published
011 * by the Free Software Foundation. See the "COPYING" file for a copy
012 * of this license.
013 * <p>
014 * JMRI is distributed in the hope that it will be useful, but WITHOUT
015 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
016 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
017 * for more details.
018 *
019 * @author Mark Underwood Copyright (C) 2011
020 */
021// Interface for creating anonymous objects for having VSDSounds listen to Triggers...
022public interface TriggerListener {
023
024    void takeAction();
025
026    void takeAction(int i);
027
028    void takeAction(float f);
029
030}