X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=modules%2Fgui%2Fmacosx%2Fopen.h;h=708b13826fbbaef86cc07d0b67ff63ee8889e81d;hb=6b4c45d2549adf181f3f4607dedcaf6f2b4a66a3;hp=26c325d3f258cb6400fdb50dc2156c52b21b381a;hpb=fe087a38282e93addb25fa9598393e40ea233b09;p=vlc diff --git a/modules/gui/macosx/open.h b/modules/gui/macosx/open.h index 26c325d3f2..708b13826f 100644 --- a/modules/gui/macosx/open.h +++ b/modules/gui/macosx/open.h @@ -1,18 +1,19 @@ /***************************************************************************** * open.h: MacOS X module for vlc ***************************************************************************** - * Copyright (C) 2002-2005 the VideoLAN team + * Copyright (C) 2002-2006 the VideoLAN team * $Id$ * * Authors: Jon Lech Johansen * Christophe Massiot * Derk-Jan Hartman + * Felix Kühne * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the @@ -20,7 +21,7 @@ * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA. + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA. *****************************************************************************/ NSArray *GetEjectableMediaOfClass( const char *psz_class ); @@ -41,10 +42,15 @@ NSArray *GetEjectableMediaOfClass( const char *psz_class ); IBOutlet id o_btn_ok; IBOutlet id o_btn_cancel; + IBOutlet id o_output_ckbox; + IBOutlet id o_sout_options; + + /* open file */ IBOutlet id o_file_path; IBOutlet id o_file_btn_browse; IBOutlet id o_file_stream; + /* open disc */ IBOutlet id o_disc_type; IBOutlet id o_disc_device; IBOutlet id o_disc_device_lbl; @@ -58,6 +64,7 @@ NSArray *GetEjectableMediaOfClass( const char *psz_class ); IBOutlet id o_disc_videots_btn_browse; IBOutlet id o_disc_dvd_menus; + /* open network */ IBOutlet id o_net_mode; IBOutlet id o_net_udp_port; IBOutlet id o_net_udp_port_lbl; @@ -71,6 +78,7 @@ NSArray *GetEjectableMediaOfClass( const char *psz_class ); IBOutlet id o_net_http_url_lbl; IBOutlet id o_net_timeshift_ckbox; + /* open subtitle file */ IBOutlet id o_file_sub_ckbox; IBOutlet id o_file_sub_btn_settings; IBOutlet id o_file_sub_sheet; @@ -93,8 +101,21 @@ NSArray *GetEjectableMediaOfClass( const char *psz_class ); IBOutlet id o_file_sub_font_box; IBOutlet id o_file_sub_file_box; - IBOutlet id o_output_ckbox; - IBOutlet id o_sout_options; + /* open eyetv support */ + IBOutlet id o_eyetv_tabView; + IBOutlet id o_eyetv_channels_pop; + IBOutlet id o_eyetv_currentChannel_lbl; + IBOutlet id o_eyetv_chn_status_txt; + IBOutlet id o_eyetv_chn_bgbar; + IBOutlet id o_eyetv_launchEyeTV_btn; + IBOutlet id o_eyetv_nextProgram_btn; + IBOutlet id o_eyetv_noDevice_lbl; + IBOutlet id o_eyetv_noDeviceLong_lbl; + IBOutlet id o_eyetv_noEyeTV_lbl; + IBOutlet id o_eyetv_noEyeTVLong_lbl; + IBOutlet id o_eyetv_previousProgram_btn; + + BOOL b_autoplay; } + (VLCOpen *)sharedInstance; @@ -102,6 +123,7 @@ NSArray *GetEjectableMediaOfClass( const char *psz_class ); - (void)setSubPanel; - (void)openTarget:(int)i_type; - (void)tabView:(NSTabView *)o_tv didSelectTabViewItem:(NSTabViewItem *)o_tvi; +- (void)textFieldWasClicked:(NSNotification *)o_notification; - (void)openFileGeneric; - (void)openFilePathChanged:(NSNotification *)o_notification; @@ -121,6 +143,11 @@ NSArray *GetEjectableMediaOfClass( const char *psz_class ); - (IBAction)openNetStepperChanged:(id)sender; - (void)openNetInfoChanged:(NSNotification *)o_notification; +- (IBAction)eyetvSwitchChannel:(id)sender; +- (IBAction)eyetvLaunch:(id)sender; +- (void)eyetvChanged:(NSNotification *)o_notification; +- (void)setupChannelInfo; + - (IBAction)subsChanged:(id)sender; - (IBAction)subSettings:(id)sender; - (IBAction)subFileBrowse:(id)sender; @@ -134,3 +161,9 @@ NSArray *GetEjectableMediaOfClass( const char *psz_class ); - (void)openFile; @end + +@interface VLCOpenTextField : NSTextField +{ +} +- (void)mouseDown:(NSEvent *)theEvent; +@end