vtuis/lcvtindicatorplugin/tsrc/ut_lcvtindicatorplugin/stubs/symbianstubs.cpp
changeset 36 f5f903566743
parent 33 f504698d93b6
child 39 7510ce99d5ea
equal deleted inserted replaced
33:f504698d93b6 36:f5f903566743
     1 /*
       
     2 * Copyright (c) 2008-2009 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:  HbMenu2 implementation.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #include "symbianstubs_helper.h"
       
    20 #include <apgtask.h>
       
    21 #include <w32std.h>
       
    22 #include <qglobal.h>
       
    23 
       
    24 bool testVtTaskExists = false;
       
    25 
       
    26 void SymbianStubHelper::reset()
       
    27 {
       
    28     testVtTaskExists = false;
       
    29 }
       
    30 
       
    31 void SymbianStubHelper::setVtTaskExists(bool exists)
       
    32 {
       
    33     testVtTaskExists = exists;
       
    34 }
       
    35 
       
    36 
       
    37 ///////////////////////////////////////////////
       
    38 
       
    39 TApaTask TApaTaskList::FindApp(TUid aAppUid)
       
    40 {
       
    41     Q_UNUSED(aAppUid)
       
    42     RWsSession session;
       
    43     return TApaTask(session);
       
    44 }
       
    45 
       
    46 
       
    47 TBool TApaTask::Exists() const
       
    48 {
       
    49     return testVtTaskExists;
       
    50 }
       
    51 
       
    52 void TApaTask::BringToForeground()
       
    53 {
       
    54     
       
    55 }