1.1 --- a/epoc32/include/hlpzoom.h Tue Mar 16 16:12:26 2010 +0000
1.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
1.3 @@ -1,83 +0,0 @@
1.4 -// Copyright (c) 2000-2009 Nokia Corporation and/or its subsidiary(-ies).
1.5 -// All rights reserved.
1.6 -// This component and the accompanying materials are made available
1.7 -// under the terms of the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
1.8 -// which accompanies this distribution, and is available
1.9 -// at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
1.10 -//
1.11 -// Initial Contributors:
1.12 -// Nokia Corporation - initial contribution.
1.13 -//
1.14 -// Contributors:
1.15 -//
1.16 -// Description:
1.17 -//
1.18 -
1.19 -#ifndef __HLPZOOM_H__
1.20 -#define __HLPZOOM_H__
1.21 -
1.22 -// System includes
1.23 -#include <e32std.h>
1.24 -
1.25 -// Classes referenced
1.26 -class MGraphicsDeviceMap;
1.27 -
1.28 -
1.29 -///////////////////////////////////////////////////////////////////////////////////////
1.30 -// ----> MHlpZoomStateManager (header)
1.31 -///////////////////////////////////////////////////////////////////////////////////////
1.32 -class MHlpZoomStateManager
1.33 -/**
1.34 -@internalComponent
1.35 -@released
1.36 -*/
1.37 - {
1.38 -public: // Zoom state
1.39 - enum THlpZoomState
1.40 - {
1.41 - EHlpZoomStateSmall = -1,
1.42 - EHlpZoomStateNormal = 0,
1.43 - EHlpZoomStateLarge = 1
1.44 - };
1.45 -
1.46 -public: // From MHlpZoomStateManager
1.47 - virtual void SetZoomState(THlpZoomState aState) = 0;
1.48 - virtual THlpZoomState ZoomState() const = 0;
1.49 -
1.50 -public: // From MHlpZoomStateManager
1.51 - virtual MGraphicsDeviceMap& ZoomDeviceMap() const = 0;
1.52 - virtual TInt ZoomFactorValueForZoomState(THlpZoomState aState) const = 0;
1.53 - };
1.54 -
1.55 -
1.56 -
1.57 -///////////////////////////////////////////////////////////////////////////////////////
1.58 -// ----> MHlpZoomStateObserver (header)
1.59 -///////////////////////////////////////////////////////////////////////////////////////
1.60 -class MHlpZoomStateObserver
1.61 -/**
1.62 -@internalComponent
1.63 -@released
1.64 -*/
1.65 - {
1.66 -public: // From MHlpZoomStateObserver
1.67 - virtual void HandleZoomStateChangedL(MHlpZoomStateManager::THlpZoomState aZoomState) = 0;
1.68 - };
1.69 -
1.70 -
1.71 -
1.72 -///////////////////////////////////////////////////////////////////////////////////////
1.73 -// ----> MHlpZoomStateChangeNotifier (header)
1.74 -///////////////////////////////////////////////////////////////////////////////////////
1.75 -class MHlpZoomStateChangeNotifier : public MHlpZoomStateManager
1.76 -/**
1.77 -@internalComponent
1.78 -@released
1.79 -*/
1.80 - {
1.81 -public: // From MHlpZoomStateChangeNotifier
1.82 - virtual void RegisterForZoomStateChangeNotificationsL(MHlpZoomStateObserver& aObserver) = 0;
1.83 - virtual void RegisterForZoomStateChangeNotificationsCancel(MHlpZoomStateObserver& aObserver) = 0;
1.84 - };
1.85 -
1.86 -#endif