Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
opencv
Commits
a50efda4
Commit
a50efda4
authored
Jan 23, 2017
by
Dal Rupnik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added export functions for ObjC classes
parent
205ccddf
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
5 deletions
+7
-5
cap_ios.h
modules/videoio/include/opencv2/videoio/cap_ios.h
+7
-5
No files found.
modules/videoio/include/opencv2/videoio/cap_ios.h
View file @
a50efda4
...
...
@@ -32,6 +32,8 @@
#import <ImageIO/ImageIO.h>
#include "opencv2/core.hpp"
#define OPENCV_OBJC_EXPORT __attribute__((visibility("default")))
//! @addtogroup videoio_ios
//! @{
...
...
@@ -39,7 +41,7 @@
@class
CvAbstractCamera
;
@interface
CvAbstractCamera
:
NSObject
OPENCV_OBJC_EXPORT
@interface
CvAbstractCamera
:
NSObject
{
UIDeviceOrientation
currentDeviceOrientation
;
...
...
@@ -87,7 +89,7 @@
@class
CvVideoCamera
;
@protocol
CvVideoCameraDelegate
<
NSObject
>
OPENCV_OBJC_EXPORT
@protocol
CvVideoCameraDelegate
<
NSObject
>
#ifdef __cplusplus
// delegate method for processing image frames
...
...
@@ -96,7 +98,7 @@
@end
@interface
CvVideoCamera
:
CvAbstractCamera
<
AVCaptureVideoDataOutputSampleBufferDelegate
>
OPENCV_OBJC_EXPORT
@interface
CvVideoCamera
:
CvAbstractCamera
<
AVCaptureVideoDataOutputSampleBufferDelegate
>
{
AVCaptureVideoDataOutput
*
videoDataOutput
;
...
...
@@ -129,14 +131,14 @@
@class
CvPhotoCamera
;
@protocol
CvPhotoCameraDelegate
<
NSObject
>
OPENCV_OBJC_EXPORT
@protocol
CvPhotoCameraDelegate
<
NSObject
>
-
(
void
)
photoCamera
:
(
CvPhotoCamera
*
)
photoCamera
capturedImage
:
(
UIImage
*
)
image
;
-
(
void
)
photoCameraCancel
:(
CvPhotoCamera
*
)
photoCamera
;
@end
@interface
CvPhotoCamera
:
CvAbstractCamera
OPENCV_OBJC_EXPORT
@interface
CvPhotoCamera
:
CvAbstractCamera
{
AVCaptureStillImageOutput
*
stillImageOutput
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment