javauis/lcdui_akn/lcdui/inc/MMIDScalable.h
branchRCL_3
changeset 25 9ac0a0a7da70
equal deleted inserted replaced
24:0fd27995241b 25:9ac0a0a7da70
       
     1 /*
       
     2 * Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 */
       
    13 
       
    14 
       
    15 #ifndef MMIDSCALABLE_H
       
    16 #define MMIDSCALABLE_H
       
    17 
       
    18 // For TBool type
       
    19 #include <e32def.h>
       
    20 
       
    21 /**
       
    22  * Interface class for scalable components.
       
    23  *
       
    24  * @since S60 5.0
       
    25  */
       
    26 class MMIDScalable
       
    27 {
       
    28 public:
       
    29 
       
    30     /**
       
    31      * Get information if current Displayble (like Canvas) is scaled.
       
    32       *
       
    33      * @return ETrue if scaling is on. EFalse otherwise.
       
    34      * @since S60 5.0
       
    35      */
       
    36     virtual TBool IsScalingOn() const = 0;
       
    37 };
       
    38 
       
    39 #endif // MMIDSCALEBLE_H
       
    40 
       
    41 // End of File