-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathFlashController.h
More file actions
31 lines (25 loc) · 812 Bytes
/
FlashController.h
File metadata and controls
31 lines (25 loc) · 812 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
//
// FlashController.h
// iStrobe
//
// Created by Nicholas Vellios on 7/25/10.
// Copyright 2010 Nick Vellios. All rights reserved.
//
// http://www.Vellios.com
// nick@vellios.com
//
// This code is released under the "Take a kid fishing or hunting license"
// In order to use any code in your project you must take a kid fishing or
// hunting and give some sort of credit to the author of the code either
// on your product's website, about box, or legal agreement.
// For more information visit http://www.Vellios.com/license/
//
#import <AVFoundation/AVFoundation.h>
@interface FlashController : NSObject {
AVCaptureSession *captureSession;
AVCaptureDevice *captureDevice;
}
@property (nonatomic, retain) AVCaptureSession *captureSession;
- (id)init;
- (void)toggleStrobe:(BOOL)strobeOn;
@end