vlm.h
Go to the documentation of this file.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 #ifdef HAVE_CONFIG_H
00026 # import "config.h"
00027 #endif
00028
00029 #ifdef ENABLE_VLM
00030
00031 #import <Cocoa/Cocoa.h>
00032 #import "intf.h"
00033
00034 #import <vlc_vlm.h>
00035
00036 @interface VLCVLMController : NSObject
00037 {
00038
00039 IBOutlet NSButton *o_bcast_add_btn;
00040 IBOutlet NSBox *o_bcast_box;
00041 IBOutlet NSButton *o_bcast_cancel_btn;
00042 IBOutlet NSButton *o_bcast_enable_ckb;
00043 IBOutlet NSButton *o_bcast_input_btn;
00044 IBOutlet NSTextField *o_bcast_input_fld;
00045 IBOutlet NSButton *o_bcast_loop_ckb;
00046 IBOutlet NSTextField *o_bcast_name_fld;
00047 IBOutlet NSButton *o_bcast_output_btn;
00048 IBOutlet NSTextField *o_bcast_output_fld;
00049 IBOutlet NSPanel *o_bcast_panel;
00050
00051
00052 IBOutlet id o_sched_add_btn;
00053 IBOutlet id o_sched_box;
00054 IBOutlet id o_sched_cancel_btn;
00055 IBOutlet NSDatePicker *o_sched_date_datePicker;
00056 IBOutlet NSTextField *o_sched_date_lbl;
00057 IBOutlet NSButton *o_sched_input_btn;
00058 IBOutlet NSTextField *o_sched_input_fld;
00059 IBOutlet NSTextField *o_sched_input_lbl;
00060 IBOutlet NSTextField *o_sched_name_fld;
00061 IBOutlet NSTextField *o_sched_name_lbl;
00062 IBOutlet NSButton *o_sched_output_btn;
00063 IBOutlet NSTextField *o_sched_output_fld;
00064 IBOutlet NSTextField *o_sched_output_lbl;
00065 IBOutlet NSTextField *o_sched_repeat_fld;
00066 IBOutlet NSTextField *o_sched_repeat_lbl;
00067 IBOutlet NSDatePicker *o_sched_repeatDelay_datePicker;
00068 IBOutlet id o_sched_time_box;
00069 IBOutlet NSWindow *o_sched_panel;
00070
00071
00072 IBOutlet NSTableView *o_vlm_list;
00073 IBOutlet NSWindow *o_vlm_win;
00074
00075
00076 IBOutlet NSButton *o_vod_add_btn;
00077 IBOutlet id o_vod_box;
00078 IBOutlet NSButton *o_vod_cancel_btn;
00079 IBOutlet NSButton *o_vod_input_btn;
00080 IBOutlet NSTextField *o_vod_input_fld;
00081 IBOutlet NSTextField *o_vod_input_lbl;
00082 IBOutlet NSButton *o_vod_loop_ckb;
00083 IBOutlet NSTextField *o_vod_name_fld;
00084 IBOutlet NSTextField *o_vod_name_lbl;
00085 IBOutlet NSButton *o_vod_output_btn;
00086 IBOutlet NSTextField *o_vod_output_fld;
00087 IBOutlet NSTextField *o_vod_output_lbl;
00088 IBOutlet NSWindow *o_vod_panel;
00089 }
00090 + (VLCVLMController *)sharedInstance;
00091
00092
00093 - (NSToolbarItem *) toolbar: (NSToolbar *)o_toolbar
00094 itemForItemIdentifier: (NSString *)o_itemIdent
00095 willBeInsertedIntoToolbar: (BOOL)b_willBeInserted;
00096 - (NSArray *)toolbarDefaultItemIdentifiers: (NSToolbar *)toolbar;
00097 - (NSArray *)toolbarAllowedItemIdentifiers: (NSToolbar *)toolbar;
00098
00099 - (void)showVLMWindow;
00100 - (void)initStrings;
00101
00102 - (void)addBcast;
00103 - (void)addVOD;
00104 - (void)addSched;
00105
00106 - (IBAction)bcastButtonAction:(id)sender;
00107 - (IBAction)listDoubleClickAction:(id)sender;
00108 - (IBAction)schedButtonAction:(id)sender;
00109 - (IBAction)vodButtonAction:(id)sender;
00110
00111 - (int)numberOfRowsInTableView:(NSTableView *)aTableView;
00112 - (id)tableView:(NSTableView *)aTableView objectValueForTableColumn:(NSTableColumn *)aTableColumn row:(int)rowIndex;
00113 @end
00114
00115 #endif