securitydialogs/Autolock/inc/AutolockView.h
author Pat Downey <patd@symbian.org>
Wed, 01 Sep 2010 12:19:59 +0100
branchRCL_3
changeset 22 03674e5abf46
parent 0 164170e6151a
permissions -rw-r--r--
Revert incorrect RCL_3 drop: Revision: 201033 Kit: 201035

/*
* Copyright (c) 2002 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"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
*
* Initial Contributors:
* Nokia Corporation - initial contribution.
*
* Contributors:
*
* Description:
*
*/


#ifndef __AUTOLOCKVIEW_H__
#define __AUTOLOCKVIEW_H__

#include <aknview.h>
#include "AutolockContainer.h"

class CAutolockView : public CAknView
	{
	public:
		/**
        * Symbian OS constructor.
        */
		void ConstructL();
		/**
        * Destructor.
        */
		~CAutolockView();
	public: // from CAknView
		/**
        * Returns view id.
        * @return An unsigned integer (view id).
        */
        TUid Id() const;
		/**
        * Handles commands.
        * @param aCommand Command to be handled.
        * @return void.
        */
		void HandleCommandL(TInt aCommand);
		/**
        * Handles statuspane changes
        * @return void.
        */
		void HandleStatusPaneSizeChange();
		/**
        * Handles screen layout changes
        */
        void ScreenDeviceChanged();
        void MakeVisible(TBool aVisibility);
        void HandleCall(TInt aCommand, TRect &aRect );
	private: // from CAknView
		/**
        * Activates the view.
        * @param aPrevViewId ID of previous view
        * @param aCustomMessageId customized message ID
        * @param aCustomMessage sutomized message payload
        */
		void DoActivateL(const TVwsViewId& aPrevViewId,TUid aCustomMessageId,const TDesC8& aCustomMessage);
		/**
        * Deactivates view
        */
		void DoDeactivate();
	private: // data
		CAutolockContainer* iView;
		};
#endif 
// end of file