uiacceltk/hitchcock/CommonInc/alfdrawerinternal.h
author Salvatore Rinaldo <salvatorer@symbian.org>
Tue, 15 Jun 2010 14:05:48 +0100
branchGCC_SURGE
changeset 36 a7cff2fbd499
parent 19 f5bac0badc7e
permissions -rw-r--r--
Bug 2959 - GCC compilation issues in sf/mw/uiaccelerator

/*
* 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 <e32std.h>

/**
 * 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