00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029 @interface VLCControls : NSObject
00030 {
00031 IBOutlet id o_main;
00032
00033 IBOutlet id o_btn_fullscreen;
00034 IBOutlet id o_volumeslider;
00035 }
00036
00037 - (IBAction)play:(id)sender;
00038 - (IBAction)stop:(id)sender;
00039 - (IBAction)faster:(id)sender;
00040 - (IBAction)slower:(id)sender;
00041
00042 - (IBAction)prev:(id)sender;
00043 - (IBAction)next:(id)sender;
00044 - (IBAction)random:(id)sender;
00045 - (IBAction)repeat:(id)sender;
00046 - (IBAction)loop:(id)sender;
00047
00048 - (IBAction)forward:(id)sender;
00049 - (IBAction)backward:(id)sender;
00050
00051 - (IBAction)volumeUp:(id)sender;
00052 - (IBAction)volumeDown:(id)sender;
00053 - (IBAction)mute:(id)sender;
00054 - (IBAction)volumeSliderUpdated:(id)sender;
00055
00056 - (IBAction)windowAction:(id)sender;
00057
00058 - (void)setupVarMenuItem:(NSMenuItem *)o_mi
00059 target:(vlc_object_t *)p_object
00060 var:(const char *)psz_variable
00061 selector:(SEL)pf_callback;
00062 - (void)setupVarMenu:(NSMenu *)o_menu
00063 forMenuItem: (NSMenuItem *)o_parent
00064 target:(vlc_object_t *)p_object
00065 var:(const char *)psz_variable
00066 selector:(SEL)pf_callback;
00067 - (IBAction)toggleVar:(id)sender;
00068 - (int)toggleVarThread:(id)_o_data;
00069
00070 @end
00071
00072
00073
00074
00075
00076
00077 @interface VLCMenuExt : NSObject
00078 {
00079 char *psz_name;
00080 int i_object_id;
00081 vlc_value_t value;
00082 int i_type;
00083 }
00084
00085 - (id)initWithVar: (const char *)_psz_name Object: (int)i_id
00086 Value: (vlc_value_t)val ofType: (int)_i_type;
00087 - (char *)name;
00088 - (int)objectID;
00089 - (vlc_value_t)value;
00090 - (int)type;
00091
00092 @end