idlefw/plugins/shortcutplugin/inc/caiscutsettingsitem.inl
branchRCL_3
changeset 8 d0529222e3f0
parent 4 1a2a00e78665
child 11 bd874ee5e5e2
equal deleted inserted replaced
4:1a2a00e78665 8:d0529222e3f0
     1 /*
       
     2 * Copyright (c) 2005-2006 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 functions for the shortcut settings item.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 // ---------------------------------------------------------------------------
       
    20 // Returns the setting item key.
       
    21 // ---------------------------------------------------------------------------
       
    22 //
       
    23 inline TUint32 CAiScutSettingsItem::Key() const
       
    24 {
       
    25     return iKey;
       
    26 }
       
    27 
       
    28 // ---------------------------------------------------------------------------
       
    29 // Returns the target shortcut uid.
       
    30 // ---------------------------------------------------------------------------
       
    31 //
       
    32 inline TUid CAiScutSettingsItem::Uid() const
       
    33 {
       
    34     return iUid;
       
    35 }
       
    36 
       
    37 // ---------------------------------------------------------------------------
       
    38 // Returns the setting item type.
       
    39 // ---------------------------------------------------------------------------
       
    40 //
       
    41 inline TAiScutSettingType CAiScutSettingsItem::Type() const
       
    42 {
       
    43     return iType;
       
    44 }
       
    45 
       
    46 
       
    47 
       
    48 // ---------------------------------------------------------------------------
       
    49 // Returns the setting item title.
       
    50 // ---------------------------------------------------------------------------
       
    51 //
       
    52 inline TPtrC CAiScutSettingsItem::Title() const
       
    53 {
       
    54     return iTitle;
       
    55 }
       
    56 
       
    57 // End of File.