00001 /***************************************************************************** 00002 * equalizer.h: MacOS X interface module 00003 ***************************************************************************** 00004 * Copyright (C) 2004-2008 the VideoLAN team 00005 * $Id: 2d5967003cb0420df2660d882b0df1a7ced9cebc $ 00006 * 00007 * Authors: Jérôme Decoodt <djc@videolan.org> 00008 * 00009 * This program is free software; you can redistribute it and/or modify 00010 * it under the terms of the GNU General Public License as published by 00011 * the Free Software Foundation; either version 2 of the License, or 00012 * (at your option) any later version. 00013 * 00014 * This program is distributed in the hope that it will be useful, 00015 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00016 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00017 * GNU General Public License for more details. 00018 * 00019 * You should have received a copy of the GNU General Public License 00020 * along with this program; if not, write to the Free Software 00021 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA. 00022 *****************************************************************************/ 00023 00024 /***************************************************************************** 00025 * VLCEqualizer interface 00026 *****************************************************************************/ 00027 @interface VLCEqualizer : NSObject 00028 { 00029 IBOutlet id o_btn_equalizer; 00030 IBOutlet id o_btn_equalizer_embedded; 00031 IBOutlet id o_ckb_2pass; 00032 IBOutlet id o_ckb_enable; 00033 IBOutlet id o_fld_preamp; 00034 IBOutlet id o_popup_presets; 00035 IBOutlet id o_slider_band1; 00036 IBOutlet id o_slider_band10; 00037 IBOutlet id o_slider_band2; 00038 IBOutlet id o_slider_band3; 00039 IBOutlet id o_slider_band4; 00040 IBOutlet id o_slider_band5; 00041 IBOutlet id o_slider_band6; 00042 IBOutlet id o_slider_band7; 00043 IBOutlet id o_slider_band8; 00044 IBOutlet id o_slider_band9; 00045 IBOutlet id o_slider_preamp; 00046 IBOutlet id o_window; 00047 } 00048 - (void)initStrings; 00049 - (void)equalizerUpdated; 00050 - (IBAction)bandSliderUpdated:(id)sender; 00051 - (IBAction)changePreset:(id)sender; 00052 - (IBAction)enable:(id)sender; 00053 - (IBAction)preampSliderUpdated:(id)sender; 00054 - (IBAction)toggleWindow:(id)sender; 00055 - (IBAction)twopass:(id)sender; 00056 - (void)windowWillClose:(NSNotification *)aNotification; 00057 - (void)awakeFromNib; 00058 00059 - (void)setValue: (float)value forSlider: (int)index; 00060 - (id)sliderByIndex: (int)index; 00061 - (void)setBandSlidersValues: (float *)values; 00062 - (void)initBandSliders; 00063 00064 @end
1.5.6