From 78624e41da166712aaa5ae47e4d3467337ac810a Mon Sep 17 00:00:00 2001 From: Wu-cheng Li Date: Tue, 11 May 2010 12:11:56 +0800 Subject: Add remove method in CameraParameters class. bug:2672651 Change-Id: I537c817b5ca6a3d925f22febe9a5769156354d00 --- include/camera/CameraParameters.h | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) (limited to 'include/camera') diff --git a/include/camera/CameraParameters.h b/include/camera/CameraParameters.h index 3b0e9e5..5ea83a5 100644 --- a/include/camera/CameraParameters.h +++ b/include/camera/CameraParameters.h @@ -39,23 +39,16 @@ public: int getInt(const char *key) const; float getFloat(const char *key) const; - /* preview-size=176x144 */ + void remove(const char *key); + void setPreviewSize(int width, int height); void getPreviewSize(int *width, int *height) const; - - /* preview-fps=15 */ void setPreviewFrameRate(int fps); int getPreviewFrameRate() const; - - /* preview-format=rgb565|yuv422 */ void setPreviewFormat(const char *format); const char *getPreviewFormat() const; - - /* picture-size=1024x768 */ void setPictureSize(int width, int height); void getPictureSize(int *width, int *height) const; - - /* picture-format=yuv422|jpeg */ void setPictureFormat(const char *format); const char *getPictureFormat() const; -- cgit v1.1