MacOS: fixes memory management issue. closes #3807
[vlc/solaris.git] / modules / gui / macosx / equalizer.h
blob2d5967003cb0420df2660d882b0df1a7ced9cebc
1 /*****************************************************************************
2 * equalizer.h: MacOS X interface module
3 *****************************************************************************
4 * Copyright (C) 2004-2008 the VideoLAN team
5 * $Id$
7 * Authors: Jérôme Decoodt <djc@videolan.org>
9 * This program is free software; you can redistribute it and/or modify
10 * it under the terms of the GNU General Public License as published by
11 * the Free Software Foundation; either version 2 of the License, or
12 * (at your option) any later version.
14 * This program is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 * GNU General Public License for more details.
19 * You should have received a copy of the GNU General Public License
20 * along with this program; if not, write to the Free Software
21 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
22 *****************************************************************************/
24 /*****************************************************************************
25 * VLCEqualizer interface
26 *****************************************************************************/
27 @interface VLCEqualizer : NSObject
29 IBOutlet id o_btn_equalizer;
30 IBOutlet id o_btn_equalizer_embedded;
31 IBOutlet id o_ckb_2pass;
32 IBOutlet id o_ckb_enable;
33 IBOutlet id o_fld_preamp;
34 IBOutlet id o_popup_presets;
35 IBOutlet id o_slider_band1;
36 IBOutlet id o_slider_band10;
37 IBOutlet id o_slider_band2;
38 IBOutlet id o_slider_band3;
39 IBOutlet id o_slider_band4;
40 IBOutlet id o_slider_band5;
41 IBOutlet id o_slider_band6;
42 IBOutlet id o_slider_band7;
43 IBOutlet id o_slider_band8;
44 IBOutlet id o_slider_band9;
45 IBOutlet id o_slider_preamp;
46 IBOutlet id o_window;
48 - (void)initStrings;
49 - (void)equalizerUpdated;
50 - (IBAction)bandSliderUpdated:(id)sender;
51 - (IBAction)changePreset:(id)sender;
52 - (IBAction)enable:(id)sender;
53 - (IBAction)preampSliderUpdated:(id)sender;
54 - (IBAction)toggleWindow:(id)sender;
55 - (IBAction)twopass:(id)sender;
56 - (void)windowWillClose:(NSNotification *)aNotification;
57 - (void)awakeFromNib;
59 - (void)setValue: (float)value forSlider: (int)index;
60 - (id)sliderByIndex: (int)index;
61 - (void)setBandSlidersValues: (float *)values;
62 - (void)initBandSliders;
64 @end