00001 /***************************************************************************** 00002 * bookmarks.h: MacOS X Bookmarks window 00003 ***************************************************************************** 00004 * Copyright (C) 2005, 2007 the VideoLAN team 00005 * $Id: 2b255fc2db3732987f578d5befcd047743286880 $ 00006 * 00007 * Authors: Felix Kühne <fkuehne at videolan dot 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 #import <Cocoa/Cocoa.h> 00025 #import "intf.h" 00026 #import <vlc_common.h> 00027 00028 @interface VLCBookmarks : NSObject 00029 { 00030 /* main window */ 00031 IBOutlet id o_bookmarks_window; 00032 IBOutlet id o_btn_add; 00033 IBOutlet id o_btn_clear; 00034 IBOutlet id o_btn_edit; 00035 IBOutlet id o_btn_extract; 00036 IBOutlet id o_btn_rm; 00037 IBOutlet id o_tbl_dataTable; 00038 00039 /* edit window */ 00040 IBOutlet id o_edit_window; 00041 IBOutlet id o_edit_btn_ok; 00042 IBOutlet id o_edit_btn_cancel; 00043 IBOutlet id o_edit_lbl_name; 00044 IBOutlet id o_edit_lbl_time; 00045 IBOutlet id o_edit_lbl_bytes; 00046 IBOutlet id o_edit_fld_name; 00047 IBOutlet id o_edit_fld_time; 00048 IBOutlet id o_edit_fld_bytes; 00049 00050 input_thread_t *p_old_input; 00051 } 00052 00053 - (IBAction)add:(id)sender; 00054 - (IBAction)clear:(id)sender; 00055 - (IBAction)edit:(id)sender; 00056 - (IBAction)extract:(id)sender; 00057 - (IBAction)remove:(id)sender; 00058 - (IBAction)goToBookmark:(id)sender; 00059 00060 - (IBAction)edit_cancel:(id)sender; 00061 - (IBAction)edit_ok:(id)sender; 00062 00063 + (VLCBookmarks *)sharedInstance; 00064 00065 - (void)initStrings; 00066 - (void)showBookmarks; 00067 - (id)dataTable; 00068 @end
1.5.6