VLCExtensionsManager.h 2 KB
Newer Older
1 2 3
/*****************************************************************************
 * VLCKit: VLCExtensionsManager
 *****************************************************************************
4
 * Copyright (C) 2010-2014 Pierre d'Herbemont and VideoLAN
5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
 *
 * Authors: Pierre d'Herbemont
 *
 * This program is free software; you can redistribute it and/or modify it
 * under the terms of the GNU Lesser General Public License as published by
 * the Free Software Foundation; either version 2.1 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 Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser 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.
 *****************************************************************************/
22 23 24 25

#import <Cocoa/Cocoa.h>

@class VLCExtension;
26
@class VLCMediaPlayer;
27

Felix Paul Kühne's avatar
Felix Paul Kühne committed
28 29 30
/**
 * manager class for lua extensions within VLC
 */
31 32
@interface VLCExtensionsManager : NSObject

Felix Paul Kühne's avatar
Felix Paul Kühne committed
33 34
/**
 * singleton manager instance
35
 * \deprecated will be removed in the next release
Felix Paul Kühne's avatar
Felix Paul Kühne committed
36
 */
37
+ (VLCExtensionsManager *)sharedManager __attribute__((deprecated));
Felix Paul Kühne's avatar
Felix Paul Kühne committed
38 39 40

/**
 * list of available extensions
41
 * \deprecated will be removed in the next release
Felix Paul Kühne's avatar
Felix Paul Kühne committed
42
 */
43
@property (NS_NONATOMIC_IOSONLY, readonly, copy) NSArray *extensions __attribute__((deprecated));
Felix Paul Kühne's avatar
Felix Paul Kühne committed
44 45 46 47

/**
 * start execution of a given extension instance
 * \param extension the extension to run
48
 * \deprecated will be removed in the next release
Felix Paul Kühne's avatar
Felix Paul Kühne committed
49
 */
50
- (void)runExtension:(VLCExtension *)extension __attribute__((deprecated));
51

Felix Paul Kühne's avatar
Felix Paul Kühne committed
52 53
/**
 * player instance to use with the extensions
54
 * \deprecated will be removed in the next release
Felix Paul Kühne's avatar
Felix Paul Kühne committed
55
 */
56
@property (readwrite, strong) VLCMediaPlayer *mediaPlayer __attribute__((deprecated));
57

58
@end