phoneapp/phoneuiqtviewadapter/tsrc/ut_phoneuiqtviewadapter/phonenotecontroller_stub.cpp
author hgs
Fri, 15 Oct 2010 12:58:46 +0300
changeset 78 baacf668fe89
parent 65 2a5d4ab426d3
permissions -rw-r--r--
201041

/*!
* 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 <QtDebug>
#include <hbdevicemessagebox.h>
#include <xqsystemtoneservice.h>

bool m_showGlobalNoteCalled;
bool m_showQueryCalled;
bool m_showNoteCalled;
bool m_removeDtmfNoteCalled;
bool m_removeNoteCalled;
bool m_removeQueryCalled;
bool m_removeGlobalWaitNoteCalled;

PhoneNoteController::PhoneNoteController(XQSystemToneService& toneservice,
        QObject *parent) : QObject (parent)
{
    Q_UNUSED(toneservice);
    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;
}

void PhoneNoteController::removeMappings()
{
}