From 35a055b8bfc6f3cbea409b2897caf936654519cb Mon Sep 17 00:00:00 2001 From: Chih-Chung Chang Date: Thu, 6 May 2010 16:36:58 +0800 Subject: Support multiple cameras in framework. Change-Id: I081f0fbdca4b633715ea7c3b3d42f8662d27598a --- include/camera/Camera.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include/camera/Camera.h') diff --git a/include/camera/Camera.h b/include/camera/Camera.h index ee2b30c..1beac27 100644 --- a/include/camera/Camera.h +++ b/include/camera/Camera.h @@ -113,7 +113,8 @@ class Camera : public BnCameraClient, public IBinder::DeathRecipient public: // construct a camera client from an existing remote static sp create(const sp& camera); - static sp connect(); + static int32_t getNumberOfCameras(); + static sp connect(int cameraId); ~Camera(); void init(); -- cgit v1.1