diff options
author | Dave Sparks <davidsparks@android.com> | 2009-06-23 19:09:05 -0700 |
---|---|---|
committer | Dave Sparks <davidsparks@android.com> | 2009-06-24 07:58:27 -0700 |
commit | b1dffc48ca8aec61d99391495b3f436d0e8b16dd (patch) | |
tree | 0ed71e91e20db61d993388d4ee1bfad3f866cd10 /include/ui | |
parent | 5e27115995c4506dddf4f1271effd4fb4c935ad3 (diff) | |
download | frameworks_base-b1dffc48ca8aec61d99391495b3f436d0e8b16dd.zip frameworks_base-b1dffc48ca8aec61d99391495b3f436d0e8b16dd.tar.gz frameworks_base-b1dffc48ca8aec61d99391495b3f436d0e8b16dd.tar.bz2 |
Remove deprecated callback function support.
This is the last of a 3-part change to modify the camera to use
a more streamlined callback interface. This change removes the
old code.
Bug 1884362
Diffstat (limited to 'include/ui')
-rw-r--r-- | include/ui/Camera.h | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/include/ui/Camera.h b/include/ui/Camera.h index bd4855c..564a1db 100644 --- a/include/ui/Camera.h +++ b/include/ui/Camera.h @@ -152,14 +152,6 @@ public: // get preview/capture parameters - key/value pairs String8 getParameters() const; - void setShutterCallback(shutter_callback cb, void *cookie); - void setRawCallback(frame_callback cb, void *cookie); - void setJpegCallback(frame_callback cb, void *cookie); - void setRecordingCallback(frame_callback cb, void *cookie); - void setPreviewCallback(frame_callback cb, void *cookie, int preview_callback_flag = FRAME_CALLBACK_FLAG_NOOP); - void setErrorCallback(error_callback cb, void *cookie); - void setAutoFocusCallback(autofocus_callback cb, void *cookie); - void setListener(const sp<CameraListener>& listener); void setPreviewCallbackFlags(int preview_callback_flag); @@ -190,21 +182,6 @@ private: sp<ICamera> mCamera; status_t mStatus; - shutter_callback mShutterCallback; - void *mShutterCallbackCookie; - frame_callback mRawCallback; - void *mRawCallbackCookie; - frame_callback mJpegCallback; - void *mJpegCallbackCookie; - frame_callback mPreviewCallback; - void *mPreviewCallbackCookie; - frame_callback mRecordingCallback; - void *mRecordingCallbackCookie; - error_callback mErrorCallback; - void *mErrorCallbackCookie; - autofocus_callback mAutoFocusCallback; - void *mAutoFocusCallbackCookie; - sp<CameraListener> mListener; friend class DeathNotifier; |