Update contrib.
1 // Copyright (c) 2007-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.
25 #include "t_fpsappeng.h"
26 #include "t_fpsappview.h"
29 * Private constructor, does nothing
32 CFpsAppView::CFpsAppView()
37 * Standard 2 phase construction, constructs a View object
38 * @return pointer to the CPseudoAppView
39 * @param aRect - rectangle coordinate defining control's extent
41 CFpsAppView* CFpsAppView::NewL(const TRect& aRect)
43 CFpsAppView* self = new(ELeave) CFpsAppView();
44 CleanupStack::PushL(self);
45 self->ConstructL(aRect);
54 CFpsAppView::~CFpsAppView()
61 * @param aRect - rectangle coordinate defining control's extent
64 void CFpsAppView::ConstructL(const TRect& aRect)
68 iEng = CFpsAppEng::NewL(iEikonEnv->WsSession(), *(CCoeEnv::Static()->ScreenDevice()), Window());
72 void CFpsAppView::Draw(const TRect& /*aRect*/) const