emailuis/uicomponents/inc/fsrichtextsmiley.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 text storing
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef C_FSRICHTEXTSMILEY_H
       
    20 #define C_FSRICHTEXTSMILEY_H
       
    21 
       
    22 #include <e32base.h>
       
    23 
       
    24 #include "fsrichtextobject.h"
       
    25 
       
    26 class CFsRichTextText;
       
    27 class CFsRichTextPicture;
       
    28 
       
    29 class CFsRichTextSmiley : public CBase, public MFsRichTextObject
       
    30     {
       
    31     public:
       
    32         /**
       
    33         * NewL();
       
    34         * 
       
    35         * 
       
    36         */
       
    37         static CFsRichTextSmiley* NewL();
       
    38     
       
    39         /**
       
    40         * NewL( 
       
    41         *       CFsRichTextText* aRichTextText, 
       
    42         *       CFsRichTextPicture* aRichTextPicture );
       
    43         * 
       
    44         * @param aRichTextText
       
    45         * @param aRichTextPicture
       
    46         */
       
    47         static CFsRichTextSmiley* NewL( 
       
    48                 CFsRichTextText* aRichTextText, 
       
    49                 CFsRichTextPicture* aRichTextPicture );
       
    50 
       
    51         /**
       
    52         * ~CFsRichTextSmiley();
       
    53         * 
       
    54         * 
       
    55         */
       
    56         ~CFsRichTextSmiley();
       
    57 
       
    58     public:
       
    59         /**
       
    60         * SetTextObject(CFsRichTextText* aRichTextText);
       
    61         * 
       
    62         * @param aRichTextText
       
    63         */
       
    64         void SetTextObject(CFsRichTextText* aRichTextText);
       
    65         
       
    66         /**
       
    67         * SetPictureObject(CFsRichTextPicture* aRichTextPicture);
       
    68         * 
       
    69         * @param aRichTextPicture
       
    70         */
       
    71         void SetPictureObject(CFsRichTextPicture* aRichTextPicture);
       
    72         
       
    73         /**
       
    74         * GetTextObject();
       
    75         * 
       
    76         * 
       
    77         */
       
    78         CFsRichTextText* GetTextObject();
       
    79         
       
    80         /**
       
    81         * GetPictureObject();
       
    82         * 
       
    83         * 
       
    84         */
       
    85         CFsRichTextPicture* GetPictureObject();
       
    86         
       
    87     private:
       
    88         /**
       
    89         * ConstructL();
       
    90         * 
       
    91         * 
       
    92         */
       
    93         void ConstructL();
       
    94         
       
    95         /**
       
    96         * CFsRichTextSmiley();
       
    97         * 
       
    98         * 
       
    99         */
       
   100         CFsRichTextSmiley();
       
   101         
       
   102         /**
       
   103         * CFsRichTextSmiley(
       
   104         *       CFsRichTextText* aRichTextText,
       
   105         *       CFsRichTextPicture* aRichTextPicture );
       
   106         * 
       
   107         * @param aRichTextText
       
   108         * @param aRichTextPicture
       
   109         */
       
   110         CFsRichTextSmiley(
       
   111                 CFsRichTextText* aRichTextText,
       
   112                 CFsRichTextPicture* aRichTextPicture );
       
   113 
       
   114     private:    
       
   115         CFsRichTextText* iRichTextText;
       
   116         CFsRichTextPicture* iRichTextPicture;
       
   117     };
       
   118 
       
   119 #endif // C_FSRICHTEXTSMILEY_H
       
   120 
       
   121 
       
   122