First public contribution.
     1 // Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
 
     2 // All rights reserved.
 
     3 // This component and the accompanying materials are made available
 
     4 // under the terms of "Eclipse Public License v1.0"
 
     5 // which accompanies this distribution, and is available
 
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
 
     8 // Initial Contributors:
 
     9 // Nokia Corporation - initial contribution.
 
    19  @internalComponent - Internal Symbian test code 
 
    22 #ifndef TSMALLWINDOWZOOM_H
 
    23 #define TSMALLWINDOWZOOM_H
 
    26 #include "tsmallwindowraster.h"
 
    29 class CTSmallWindowZoom : public CTSmallWindowRaster
 
    32 	virtual ~CTSmallWindowZoom();
 
    34 	static CTWindow* NewL(RWsSession &aWs,
 
    35 			const RWindowTreeNode &aParent, 
 
    36 			const TPoint& aStartingPoint,
 
    37 			const TSize& aWindowSize);
 
    39 	virtual void LoadL(CSurfaceUtility* aUtility, TPtrC aFileName);
 
    40 	virtual void RenderL();
 
    43 	CTSmallWindowZoom(const TPoint& aStartingPoint, const TSize& aWindowSize);
 
    44 	void ConstructL(RWsSession &aWs, const RWindowTreeNode &aParent);
 
    47     enum TZoom {EZoomIn, EZoomOut};
 
    55 #endif // CTSMALLWINDOWZOOM_H