VLCKit
VLCFilter.h
1 /*****************************************************************************
2  * VLCFilter.h: VLCKit.framework VLCFilter header
3  *****************************************************************************
4  * Copyright (C) 2022 VLC authors and VideoLAN
5  * $Id$
6  *
7  * Authors: Maxime Chapelet <umxprime # videolabs.io>
8  *
9  * This program is free software; you can redistribute it and/or modify it
10  * under the terms of the GNU Lesser General Public License as published by
11  * the Free Software Foundation; either version 2.1 of the License, or
12  * (at your option) any later version.
13  *
14  * This program is distributed in the hope that it will be useful,
15  * but WITHOUT ANY WARRANTY; without even the implied warranty of
16  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17  * GNU Lesser General Public License for more details.
18  *
19  * You should have received a copy of the GNU Lesser General Public License
20  * along with this program; if not, write to the Free Software Foundation,
21  * Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
22  *****************************************************************************/
23 
24 #ifndef VLCFilter_h
25 #define VLCFilter_h
26 
27 NS_ASSUME_NONNULL_BEGIN
28 
29 @class VLCMediaPlayer;
30 
31 @protocol VLCFilter;
32 
36 NS_SWIFT_NAME(VLCFilterParameterProtocol)
37 @protocol VLCFilterParameter <NSObject>
38 @property (nonatomic) id value;
39 @property (nonatomic, readonly) id defaultValue;
40 @property (nonatomic, readonly) id minValue;
41 @property (nonatomic, readonly) id maxValue;
42 - (BOOL)isValueSetToDefault;
43 @end
44 
45 @protocol VLCFilter <NSObject>
46 
50 @property (nonatomic, weak, readonly) VLCMediaPlayer *mediaPlayer;
51 
57 @property (nonatomic, getter=isEnabled) BOOL enabled;
58 
62 @property (nonatomic, readonly) NSDictionary< NSString*, id<VLCFilterParameter> > *parameters;
63 
71 
76 - (void)applyParametersFrom:(id<VLCFilter>)otherFilter;
77 
78 @end
79 
80 NS_ASSUME_NONNULL_END
81 
82 #endif /* VLCFilter_h */
-[VLCFilter-p resetParametersIfNeeded]
BOOL resetParametersIfNeeded()
VLCFilter-p::parameters
NSDictionary< NSString *, id< VLCFilterParameter > > * parameters
Definition: VLCFilter.h:62
VLCFilter-p::enabled
BOOL enabled
Definition: VLCFilter.h:57
VLCMediaPlayer
Definition: VLCMediaPlayer.h:184
VLCFilter-p::mediaPlayer
VLCMediaPlayer * mediaPlayer
Definition: VLCFilter.h:50
VLCFilter-p
Definition: VLCFilter.h:45
VLCFilterParameter-p
Definition: VLCFilter.h:37