phoneapp/phoneuiqtviewadapter/tsrc/mocks/mock_phoneapplauncher.cpp
changeset 56 5bcb308bd24d
equal deleted inserted replaced
46:bc5a64e5bc3c 56:5bcb308bd24d
       
     1 /*
       
     2 * Copyright (c) 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:
       
    15 *
       
    16 */
       
    17 #include <QDebug>
       
    18 #include <smcmockclassincludes.h>
       
    19 #include "phoneapplauncher.h"
       
    20 
       
    21 // ============================ MEMBER FUNCTIONS ===============================
       
    22 
       
    23 // -----------------------------------------------------------------------------
       
    24 // PhoneAppLauncher::PhoneAppLauncher
       
    25 // -----------------------------------------------------------------------------
       
    26 //
       
    27 PhoneAppLauncher::PhoneAppLauncher( 
       
    28         QObject * parent )
       
    29     //:
       
    30     //QObject( /*parent*/ )
       
    31     {
       
    32     
       
    33     }
       
    34 
       
    35 
       
    36 // -----------------------------------------------------------------------------
       
    37 // PhoneAppLauncher::~PhoneAppLauncher
       
    38 // -----------------------------------------------------------------------------
       
    39 //
       
    40 PhoneAppLauncher::~PhoneAppLauncher(  )
       
    41     {
       
    42     
       
    43     }
       
    44 
       
    45 
       
    46 // -----------------------------------------------------------------------------
       
    47 // PhoneAppLauncher::launchMessaging
       
    48 // -----------------------------------------------------------------------------
       
    49 //
       
    50 void PhoneAppLauncher::launchMessaging( 
       
    51         const QString & toField,
       
    52         const QString & name,
       
    53         const QString & messageBody )
       
    54     {
       
    55     SMC_MOCK_METHOD3( void, const QString &, toField, 
       
    56         const QString &, name, 
       
    57         const QString &, messageBody )
       
    58     }
       
    59 
       
    60 
       
    61 // -----------------------------------------------------------------------------
       
    62 // PhoneAppLauncher::launchContacts
       
    63 // -----------------------------------------------------------------------------
       
    64 //
       
    65 void PhoneAppLauncher::launchContacts(  )
       
    66     {
       
    67     SMC_MOCK_METHOD0( void )
       
    68     }
       
    69 
       
    70 
       
    71 // -----------------------------------------------------------------------------
       
    72 // PhoneAppLauncher::launchLogs
       
    73 // -----------------------------------------------------------------------------
       
    74 //
       
    75 void PhoneAppLauncher::launchLogs( 
       
    76         int activatedView,
       
    77         bool showDialpad,
       
    78         const QString & dialpadText )
       
    79     {
       
    80     SMC_MOCK_METHOD3( void, int, activatedView, 
       
    81         bool, showDialpad, 
       
    82         const QString &, dialpadText )
       
    83     }
       
    84 
       
    85