satengine/SatServer/Commands/SendSSCmd/src/csatsendssdivertnouiobs.cpp
author Pat Downey <patd@symbian.org>
Wed, 01 Sep 2010 12:15:03 +0100
branchRCL_3
changeset 20 987c9837762f
parent 0 ff3b6d0fd310
permissions -rw-r--r--
Revert incorrect RCL_3 drop: Revision: 201033 Kit: 201035

/*
* Copyright (c) 2005-2007 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:  Send Ss diverts observer
*
*/


#include    "csatsendssdivertnouiobs.h"
#include    "SatLog.h"

// ======== MEMBER FUNCTIONS ========

// -----------------------------------------------------------------------------
// CSatSendSsDivertNoUiObs::CSatSendSsDivertNoUiObs
// C++ default constructor can NOT contain any code, that might leave.
// -----------------------------------------------------------------------------
//
CSatSendSsDivertNoUiObs::CSatSendSsDivertNoUiObs()
    {
    LOG( SIMPLE,
        "SENDSS: CSatSendSsDivertNoUiObs::CSatSendSsDivertNoUiObs \
        calling-exiting" )
    }

// -----------------------------------------------------------------------------
// CSatSendSsDivertNoUiObs::~CSatSendSsDivertNoUiObs
// Destructor.
// -----------------------------------------------------------------------------
//
CSatSendSsDivertNoUiObs::~CSatSendSsDivertNoUiObs()
    {
    LOG( SIMPLE,
        "SENDSS: CSatSendSsDivertNoUiObs::~CSatSendSsDivertNoUiObs \
        calling-exiting" )
    }

// -----------------------------------------------------------------------------
// CSatSendSsDivertNoUiObs::HandleDivertingChangedL
// Notification of diverting change
// -----------------------------------------------------------------------------
//
void CSatSendSsDivertNoUiObs::HandleDivertingChangedL(
    const TCallDivertSetting& aSetting,
    TBool aPlural )
    {
    LOG( SIMPLE, "SENDSS: CSatSendSsDivertNoUiObs::HandleDivertingChangedL \
    calling" )

    LOG2( DETAILED, "  CallDivert setting Condition: %i",
        aSetting.iCondition )
    LOG2( DETAILED, "  CallDivert setting Setting: %i",
        aSetting.iSetting )
    LOG2( DETAILED, "  CallDivert setting Status: %i",
        aSetting.iStatus )
    LOG2( DETAILED, "  CallDivert setting Service group: %i",
        aSetting.iServiceGroup )
    LOG2( DETAILED, "  CallDivert setting Tel Number: %S",
         &aSetting.iNumber )
    LOG2( DETAILED, "  Plural:             %i",
        aPlural )

    // Avoid warnigs about unused parameters.
    aPlural = aPlural;
    aPlural = aSetting.iCondition;

    LOG( SIMPLE, "SENDSS: CSatSendSsDivertNoUiObs::HandleDivertingChangedL \
    exiting" )
    }

// -----------------------------------------------------------------------------
// CSatSendSsDivertNoUiObs::HandleDivertingStatusL
// Notification of diverting status change
// -----------------------------------------------------------------------------
//
void CSatSendSsDivertNoUiObs::HandleDivertingStatusL(
    CMobilePhoneCFList&,
    TBool )
    {
    LOG( SIMPLE,
        "SENDSS: CSatSendSsDivertNoUiObs::HandleDivertingStatusL \
        calling-exiting" )
    }

// -----------------------------------------------------------------------------
// CSatSendSsDivertNoUiObs::HandleDivertingErrorL
// Notification of errors in diverts
// -----------------------------------------------------------------------------
//
void CSatSendSsDivertNoUiObs::HandleDivertingErrorL( TInt aReason )
    {
    LOG( SIMPLE,
        "SENDSS: CSatSendSsDivertNoUiObs::HandleDivertingErrorL calling" )

    LOG2( DETAILED, "  Diverting error: %i", aReason )

    // Avoid warnigs about unused parameters.
    aReason = aReason;

    LOG( SIMPLE,
        "SENDSS: CSatSendSsDivertNoUiObs::HandleDivertingErrorL exiting" )
    }

// -----------------------------------------------------------------------------
// CSatSendSsDivertNoUiObs::HandleCFRequestingL
// Notification of requesting
// -----------------------------------------------------------------------------
//
void CSatSendSsDivertNoUiObs::HandleCFRequestingL(
    TBool aOngoing,
    TBool aInterrupted )
    {
    LOG( SIMPLE,
        "SENDSS: CSatSendSsDivertNoUiObs::HandleCFRequestingL calling" )

    LOG2( DETAILED, "  ongoing: %i", aOngoing )
    LOG2( DETAILED, "  interrupted: %i", aInterrupted )

    // Avoid warnigs about unused parameters.
    aOngoing = aOngoing;
    aInterrupted = aInterrupted;

    LOG( SIMPLE,
        "SENDSS: CSatSendSsDivertNoUiObs::HandleCFRequestingL exiting" )
    }

// -----------------------------------------------------------------------------
// CSatSendSsDivertNoUiObs::SetEngineContact
//
// -----------------------------------------------------------------------------
//
void CSatSendSsDivertNoUiObs::SetEngineContact(
    MPsetCallDiverting* /*aDivertEngine*/ )
    {
    LOG( SIMPLE,
        "SENDSS: CSatSendSsDivertNoUiObs::SetEngineContact calling-exiting" )
    }

//  End of File