idlefw/plugins/shortcutplugin/inc/caiscutengine.inl
branchRCL_3
changeset 9 d0529222e3f0
parent 4 1a2a00e78665
child 10 5ef93ea513cb
child 18 bd874ee5e5e2
equal deleted inserted replaced
4:1a2a00e78665 9: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 plug-in engine
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 // ---------------------------------------------------------------------------
       
    20 // Returns the application architecture server session owned by the engine.
       
    21 // ---------------------------------------------------------------------------
       
    22 //
       
    23 inline RApaLsSession& CAiScutEngine::ApaSession()
       
    24 {
       
    25     return iApaSession;
       
    26 }
       
    27 
       
    28 // ---------------------------------------------------------------------------
       
    29 // Returns reference to the bookmark database owned by the engine.
       
    30 // ---------------------------------------------------------------------------
       
    31 //
       
    32 inline RFavouritesDb& CAiScutEngine::FavouritesDb()
       
    33 {
       
    34     return iBookmarkDb;
       
    35 }
       
    36 
       
    37 // ---------------------------------------------------------------------------
       
    38 // Returns the message server session owned by the engine.
       
    39 // ---------------------------------------------------------------------------
       
    40 //
       
    41 inline CMsvSession* CAiScutEngine::MsvSession()
       
    42 {
       
    43     return iMsvSession;
       
    44 }
       
    45 
       
    46 // ---------------------------------------------------------------------------
       
    47 // Returns a pointer to view server session wrapper.
       
    48 // ---------------------------------------------------------------------------
       
    49 //
       
    50 inline CVwsSessionWrapper* CAiScutEngine::VwsSession()
       
    51 {
       
    52     return iVwsSession;
       
    53 }
       
    54 
       
    55 // ---------------------------------------------------------------------------
       
    56 // Returns a pointer to the coe environment
       
    57 // ---------------------------------------------------------------------------
       
    58 //
       
    59 inline CCoeEnv* CAiScutEngine::Env()
       
    60 {
       
    61     return iEnv;
       
    62 }
       
    63 
       
    64 // End of File.