1 /*  SpiralSound
2  *  Copyleft (C) 2003 Andy Preston <andy@clublinux.co.uk>
3  *
4  *  This program is free software; you can redistribute it and/or modify
5  *  it under the terms of the GNU General Public License as published by
6  *  the Free Software Foundation; either version 2 of the License, or
7  *  (at your option) any later version.
8  *
9  *  This program is distributed in the hope that it will be useful,
10  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
11  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12  *  GNU General Public License for more details.
13  *
14  *  You should have received a copy of the GNU General Public License
15  *  along with this program; if not, write to the Free Software
16  *  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
17 */
18 
19 #include "../SpiralPlugin.h"
20 #include <FL/Fl_Pixmap.H>
21 
22 #ifndef TransposePLUGIN
23 #define TransposePLUGIN
24 
25 class TransposePlugin : public SpiralPlugin {
26    public:
27       TransposePlugin();
28       virtual ~TransposePlugin ();
29       virtual PluginInfo& Initialise (const HostInfo *Host);
30       virtual SpiralGUIType* CreateGUI ();
31       virtual void Execute ();
32       //virtual void ExecuteCommands ();
33       virtual void StreamOut (std::ostream &s);
34       virtual void StreamIn (std::istream &s);
35       int GetAmount () { return m_Amount; }
36    private:
37       int m_Amount;
38       float m_Out;
39 };
40 
41 #endif
42