emailuis/uicomponents/inc/fsrichtextpicture.h
changeset 0 8466d47a6819
equal deleted inserted replaced
-1:000000000000 0:8466d47a6819
       
     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:  Specialization of CFsRichTextObject for picture storing
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef C_FSRICHTEXTPICTURE_H
       
    20 #define C_FSRICHTEXTPICTURE_H
       
    21 
       
    22 #include <e32base.h>
       
    23 
       
    24 #include "fsrichtextobject.h"
       
    25 
       
    26 class CFsTexture;
       
    27 
       
    28 class CFsRichTextPicture : public CBase, public MFsRichTextObject
       
    29     {
       
    30     public:
       
    31         /**
       
    32     	* CFsRichTextPicture* NewL( 
       
    33     	*       const TSize aSize );
       
    34         * 
       
    35     	* @param aSize
       
    36         */
       
    37     	static CFsRichTextPicture* NewL( );
       
    38     
       
    39         /**
       
    40         * CFsRichTextPicture* NewL( 
       
    41         *       const TSize aSize );
       
    42         * 
       
    43         * @param aSize
       
    44         */
       
    45         static CFsRichTextPicture* NewL( 
       
    46                 const TSize aSize );
       
    47         
       
    48         /**
       
    49         * ~CFsRichTextPicture();
       
    50         * 
       
    51         * 
       
    52         */
       
    53         ~CFsRichTextPicture();
       
    54 
       
    55     public:
       
    56         /**
       
    57         * GetTextureSize() const;
       
    58         * 
       
    59         * 
       
    60         */
       
    61         TSize GetTextureSize() const;
       
    62     
       
    63         /**
       
    64         * SetTextureSize( const TSize aSize );
       
    65         * 
       
    66         * @param aSize
       
    67         */
       
    68         void SetTextureSize( const TSize aSize );
       
    69     
       
    70     private:
       
    71         /**
       
    72         * ConstructL();
       
    73         * 
       
    74         * 
       
    75         */
       
    76         void ConstructL();
       
    77     
       
    78         /**
       
    79         * ConstructL( const TSize aSize );
       
    80         * 
       
    81         * @param aSize
       
    82         */
       
    83         void ConstructL( const TSize aSize );
       
    84 
       
    85         /**
       
    86         * CFsRichTextPicture(CFsTexture& aTexture);
       
    87         * 
       
    88         * @param aTexture
       
    89         */
       
    90         CFsRichTextPicture();
       
    91     
       
    92     private:    
       
    93         TSize iSize;
       
    94     };
       
    95 
       
    96 #endif // C_FSRICHTEXTPICTURE_H
       
    97 
       
    98