00001
00002
00003
00004
00005
00006
00007 #import "NSObject.h"
00008
00009 @class LKLayer, UIView;
00010
00011 @interface CameraController : NSObject
00012 {
00013 LKLayer *_cameraLayer;
00014 struct CameraDevice *_camera;
00015 struct CameraImageQueueHelper *_cameraHelper;
00016 id _delegate;
00017 UIView *_previewView;
00018 BOOL _isPreviewing;
00019 }
00020
00021 + (id)sharedInstance;
00022 - (id)init;
00023 - (void)_setIsReady;
00024 - (BOOL)isReady;
00025 - (void)_tookPicture:(struct __CoreSurfaceBuffer *)fp8;
00026 - (void)_tookPicture:(struct CGImage *)fp8 jpegData:(struct __CFData *)fp12 imageProperties:(struct __CFDictionary *)fp16;
00027 - (struct CameraImageQueueHelper *)_cameraHelper;
00028 - (BOOL)_setupCamera;
00029 - (void)_tearDownCamera;
00030 - (void)setDelegate:(id)fp8;
00031 - (struct CGRect)_cameraFrame;
00032 - (id)previewView;
00033 - (void)startPreview;
00034 - (void)stopPreview;
00035 - (void)capturePhoto;
00036
00037 @end
00038