32
32
#import < ImageIO/ImageIO.h>
33
33
#include " opencv2/core.hpp"
34
34
35
- #define OPENCV_OBJC_EXPORT __attribute__ ((visibility(" default" )))
36
-
37
35
// ! @addtogroup videoio_ios
38
36
// ! @{
39
37
40
38
// ///////////////////////////////////// CvAbstractCamera /////////////////////////////////////
41
39
42
40
@class CvAbstractCamera;
43
41
44
- OPENCV_OBJC_EXPORT @interface CvAbstractCamera : NSObject
42
+ CV_EXPORTS @interface CvAbstractCamera : NSObject
45
43
{
46
44
UIDeviceOrientation currentDeviceOrientation;
47
45
@@ -89,7 +87,7 @@ OPENCV_OBJC_EXPORT @interface CvAbstractCamera : NSObject
89
87
90
88
@class CvVideoCamera;
91
89
92
- OPENCV_OBJC_EXPORT @protocol CvVideoCameraDelegate <NSObject >
90
+ CV_EXPORTS @protocol CvVideoCameraDelegate <NSObject >
93
91
94
92
#ifdef __cplusplus
95
93
// delegate method for processing image frames
@@ -98,7 +96,7 @@ OPENCV_OBJC_EXPORT @protocol CvVideoCameraDelegate <NSObject>
98
96
99
97
@end
100
98
101
- OPENCV_OBJC_EXPORT @interface CvVideoCamera : CvAbstractCamera <AVCaptureVideoDataOutputSampleBufferDelegate>
99
+ CV_EXPORTS @interface CvVideoCamera : CvAbstractCamera <AVCaptureVideoDataOutputSampleBufferDelegate>
102
100
{
103
101
AVCaptureVideoDataOutput *videoDataOutput;
104
102
@@ -131,14 +129,14 @@ OPENCV_OBJC_EXPORT @interface CvVideoCamera : CvAbstractCamera<AVCaptureVideoDat
131
129
132
130
@class CvPhotoCamera;
133
131
134
- OPENCV_OBJC_EXPORT @protocol CvPhotoCameraDelegate <NSObject >
132
+ CV_EXPORTS @protocol CvPhotoCameraDelegate <NSObject >
135
133
136
134
- (void )photoCamera : (CvPhotoCamera*)photoCamera capturedImage : (UIImage *)image ;
137
135
- (void )photoCameraCancel : (CvPhotoCamera*)photoCamera ;
138
136
139
137
@end
140
138
141
- OPENCV_OBJC_EXPORT @interface CvPhotoCamera : CvAbstractCamera
139
+ CV_EXPORTS @interface CvPhotoCamera : CvAbstractCamera
142
140
{
143
141
AVCaptureStillImageOutput *stillImageOutput;
144
142
}
0 commit comments