www.pudn.com > MyP990Camera.zip > MyP990CameraBaseView.h
/***************************************************************************** COPYRIGHT All rights reserved Sony Ericsson Mobile Communications AB 2006. The software is the copyrighted work of Sony Ericsson Mobile Communications AB. The use of the software is subject to the terms of use or of the end-user license agreement which accompanies or is included with the software. The software is provided "as is" and Sony Ericsson specifically disclaim any warranty or condition whatsoever regarding merchantability or fitness for a specific purpose, title or non-infringement. No warranty of any kind is made in relation to the condition, suitability, availability, accuracy, reliability, merchantability and/or non-infringement of the software provided herein. *****************************************************************************/ // MyP990CameraBaseView.h #ifndef __MYP990CAMERABASEVIEW_H__ #define __MYP990CAMERABASEVIEW_H__ #include#include class CQikFullscreenFloatingMenu; class CMyFileHandler; class CMyCameraHandler; class CMyP990CameraBaseView : public CQikViewBase { public: static CMyP990CameraBaseView* NewLC(CQikAppUi& aAppUi, CMyFileHandler& aFileHandler, CMyCameraHandler& aCameraHandler); ~CMyP990CameraBaseView(); TVwsViewId ViewId() const; void MySetViewMode(TQikViewMode aViewMode); protected: void ViewConstructL(); private: CMyP990CameraBaseView(CQikAppUi& aAppUi, CMyFileHandler& aFileHandler, CMyCameraHandler& aCameraHandler); void ConstructL(); void HandlePointerEventL(const TPointerEvent& aPointerEvent); TKeyResponse OfferKeyEventL(const TKeyEvent &aKeyEvent, TEventCode aType); private: // icon for menu in i.e full screen mode CQikFullscreenFloatingMenu* iFloatingMenu; // utility to convert/save bitmap to file in choosen format CMyFileHandler& iFileHandler; CMyCameraHandler& iCameraHandler; // lock while saving - taking only one picture at a time TBool iTakingPicture; }; #endif