]> git.sesse.net Git - vlc/blob - modules/gui/macosx/AddonManager.h
e47d5b0e4ef5b6d181ce2a4ac96164f0f4f88db9
[vlc] / modules / gui / macosx / AddonManager.h
1 /*****************************************************************************
2  * AddonManager.h: Addons manager for the Mac
3  ****************************************************************************
4  * Copyright (C) 2014 VideoLAN and authors
5  * Author:       Felix Paul Kühne <fkuehne # videolan.org>
6  *
7  * This program is free software; you can redistribute it and/or modify
8  * it under the terms of the GNU General Public License as published by
9  * the Free Software Foundation; either version 2 of the License, or
10  * (at your option) any later version.
11  *
12  * This program is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15  * GNU General Public License for more details.
16  *
17  * You should have received a copy of the GNU General Public License
18  * along with this program; if not, write to the Free Software
19  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
20  *****************************************************************************/
21
22 #import <Cocoa/Cocoa.h>
23
24 @interface VLCAddonManager : NSObject <NSTableViewDataSource, NSTableViewDelegate>
25 {
26     IBOutlet NSWindow *_window;
27     IBOutlet NSPopUpButton *_typeSwitcher;
28     IBOutlet NSButton *_localAddonsOnlyCheckbox;
29     IBOutlet NSTableView *_addonsTable;
30     IBOutlet NSProgressIndicator *_spinner;
31     IBOutlet NSTextField *_name;
32     IBOutlet NSTextField *_author;
33     IBOutlet NSTextField *_version;
34     IBOutlet NSTextView *_description;
35 }
36 + (VLCAddonManager *)sharedInstance;
37
38 - (void)showWindow;
39 - (IBAction)switchType:(id)sender;
40 - (IBAction)toggleLocalCheckbox:(id)sender;
41 - (IBAction)installSelection:(id)sender;
42 - (IBAction)uninstallSelection:(id)sender;
43 - (IBAction)refresh:(id)sender;
44
45 @end