diff -r feebad15db8c -r c826656d6714 camerauis/cameraxui/cxui/inc/cxuicapturekeyhandler.h --- a/camerauis/cameraxui/cxui/inc/cxuicapturekeyhandler.h Thu Jul 15 01:53:45 2010 +0300 +++ b/camerauis/cameraxui/cxui/inc/cxuicapturekeyhandler.h Fri Aug 06 10:03:37 2010 +0300 @@ -1,5 +1,5 @@ /* -* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). +* Copyright (c) 2009-2010 Nokia Corporation and/or its subsidiary(-ies). * All rights reserved. * This component and the accompanying materials are made available * under the terms of "Eclipse Public License v1.0" @@ -14,20 +14,19 @@ * Description: * */ + #ifndef CXUICAPTUREKEYHANDLER_H #define CXUICAPTUREKEYHANDLER_H #include -class RWsSession; -class RWindowGroup; class QEvent; class CxeEngine; - +class CxuiCaptureKeyHandlerPrivate; class CxuiCaptureKeyHandler : public QObject { -Q_OBJECT + Q_OBJECT public: CxuiCaptureKeyHandler(CxeEngine &aEngine); virtual ~CxuiCaptureKeyHandler(); @@ -49,23 +48,8 @@ void captureKeyReleased(); private: - void listenKey(int key); - -private: - bool mAutofocusKeyPressed; - bool mCaptureKeyPressed; - - QList mCapturedKeyHandles; - QList mCapturedKeyUpDownHandles; - - QList mPrimaryCameraAutofocusKeys; - QList mPrimaryCameraCaptureKeys; - QList mSecondaryCameraCaptureKeys; - - CxeEngine &mEngine; - - RWsSession &mWsSession; // not own - RWindowGroup &mWindowGroup; // not own + CxuiCaptureKeyHandlerPrivate *d_ptr; + Q_DECLARE_PRIVATE(CxuiCaptureKeyHandler) }; #endif // CXUICAPTUREKEYHANDLER_H