emailuis/uicomponents/inc/fssmileyparser.h
branchRCL_3
changeset 25 3533d4323edc
parent 0 8466d47a6819
equal deleted inserted replaced
24:d189ee25cf9d 25:3533d4323edc
       
     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:  FsSmileyParser's implementation
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef C_FSSMILEYPARSER_H
       
    20 #define C_FSSMILEYPARSER_H
       
    21 
       
    22 #include <e32base.h>
       
    23 
       
    24 class CFsSmileyDictionary;
       
    25 
       
    26 class CFsSmileyParser: public CBase
       
    27     {   
       
    28     public:   
       
    29         /**
       
    30         * NewL();
       
    31         * 
       
    32         * 
       
    33         */                          
       
    34         static CFsSmileyParser* NewL();
       
    35         
       
    36         /**
       
    37         * ~CFsSmileyParser();
       
    38         * 
       
    39         * 
       
    40         */
       
    41         ~CFsSmileyParser();
       
    42         
       
    43         /**
       
    44         * SetSmileyDictionary(CFsSmileyDictionary* aSmileyDictionary);
       
    45         * 
       
    46         * @param aSmileyDictionary
       
    47         */
       
    48         void SetSmileyDictionary(CFsSmileyDictionary* aSmileyDictionary);
       
    49         
       
    50         /**
       
    51         * IsPartOfSmileyL(TBuf<1> someCharacter);
       
    52         * 
       
    53         * @param someCharacter
       
    54         */
       
    55         TBool IsPartOfSmileyL(TBuf<1> someCharacter);
       
    56         
       
    57         /**
       
    58         * IsSmiley();
       
    59         * 
       
    60         * 
       
    61         */
       
    62         TBool IsSmiley();
       
    63         
       
    64         /**
       
    65         * GetSmileyIndex();
       
    66         * 
       
    67         * 
       
    68         */
       
    69         TInt GetSmileyIndex();
       
    70         
       
    71         /**
       
    72         * GetSmileyLength(TInt aSmileyIndex);
       
    73         * 
       
    74         * @param aSmileyIndex
       
    75         */
       
    76         TInt GetSmileyLength(TInt aSmileyIndex);
       
    77         
       
    78         /**
       
    79         * GetSmileyFileName(TInt aSmileyIndex);
       
    80         * 
       
    81         * @param aSmileyIndex
       
    82         */
       
    83         TFileName GetSmileyFileName(TInt aSmileyIndex);
       
    84         
       
    85     private:
       
    86         /**
       
    87         * ConstructL();
       
    88         * 
       
    89         * 
       
    90         */
       
    91         void ConstructL();
       
    92         
       
    93         /**
       
    94         * CFsSmileyParser();
       
    95         * 
       
    96         * 
       
    97         */
       
    98         CFsSmileyParser();
       
    99     
       
   100     private:
       
   101         CFsSmileyDictionary* iSmileyDictionary;
       
   102     };
       
   103     
       
   104 #endif //C_FSSMILEYPARSER_H
       
   105 
       
   106 
       
   107