You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
126 lines
3.8 KiB
126 lines
3.8 KiB
/*****************************************************************************
|
|
* MainWindow.h: MacOS X interface module
|
|
*****************************************************************************
|
|
* Copyright (C) 2002-2014 VLC authors and VideoLAN
|
|
* $Id$
|
|
*
|
|
* Authors: Felix Paul Kühne <fkuehne -at- videolan -dot- org>
|
|
* Jon Lech Johansen <jon-vl@nanocrew.net>
|
|
* Christophe Massiot <massiot@via.ecp.fr>
|
|
* Derk-Jan Hartman <hartman at videolan.org>
|
|
* David Fuhrmann <david dot fuhrmann at googlemail dot com>
|
|
*
|
|
* 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
|
|
* GNU General Public License for more details.
|
|
*
|
|
* 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., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
|
|
*****************************************************************************/
|
|
|
|
#import <Cocoa/Cocoa.h>
|
|
#import "PXSourceList.h"
|
|
#import "PXSourceListDataSource.h"
|
|
|
|
#import <vlc_input.h>
|
|
#import <vlc_vout_window.h>
|
|
|
|
#import "Windows.h"
|
|
#import "misc.h"
|
|
#import "fspanel.h"
|
|
#import "MainWindowTitle.h"
|
|
|
|
@class VLCDetachedVideoWindow;
|
|
@class VLCMainWindowControlsBar;
|
|
@class VLCVoutView;
|
|
|
|
typedef enum {
|
|
psUserEvent,
|
|
psUserMenuEvent,
|
|
psVideoStartedOrStoppedEvent,
|
|
psPlaylistItemChangedEvent
|
|
} VLCPlaylistStateEvent;
|
|
|
|
@interface VLCMainWindow : VLCVideoWindowCommon
|
|
{
|
|
IBOutlet id o_search_fld;
|
|
|
|
IBOutlet id o_playlist_table;
|
|
IBOutlet id o_outline_view;
|
|
IBOutlet id o_split_view;
|
|
IBOutlet id o_left_split_view;
|
|
IBOutlet id o_right_split_view;
|
|
IBOutlet id o_sidebar_view;
|
|
IBOutlet id o_sidebar_scrollview;
|
|
IBOutlet id o_chosen_category_lbl;
|
|
|
|
IBOutlet id o_dropzone_view;
|
|
IBOutlet id o_dropzone_btn;
|
|
IBOutlet id o_dropzone_lbl;
|
|
IBOutlet id o_dropzone_box;
|
|
IBOutlet id o_dropzone_img;
|
|
|
|
IBOutlet id o_podcast_view;
|
|
IBOutlet id o_podcast_add_btn;
|
|
IBOutlet id o_podcast_remove_btn;
|
|
IBOutlet id o_podcast_subscribe_window;
|
|
IBOutlet id o_podcast_subscribe_title_lbl;
|
|
IBOutlet id o_podcast_subscribe_subtitle_lbl;
|
|
IBOutlet id o_podcast_subscribe_url_fld;
|
|
IBOutlet id o_podcast_subscribe_cancel_btn;
|
|
IBOutlet id o_podcast_subscribe_ok_btn;
|
|
IBOutlet id o_podcast_unsubscribe_window;
|
|
IBOutlet id o_podcast_unsubscribe_title_lbl;
|
|
IBOutlet id o_podcast_unsubscribe_subtitle_lbl;
|
|
IBOutlet id o_podcast_unsubscribe_pop;
|
|
IBOutlet id o_podcast_unsubscribe_ok_btn;
|
|
IBOutlet id o_podcast_unsubscribe_cancel_btn;
|
|
}
|
|
|
|
@property (readonly) BOOL nativeFullscreenMode;
|
|
@property (readwrite) BOOL nonembedded;
|
|
|
|
@property (readonly) VLCFSPanel* fspanel;
|
|
|
|
- (void)changePlaylistState:(VLCPlaylistStateEvent)event;
|
|
|
|
- (IBAction)dropzoneButtonAction:(id)sender;
|
|
|
|
- (IBAction)addPodcast:(id)sender;
|
|
- (IBAction)addPodcastWindowAction:(id)sender;
|
|
- (IBAction)removePodcast:(id)sender;
|
|
- (IBAction)removePodcastWindowAction:(id)sender;
|
|
|
|
- (IBAction)searchItem:(id)sender;
|
|
|
|
- (void)windowResizedOrMoved:(NSNotification *)notification;
|
|
|
|
- (void)reloadSidebar;
|
|
|
|
- (void)toggleLeftSubSplitView;
|
|
- (void)showDropZone;
|
|
- (void)hideDropZone;
|
|
- (void)updateTimeSlider;
|
|
- (void)updateWindow;
|
|
- (void)updateName;
|
|
- (void)setPause;
|
|
- (void)setPlay;
|
|
- (void)updateVolumeSlider;
|
|
|
|
- (void)showFullscreenController;
|
|
|
|
- (void)videoplayWillBeStarted;
|
|
- (void)setVideoplayEnabled;
|
|
|
|
@end
|
|
|
|
@interface VLCDetachedVideoWindow : VLCVideoWindowCommon
|
|
|
|
@end
|
|
|