diff -r ae942d28ec0e -r 2455ef1f5bbc javauis/lcdui_akn/lcdui/inc/MMIDScalable.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/javauis/lcdui_akn/lcdui/inc/MMIDScalable.h Wed Sep 01 12:33:18 2010 +0100 @@ -0,0 +1,41 @@ +/* +* 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. +* +*/ + + +#ifndef MMIDSCALABLE_H +#define MMIDSCALABLE_H + +// For TBool type +#include + +/** + * Interface class for scalable components. + * + * @since S60 5.0 + */ +class MMIDScalable +{ +public: + + /** + * Get information if current Displayble (like Canvas) is scaled. + * + * @return ETrue if scaling is on. EFalse otherwise. + * @since S60 5.0 + */ + virtual TBool IsScalingOn() const = 0; +}; + +#endif // MMIDSCALEBLE_H + +// End of File