diff -r f345bda72bc4 -r 43e37759235e Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/cameraengineobserver_8h_source.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/cameraengineobserver_8h_source.html Tue Mar 30 16:16:55 2010 +0100 @@ -0,0 +1,74 @@ + + +
+ +00001 /* +00002 * ============================================================================ +00003 * Name : cameraengineobserver.h +00004 * Part of : CameraWrapper +00005 * Description : Observer interface for camera engine (wrapper DLL) +00006 * Version : %version: 1 % +00007 * +00008 * Copyright (c) 2009 Nokia Corporation. +00009 * This material, including documentation and any related +00010 * computer programs, is protected by copyright controlled by +00011 * Nokia Corporation. +00012 * ============================================================================== +00013 */ +00014 +00015 #ifndef __CCAMERAENGINEOBSERVER_H__ +00016 #define __CCAMERAENGINEOBSERVER_H__ +00017 +00018 // FORWARD DECLARATIONS +00019 class CFbsBitmap; +00020 class TECAMEvent; +00021 +00022 enum TCameraEngineError +00023 { +00024 EErrReserve, +00025 EErrPowerOn, +00026 EErrViewFinderReady, +00027 EErrImageReady, +00028 EErrAutoFocusInit, +00029 EErrAutoFocusMode, +00030 EErrAutoFocusArea, +00031 EErrAutoFocusRange, +00032 EErrAutoFocusType, +00033 EErrOptimisedFocusComplete, +00034 }; +00035 +00036 +00037 class MCameraEngineObserver +00038 { +00039 public: +00040 +00044 virtual void MceoCameraReady() = 0; +00045 +00049 virtual void MceoFocusComplete() = 0; +00050 +00056 virtual void MceoCapturedDataReady( TDesC8* aData ) = 0; +00057 +00064 virtual void MceoCapturedBitmapReady( CFbsBitmap* aBitmap ) = 0; +00065 +00073 virtual void MceoViewFinderFrameReady( CFbsBitmap& aFrame ) = 0; +00074 +00080 virtual void MceoHandleError( TCameraEngineError aErrorType, TInt aError ) = 0; +00081 +00087 virtual void MceoHandleOtherEvent( const TECAMEvent& /*aEvent*/ ) {} +00088 }; +00089 +00090 #endif // __CCAMERAENGINEOBSERVER_H__ +00091 +00092 // eof +