email/mail/PluginSrc/MailPlainView/MsgMailViewerHtmlConv.inl
branchRCL_3
changeset 27 7fdbb852d323
parent 0 72b543305e3a
equal deleted inserted replaced
26:ebe688cedc25 27:7fdbb852d323
       
     1 /*
       
     2 * Copyright (c) 2002 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: 
       
    15 *     HTML converter for mail viewer, inline functions
       
    16 *
       
    17 */
       
    18 
       
    19 
       
    20 #ifndef MSGMAILVIEWERHTMLCONV_INL
       
    21 #define MSGMAILVIEWERHTMLCONV_INL
       
    22 
       
    23 // INLINE FUNCTIONS
       
    24 
       
    25 inline HBufC* CStringPair::GetName() const
       
    26     {
       
    27     return iName;
       
    28     }
       
    29 
       
    30 inline HBufC* CStringPair::GetValue() const
       
    31     {
       
    32     return iValue;
       
    33     }
       
    34 
       
    35 inline TInt CStringPair::Compare(const CStringPair& aPair1, 
       
    36                                  const CStringPair& aPair2)
       
    37     {
       
    38     return aPair1.iName->Compare(*(aPair2.iName));
       
    39     }
       
    40 
       
    41 inline HBufC* CMsgMailViewerHtmlConv::GetText() const
       
    42     {
       
    43     return iOrigText;
       
    44     }
       
    45 
       
    46 inline TInt CMsgMailViewerHtmlConv::HandleUListL(const TInt aIndent)
       
    47     {
       
    48     return HandleListL(aIndent, EFalse);
       
    49     }
       
    50 
       
    51 inline TInt CMsgMailViewerHtmlConv::HandleOListL(const TInt aIndent)
       
    52     {
       
    53     return HandleListL(aIndent, ETrue);
       
    54     }
       
    55 
       
    56 
       
    57 #endif      // MSGMAILEDITORDOCUMENT_INL
       
    58 
       
    59 // End of File