mobilemessaging/unieditor/utils/inc/UniImageProcessor.inl
changeset 0 72b543305e3a
equal deleted inserted replaced
-1:000000000000 0:72b543305e3a
       
     1 /*
       
     2 * Copyright (c) 2007 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 * Contributors:
       
    13 *
       
    14 * Description: UniImageProcessor.inl*
       
    15 */
       
    16 
       
    17 
       
    18 
       
    19 // ========== INLINE METHODS ===============================
       
    20 
       
    21 // ---------------------------------------------------------
       
    22 // CUniImageProcessor::Error
       
    23 // ---------------------------------------------------------
       
    24 //
       
    25 inline TInt CUniImageProcessor::Error() const
       
    26     {
       
    27     return iError;
       
    28     }
       
    29     
       
    30 // ---------------------------------------------------------
       
    31 // CUniImageProcessor::SetOnlyDecodePlaneScaling
       
    32 // ---------------------------------------------------------
       
    33 //
       
    34 inline void CUniImageProcessor::SetOnlyDecodePlaneScaling( TBool aOnlyDecodeTimeScaling )
       
    35     {
       
    36     if ( aOnlyDecodeTimeScaling )
       
    37         {
       
    38         iFlags |= EOnlyDecodeTimeScaling;
       
    39         }
       
    40     else
       
    41         {
       
    42         iFlags &= ~EOnlyDecodeTimeScaling;
       
    43         }
       
    44     }
       
    45     
       
    46 // ---------------------------------------------------------
       
    47 // CUniImageProcessor::SetAllowScalingUp
       
    48 // ---------------------------------------------------------
       
    49 //  
       
    50 inline void CUniImageProcessor::SetAllowScalingUp( TBool aAllowScalingUp )
       
    51     {
       
    52     if ( aAllowScalingUp )
       
    53         {
       
    54         iFlags |= EAllowScalingUp;
       
    55         }
       
    56     else
       
    57         {
       
    58         iFlags &= ~EAllowScalingUp;
       
    59         }
       
    60     }
       
    61                
       
    62 //  End of File