Jelajahi Sumber

Headers: export class

When setting visibility to hidden by default and compiling into a
dynamic library/framework, VLCKit classes are not exposed. Adding
OBJC_VISIBLE allows epos
Alexandre Janniaux 5 tahun lalu
induk
melakukan
98b2d4dc25

+ 1 - 0
Headers/Public/VLCAudio.h

@@ -33,6 +33,7 @@ extern NSString *const VLCMediaPlayerVolumeChanged;
 /**
  * basic class to control audio output
  */
+OBJC_VISIBLE
 @interface VLCAudio : NSObject
 
 /**

+ 1 - 0
Headers/Public/VLCDialogProvider.h

@@ -112,6 +112,7 @@ typedef NS_ENUM(NSUInteger, VLCDialogQuestionType) {
  * dialog provider base class
  * \note For iOS and tvOS, there are useable implementations available which don't require the use of a custom renderer 
  */
+OBJC_VISIBLE
 @interface VLCDialogProvider : NSObject
 
 /**

+ 1 - 0
Headers/Public/VLCLibrary.h

@@ -38,6 +38,7 @@ NS_ASSUME_NONNULL_BEGIN
  * Currently, the framework does not support multiple instances of VLCLibrary.
  * Furthermore, you cannot destroy any instance of VLCLibrary; this is done automatically by the dynamic link loader.
  */
+OBJC_VISIBLE
 @interface VLCLibrary : NSObject
 
 /**

+ 1 - 0
Headers/Public/VLCMedia.h

@@ -109,6 +109,7 @@ typedef NS_ENUM(NSInteger, VLCMediaState) {
  * \see VLCMediaPlayer
  * \see VLCMediaList
  */
+OBJC_VISIBLE
 @interface VLCMedia : NSObject
 
 /* Factories */

+ 1 - 0
Headers/Public/VLCMediaDiscoverer.h

@@ -49,6 +49,7 @@ extern NSString *const VLCMediaDiscovererCategory;
  * VLCMediaDiscoverer
  */
 
+OBJC_VISIBLE
 @interface VLCMediaDiscoverer : NSObject
 
 /**

+ 1 - 0
Headers/Public/VLCMediaList.h

@@ -64,6 +64,7 @@ extern NSString *const VLCMediaListItemDeleted;
 /**
  * VLCMediaList
  */
+OBJC_VISIBLE
 @interface VLCMediaList : NSObject
 
 /**

+ 1 - 0
Headers/Public/VLCMediaListPlayer.h

@@ -62,6 +62,7 @@ typedef NS_ENUM(NSInteger, VLCRepeatMode) {
 /**
  * A media list player, which eases the use of playlists
  */
+OBJC_VISIBLE
 @interface VLCMediaListPlayer : NSObject
 
 /**

+ 1 - 0
Headers/Public/VLCMediaPlayer.h

@@ -155,6 +155,7 @@ extern NSString * VLCMediaPlayerStateToString(VLCMediaPlayerState state);
 /**
  * The player base class needed to do any playback
  */
+OBJC_VISIBLE
 @interface VLCMediaPlayer : NSObject
 
 /**

+ 1 - 0
Headers/Public/VLCMediaThumbnailer.h

@@ -32,6 +32,7 @@
 /**
  * a facility allowing you to do thumbnails in an efficient manner
  */
+OBJC_VISIBLE
 @interface VLCMediaThumbnailer : NSObject
 
 /**

+ 2 - 0
Headers/Public/VLCRendererDiscoverer.h

@@ -42,6 +42,7 @@ NS_ASSUME_NONNULL_BEGIN
 /**
  * Renderer Discoverer description
  */
+OBJC_VISIBLE
 @interface VLCRendererDiscovererDescription : NSObject
 
 /**
@@ -67,6 +68,7 @@ NS_ASSUME_NONNULL_BEGIN
 /**
  * Renderer Discoverer
  */
+OBJC_VISIBLE
 @interface VLCRendererDiscoverer : NSObject
 
 /**

+ 1 - 0
Headers/Public/VLCRendererItem.h

@@ -33,6 +33,7 @@ typedef NS_OPTIONS(NSInteger, VLCRendererPlay) {
 /**
  * Renderer Item
  */
+OBJC_VISIBLE
 @interface VLCRendererItem : NSObject
 
 /**

+ 1 - 0
Headers/Public/VLCStreamOutput.h

@@ -38,6 +38,7 @@ extern NSString * VLCDefaultStreamOutputRTP;
 /**
  * a class allowing you to stream media based on predefined definitions
  */
+OBJC_VISIBLE
 @interface VLCStreamOutput : NSObject
 
 /**

+ 1 - 0
Headers/Public/VLCStreamSession.h

@@ -29,6 +29,7 @@
 /**
  * control class for streaming sessions
  */
+OBJC_VISIBLE
 @interface VLCStreamSession : VLCMediaPlayer
 
 /**

+ 1 - 0
Headers/Public/VLCTime.h

@@ -27,6 +27,7 @@
 /**
  * Provides an object to define VLCMedia's time.
  */
+OBJC_VISIBLE
 @interface VLCTime : NSObject
 
 /**

+ 1 - 0
Headers/Public/VLCTranscoder.h

@@ -45,6 +45,7 @@ NS_ASSUME_NONNULL_BEGIN
 /**
  * Provides an object to convert a subtitle file and moviefile into one.
  */
+OBJC_VISIBLE
 @interface VLCTranscoder: NSObject
 
 /**

+ 1 - 0
Headers/Public/VLCVideoLayer.h

@@ -27,6 +27,7 @@
 /**
  * a custom layer for rendering video in a CoreAnimation environment
  */
+OBJC_VISIBLE
 @interface VLCVideoLayer : CALayer
 
 /**

+ 1 - 0
Headers/Public/VLCVideoView.h

@@ -28,6 +28,7 @@
 /**
  * a custom view suitable for video rendering in AppKit environments
  */
+OBJC_VISIBLE
 @interface VLCVideoView : NSView
 
 /* Properties */