You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
774 B
39 lines
774 B
// |
|
// Constants.h |
|
// CameraWithAVFoundation |
|
// |
|
// Created by Christopher Cohen on 1/24/15. |
|
// Copyright (c) 2015 Gabriel Alvarado. All rights reserved. |
|
// |
|
|
|
#import <Foundation/Foundation.h> |
|
#import <UIKit/UIKit.h> |
|
|
|
@interface Constants : NSObject |
|
|
|
///Type Definitions |
|
|
|
typedef NS_ENUM(BOOL, CameraType) { |
|
FrontFacingCamera, |
|
RearFacingCamera, |
|
}; |
|
|
|
typedef NS_ENUM(NSInteger, BarButtonTag) { |
|
ShutterButtonTag, |
|
ToggleButtonTag, |
|
FlashButtonTag, |
|
DismissButtonTag, |
|
}; |
|
|
|
typedef struct { |
|
CGFloat ISO; |
|
CGFloat exposureDuration; |
|
CGFloat aperture; |
|
CGFloat lensPosition; |
|
} CameraStatistics; |
|
|
|
///Function Prototype declarations |
|
|
|
CameraStatistics cameraStatisticsMake(float aperture, float exposureDuration, float ISO, float lensPostion); |
|
|
|
@end
|
|
|