1 /* 2 Project: MPDCon 3 4 Copyright (C) 2004 5 6 Author: Daniel Luederwald 7 8 Created: 2004-05-12 17:59:14 +0200 by flip 9 10 Crossfade Controller 11 12 This application is free software; you can redistribute it and/or 13 modify it under the terms of the GNU General Public 14 License as published by the Free Software Foundation; either 15 version 2 of the License, or (at your option) any later version. 16 17 This application is distributed in the hope that it will be useful, 18 but WITHOUT ANY WARRANTY; without even the implied warranty of 19 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 20 Library General Public License for more details. 21 22 You should have received a copy of the GNU General Public 23 License along with this library; if not, write to the Free 24 Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111 USA. 25 */ 26 27 #ifndef _PCAPPPROJ_CROSSFADECONTROLLER_H 28 #define _PCAPPPROJ_CROSSFADECONTROLLER_H 29 30 #include <AppKit/AppKit.h> 31 #include "MPDController.h" 32 #include "Strings.h" 33 34 @interface CrossfadeController : NSWindowController 35 { 36 IBOutlet NSTextField *valueField; 37 IBOutlet NSStepper *valueStepper; 38 IBOutlet NSWindow *window; 39 } 40 41 // Initialization Methods 42 + (id) sharedCrossfadeController; 43 44 // Gui Methods 45 - (void) valueChanged: (id)sender; 46 - (void) apply: (id)sender; 47 - (void) revert: (id)sender; 48 @end 49 50 #endif 51