From a48dd3fb34ac5b83bd397f53833f6dcc3469df76 Mon Sep 17 00:00:00 2001 From: Alex Ray Date: Wed, 19 Dec 2012 12:21:38 -0800 Subject: modules: camera: Defer documenting API Avoid duplicating the api docs in the example HAL, instead point to canonical source for them. Change-Id: If3f5acb7a73260248bd00ce01cb1c80f230f7188 --- modules/camera/Camera.h | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'modules/camera') diff --git a/modules/camera/Camera.h b/modules/camera/Camera.h index 72cbde2..ca66406 100644 --- a/modules/camera/Camera.h +++ b/modules/camera/Camera.h @@ -18,6 +18,7 @@ #define CAMERA_H_ #include +#include #include namespace default_camera_hal { @@ -37,15 +38,13 @@ class Camera { // module is a handle to the HAL module, used when the device is opened. Camera(int id, const hw_module_t* module); ~Camera(); - // Open this camera, preparing it for use. Returns nonzero on failure. + + // Common Camera Device Operations (see ) + camera2_device_t mDevice; int open(); - // Close this camera. Returns nonzero on failure. int close(); - // Query for camera metadata, filling info struct. Returns nonzero if - // allocation or initialization failed. int getCameraInfo(struct camera_info* info); - // Handle to this device passed to framework in response to open(). - camera2_device_t mDevice; + private: // One-time initialization of camera metadata. void init(); -- cgit v1.1