diff options
author | James Dong <jdong@google.com> | 2010-01-15 18:13:58 -0800 |
---|---|---|
committer | James Dong <jdong@google.com> | 2010-01-15 18:28:16 -0800 |
commit | dd172fce75b2a1c3cb3a5d3b3bbb5020b1ae8675 (patch) | |
tree | 538c2d1505e11dbb55aa0839c3181d96e812868c /include/media/mediarecorder.h | |
parent | 97419ed670a12f48a7609673da8ee5dc0376f075 (diff) | |
download | frameworks_av-dd172fce75b2a1c3cb3a5d3b3bbb5020b1ae8675.zip frameworks_av-dd172fce75b2a1c3cb3a5d3b3bbb5020b1ae8675.tar.gz frameworks_av-dd172fce75b2a1c3cb3a5d3b3bbb5020b1ae8675.tar.bz2 |
Media server death nodification
Diffstat (limited to 'include/media/mediarecorder.h')
-rw-r--r-- | include/media/mediarecorder.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/media/mediarecorder.h b/include/media/mediarecorder.h index 8c7392b..9ea6c7b 100644 --- a/include/media/mediarecorder.h +++ b/include/media/mediarecorder.h @@ -23,6 +23,7 @@ #include <utils/List.h> #include <utils/Errors.h> #include <media/IMediaPlayerClient.h> +#include <media/IMediaDeathNotifier.h> namespace android { @@ -145,12 +146,14 @@ public: virtual void notify(int msg, int ext1, int ext2) = 0; }; -class MediaRecorder : public BnMediaPlayerClient +class MediaRecorder : public BnMediaPlayerClient, + public virtual IMediaDeathNotifier { public: MediaRecorder(); ~MediaRecorder(); + void died(); status_t initCheck(); status_t setCamera(const sp<ICamera>& camera); status_t setPreviewSurface(const sp<Surface>& surface); |