epoc32/include/mw/ptiuserdicentry.inl
author William Roberts <williamr@symbian.org>
Wed, 31 Mar 2010 12:33:34 +0100
branchSymbian3
changeset 4 837f303aceeb
parent 2 2fe1408b6811
permissions -rw-r--r--
Current Symbian^3 public API header files (from PDK 3.0.h)
This is the epoc32/include tree with the "platform" subtrees removed, and
all but a selected few mbg and rsg files removed.
     1 /*
     2 * Copyright (c) 2003 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:               Inline methods for user dictionary interface.
    15 *
    16 */
    17 
    18 
    19 
    20 
    21 
    22 
    23 
    24 
    25 
    26 
    27 
    28 
    29 
    30 
    31 
    32 // ---------------------------------------------------------------------------
    33 // CPtiUserDictionaryEntry::TPtiUserDictionaryEntry
    34 // 
    35 // ---------------------------------------------------------------------------
    36 //
    37 inline TPtiUserDictionaryEntry::TPtiUserDictionaryEntry()
    38 	{
    39 	}
    40 
    41 // ---------------------------------------------------------------------------
    42 // CPtiUserDictionaryEntry::TPtiUserDictionaryEntry
    43 // 
    44 // ---------------------------------------------------------------------------
    45 //
    46 inline TPtiUserDictionaryEntry::TPtiUserDictionaryEntry(const TDesC& aWord) : iEntry(aWord)
    47 	{
    48 	}
    49 
    50 // ---------------------------------------------------------------------------
    51 // CPtiUserDictionaryEntry::Word
    52 // 
    53 // ---------------------------------------------------------------------------
    54 //
    55 inline TPtrC TPtiUserDictionaryEntry::Word() const
    56 	{
    57 	return TPtrC(iEntry);
    58 	}
    59 
    60 // ---------------------------------------------------------------------------
    61 // CPtiUserDictionaryEntry::Reading
    62 // 
    63 // ---------------------------------------------------------------------------
    64 //
    65 inline TPtrC TPtiUserDictionaryEntry::Reading() const
    66 	{
    67 	return TPtrC(iEntry);
    68 	}
    69 
    70 // ---------------------------------------------------------------------------
    71 // CPtiUserDictionaryEntry::SetWord
    72 // 
    73 // ---------------------------------------------------------------------------
    74 //
    75 inline void TPtiUserDictionaryEntry::SetWord(TDesC& aWord, TDesC& /*aReading*/)
    76 	{
    77 	iEntry.Copy(aWord);
    78 	}
    79 
    80 // ---------------------------------------------------------------------------
    81 // CPtiUserDictionaryEntry::SetWord
    82 // 
    83 // ---------------------------------------------------------------------------
    84 //
    85 inline void TPtiUserDictionaryEntry::SetWord(TDesC& aWord)
    86 	{
    87 	iEntry.Copy(aWord);
    88 	}
    89 
    90 // End of file