]> git.sesse.net Git - vlc/blob - modules/gui/macosx/ExtensionsDialogProvider.h
macosx: fix time slider knob alignment in bright mode
[vlc] / modules / gui / macosx / ExtensionsDialogProvider.h
1 /*****************************************************************************
2  * ExtensionsDialogProvider.h: Mac OS X Extensions Dialogs
3  *****************************************************************************
4  * Copyright (C) 2005-2012 VLC authors and VideoLAN
5  * $Id$
6  *
7  * Authors: Brendon Justin <brendonjustin@gmail.com>,
8  *          Derk-Jan Hartman <hartman@videolan dot org>,
9  *          Felix Paul Kühne <fkuehne@videolan dot org>
10  *
11  * This program is free software; you can redistribute it and/or modify
12  * it under the terms of the GNU General Public License as published by
13  * the Free Software Foundation; either version 2 of the License, or
14  * (at your option) any later version.
15  *
16  * This program is distributed in the hope that it will be useful,
17  * but WITHOUT ANY WARRANTY; without even the implied warranty of
18  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
19  * GNU General Public License for more details.
20  *
21  * You should have received a copy of the GNU General Public License
22  * along with this program; if not, write to the Free Software
23  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
24  *****************************************************************************/
25
26 #import "coredialogs.h"
27 #import "intf.h"
28 #import "VLCUIWidgets.h"
29
30 #import <vlc_common.h>
31 #import <vlc_dialog.h>
32 #import <vlc_extensions.h>
33
34 #import <Cocoa/Cocoa.h>
35
36 /*****************************************************************************
37  * ExtensionsDialogProvider interface
38  *****************************************************************************/
39 @interface ExtensionsDialogProvider : NSObject <NSWindowDelegate>
40 {
41     intf_thread_t *p_intf;
42 }
43
44 + (ExtensionsDialogProvider *)sharedInstance:(intf_thread_t *)_p_intf;
45 + (void)killInstance;
46
47 - (id)initWithIntf:(intf_thread_t *)_p_intf;
48
49 - (void)performEventWithObject: (NSValue *)o_value ofType:(const char*)type;
50
51 - (void)triggerClick:(id)sender;
52 - (void)syncTextField:(NSNotification *)notifcation;
53 - (void)tableViewSelectionDidChange:(NSNotification *)notifcation;
54 - (void)popUpSelectionChanged:(id)sender;
55 - (NSSize)windowWillResize:(NSWindow *)sender toSize:(NSSize)frameSize;
56 - (BOOL)windowShouldClose:(id)sender;
57 - (void)updateWidgets:(extension_dialog_t *)dialog;
58
59 - (VLCDialogWindow *)createExtensionDialog:(extension_dialog_t *)p_dialog;
60 - (int)destroyExtensionDialog:(extension_dialog_t *)o_value;
61 - (VLCDialogWindow *)updateExtensionDialog:(NSValue *)o_value;
62 - (void)manageDialog:(extension_dialog_t *)p_dialog;
63
64 @end