Commit 8861bc52 authored by Felix Paul Kühne's avatar Felix Paul Kühne

macosx/bookmarks: remove object from xib file

parent 1ca35e8e
/***************************************************************************** /*****************************************************************************
* bookmarks.h: MacOS X Bookmarks window * bookmarks.h: MacOS X Bookmarks window
***************************************************************************** *****************************************************************************
* Copyright (C) 2005, 2007 VLC authors and VideoLAN * Copyright (C) 2005, 2007, 2015 VLC authors and VideoLAN
* $Id$ * $Id$
* *
* Authors: Felix Kühne <fkuehne at videolan dot org> * Authors: Felix Kühne <fkuehne at videolan dot org>
...@@ -26,27 +26,27 @@ ...@@ -26,27 +26,27 @@
#import <vlc_common.h> #import <vlc_common.h>
@interface VLCBookmarks : NSObject @interface VLCBookmarks : NSObject
{
/* main window */
IBOutlet id o_bookmarks_window;
IBOutlet id o_btn_add;
IBOutlet id o_btn_clear;
IBOutlet id o_btn_edit;
IBOutlet id o_btn_extract;
IBOutlet id o_btn_rm;
IBOutlet id o_tbl_dataTable;
/* edit window */
IBOutlet id o_edit_window;
IBOutlet id o_edit_btn_ok;
IBOutlet id o_edit_btn_cancel;
IBOutlet id o_edit_lbl_name;
IBOutlet id o_edit_lbl_time;
IBOutlet id o_edit_fld_name;
IBOutlet id o_edit_fld_time;
}
+ (VLCBookmarks *)sharedInstance; + (VLCBookmarks *)sharedInstance;
/* main window */
@property (readwrite, weak) IBOutlet NSWindow *bookmarksWindow;
@property (readwrite, weak) IBOutlet NSButton *addButton;
@property (readwrite, weak) IBOutlet NSButton *clearButton;
@property (readwrite, weak) IBOutlet NSButton *editButton;
@property (readwrite, weak) IBOutlet NSButton *extractButton;
@property (readwrite, weak) IBOutlet NSButton *removeButton;
@property (readwrite, weak) IBOutlet NSTableView *dataTable;
/* edit window */
@property (readwrite, weak) IBOutlet NSWindow *editBookmarksWindow;
@property (readwrite, weak) IBOutlet NSButton *editOKButton;
@property (readwrite, weak) IBOutlet NSButton *editCancelButton;
@property (readwrite, weak) IBOutlet NSTextField *editNameLabel;
@property (readwrite, weak) IBOutlet NSTextField *editTimeLabel;
@property (readwrite, weak) IBOutlet NSTextField *editNameTextField;
@property (readwrite, weak) IBOutlet NSTextField *editTimeTextField;
- (void)updateCocoaWindowLevel:(NSInteger)i_level; - (void)updateCocoaWindowLevel:(NSInteger)i_level;
- (IBAction)add:(id)sender; - (IBAction)add:(id)sender;
......
This diff is collapsed.
...@@ -1276,7 +1276,7 @@ audio_output_t *getAout(void) ...@@ -1276,7 +1276,7 @@ audio_output_t *getAout(void)
o_bookmarks = [[VLCBookmarks alloc] init]; o_bookmarks = [[VLCBookmarks alloc] init];
if (!nib_bookmarks_loaded) if (!nib_bookmarks_loaded)
nib_bookmarks_loaded = [NSBundle loadNibNamed:@"Bookmarks" owner: NSApp]; nib_bookmarks_loaded = [NSBundle loadNibNamed:@"Bookmarks" owner:o_bookmarks];
return o_bookmarks; return o_bookmarks;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment