telutils/keysequencerecognitionservice/tsrc/shared/mock_manufacturerkeysequencehandler.cpp
branchRCL_3
changeset 19 7d48bed6ce0c
equal deleted inserted replaced
18:594d59766373 19:7d48bed6ce0c
       
     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 "manufacturerkeysequencehandler.h"
       
    20 
       
    21 // ============================ MEMBER FUNCTIONS ===============================
       
    22 
       
    23 // -----------------------------------------------------------------------------
       
    24 // ManufacturerKeySequenceHandler::ManufacturerKeySequenceHandler
       
    25 // -----------------------------------------------------------------------------
       
    26 //
       
    27 ManufacturerKeySequenceHandler::ManufacturerKeySequenceHandler( 
       
    28         QObject * parent )
       
    29     :
       
    30     KeySequenceHandler(parent),
       
    31     m_currentRequest(0)
       
    32     {
       
    33     
       
    34     }
       
    35 
       
    36 
       
    37 // -----------------------------------------------------------------------------
       
    38 // ManufacturerKeySequenceHandler::~ManufacturerKeySequenceHandler
       
    39 // -----------------------------------------------------------------------------
       
    40 //
       
    41 ManufacturerKeySequenceHandler::~ManufacturerKeySequenceHandler(  )
       
    42     {
       
    43     
       
    44     }
       
    45 
       
    46 
       
    47 // -----------------------------------------------------------------------------
       
    48 // ManufacturerKeySequenceHandler::executeKeySequence
       
    49 // -----------------------------------------------------------------------------
       
    50 //
       
    51 bool ManufacturerKeySequenceHandler::executeKeySequence( 
       
    52         const QString & keySequence )
       
    53     {
       
    54     SMC_MOCK_METHOD1( bool, const QString &, keySequence )
       
    55     }
       
    56 
       
    57 
       
    58 // -----------------------------------------------------------------------------
       
    59 // ManufacturerKeySequenceHandler::requestOk
       
    60 // -----------------------------------------------------------------------------
       
    61 //
       
    62 void ManufacturerKeySequenceHandler::requestOk(
       
    63         const QVariant &/*returnValue*/)
       
    64     {
       
    65         
       
    66     }
       
    67 
       
    68 
       
    69 // -----------------------------------------------------------------------------
       
    70 // ManufacturerKeySequenceHandler::requestError
       
    71 // -----------------------------------------------------------------------------
       
    72 //
       
    73 void ManufacturerKeySequenceHandler::requestError(
       
    74         int /*error*/, const QString& /*errorMessage*/)
       
    75     {
       
    76         
       
    77     }
       
    78