diff -r 10534483575f -r 88b23e2e82e1 uiacceltk/hitchcock/CommonInc/alfdrawerinternal.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/uiacceltk/hitchcock/CommonInc/alfdrawerinternal.h Wed Mar 31 23:03:58 2010 +0300 @@ -0,0 +1,47 @@ +/* +* Copyright (c) 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" +* 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: Internal interface for CAlfDrawer +* +*/ + + + +#ifndef ALFDRAWERINTERNAL_H +#define ALFDRAWERINTERNAL_H + +#include + +/** + * Interface to get screen & parameters + */ +class MAlfDrawerScreenInterface + { +public: + virtual TInt GetSizeAndRotation(TSize& aSize, TInt& aRotation) = 0; + virtual TInt ReadPixels(CFbsBitmap* aBitmap) = 0; + }; + +/** + * Internal drawer interface. + */ +NONSHARABLE_CLASS( AlfDrawerInternal ) + { +public: + IMPORT_C static TInt CopyScreenToBitmap( + MAlfDrawerScreenInterface* aInterface, + CFbsBitmap* aBitmap, + const TRect& aRect ); + }; + +#endif // ALFDRAWERINTERNAL_H