diff -r 40a3f856b14d -r 41a7f70b3818 phoneapp/phoneuiqtviewadapter/tsrc/ut_phoneuiqtviewadapter/phonenotecontroller_stub.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/phoneapp/phoneuiqtviewadapter/tsrc/ut_phoneuiqtviewadapter/phonenotecontroller_stub.cpp Tue Aug 31 15:14:29 2010 +0300 @@ -0,0 +1,103 @@ +/*! +* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). +* All rights reserved. +* This component and the accompanying materials are made available +* under the terms of "Eclipse Public License v1.0" +* which accompanies this distribution, and is available +* at the URL "http://www.eclipse.org/legal/epl-v10.html". +* +* Initial Contributors: +* Nokia Corporation - initial contribution. +* +* Contributors: +* +* Description: Handles phone notes. +*/ + +#include "phonenotecontroller.h" +#include "tphonecmdparamglobalnote.h" +#include "phoneresourceadapter.h" +#include +#include + +bool m_showGlobalNoteCalled; +bool m_showQueryCalled; +bool m_showNoteCalled; +bool m_removeDtmfNoteCalled; +bool m_removeNoteCalled; +bool m_removeQueryCalled; +bool m_removeGlobalWaitNoteCalled; + +PhoneNoteController::PhoneNoteController(QObject *parent) : QObject (parent) +{ + m_showGlobalNoteCalled = false; +} + +PhoneNoteController::~PhoneNoteController() +{ + +} + +void PhoneNoteController::showGlobalNote(TPhoneCommandParam */*commandParam*/) +{ + m_showGlobalNoteCalled = true; +} + +void PhoneNoteController::showNote(TPhoneCommandParam */*commandParam*/) +{ + m_showNoteCalled = true; +} + +void PhoneNoteController::showQuery(TPhoneCommandParam */*commandParam*/) +{ + m_showQueryCalled = true; +} + +void PhoneNoteController::removeDtmfNote() +{ + m_removeDtmfNoteCalled = true; +} + +void PhoneNoteController::removeNote() +{ + m_removeNoteCalled = true; +} + +void PhoneNoteController::removeQuery() +{ + m_removeQueryCalled = true; +} + +void PhoneNoteController::removeGlobalWaitNote() +{ + m_removeGlobalWaitNoteCalled = true; +} + +QString PhoneNoteController::globalNoteText( + TPhoneCommandParam *commandParam) +{ + QString ret; + + return ret; +} + +void PhoneNoteController::destroyDialog() +{ +} + +void PhoneNoteController::destroyNotification() +{ +} + +void PhoneNoteController::removeMappings() +{ +} + +void PhoneNoteController::queryCancelled() +{ +} + +void PhoneNoteController::queryTimeout() +{ +} +