phoneapp/phoneuiqtviewadapter/tsrc/ut_phoneindicatorcontroller/xqaiwrequest_stub.cpp
changeset 77 2be0b271d017
equal deleted inserted replaced
72:c76a0b1755b9 77:2be0b271d017
       
     1 /*!
       
     2 * Copyright (c) 2010 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  
       
    18 #include "xqaiwrequest.h"
       
    19  
       
    20 bool m_aiwRequestCreated = false;
       
    21 bool m_aiwRequestSended = false;
       
    22 
       
    23 XQAiwRequest::XQAiwRequest() :
       
    24     QObject()
       
    25 {
       
    26 }
       
    27 XQAiwRequest::~XQAiwRequest()
       
    28 {
       
    29 }
       
    30 
       
    31 void XQAiwRequest::setArguments(const QList<QVariant> &/*arguments*/)
       
    32 {
       
    33     m_aiwRequestCreated = true;
       
    34 }
       
    35 
       
    36 bool XQAiwRequest::send()
       
    37 {
       
    38     m_aiwRequestSended = true;
       
    39     return true;
       
    40 }
       
    41  
       
    42 int XQAiwRequest::lastError() const
       
    43 {
       
    44     return 0;
       
    45 }
       
    46