telephonyprotocols/csdagt/src/ND_DLUP.CPP
branchRCL_3
changeset 65 630d2f34d719
parent 0 3553901f7fa8
child 66 07a122eea281
equal deleted inserted replaced
61:17af172ffa5f 65:630d2f34d719
     1 // Copyright (c) 2003-2009 Nokia Corporation and/or its subsidiary(-ies).
     1 // Copyright (c) 2003-2010 Nokia Corporation and/or its subsidiary(-ies).
     2 // All rights reserved.
     2 // All rights reserved.
     3 // This component and the accompanying materials are made available
     3 // This component and the accompanying materials are made available
     4 // under the terms of "Eclipse Public License v1.0"
     4 // under the terms of "Eclipse Public License v1.0"
     5 // which accompanies this distribution, and is available
     5 // which accompanies this distribution, and is available
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
    17 
    17 
    18 /**
    18 /**
    19  @file Nd_dlup.cpp 
    19  @file Nd_dlup.cpp 
    20 */
    20 */
    21 
    21 
       
    22 
       
    23 #include "OstTraceDefinitions.h"
       
    24 #ifdef OST_TRACE_COMPILER_IN_USE
       
    25 #include "ND_DLUPTraces.h"
       
    26 #endif
       
    27 
    22 #include "ND_DLUP.H"
    28 #include "ND_DLUP.H"
    23 #include "ND_ETEL.H"
    29 #include "ND_ETEL.H"
    24 #include "ND_SCR.H"
    30 #include "ND_SCR.H"
    25 #include <comms-infras/dialogprocessor.h>
    31 #include <comms-infras/dialogprocessor.h>
    26 #include <comms-infras/eventlogger.h>
    32 #include <comms-infras/eventlogger.h>
    27 #include "ND_DBACC.H"
    33 #include "ND_DBACC.H"
    28 #include "ND_STD.H"
    34 #include "ND_STD.H"
    29 #include "SLOGGER.H"
       
    30 #include "Nd_dlupStates.h"
    35 #include "Nd_dlupStates.h"
    31 #include <comms-infras/nifprvar.h>
    36 #include <comms-infras/nifprvar.h>
    32 
    37 
    33 CDlUpAgXSM* CDlUpAgXSM::NewL(MAgentNotify& aObserver, CDialogProcessor* aDlgPrc, CCommsDbAccess& aDbAccess)
    38 CDlUpAgXSM* CDlUpAgXSM::NewL(MAgentNotify& aObserver, CDialogProcessor* aDlgPrc, CCommsDbAccess& aDbAccess)
    34 /**
    39 /**
   114 	{
   119 	{
   115 	switch (aEvent)
   120 	switch (aEvent)
   116 		{
   121 		{
   117 	case ENifToAgentEventTypePPPCallbackGranted:
   122 	case ENifToAgentEventTypePPPCallbackGranted:
   118 		{
   123 		{
   119 		__FLOG_STMT(_LIT8(logString,"NetDial:\tCallback Request Granted");)
   124 		OstTraceDef0(OST_TRACE_CATEGORY_DEBUG, TRACE_INTERNALS, CDLUPAGXSM_NOTIFICATION_1, "NetDial:\tCallback Request Granted");
   120 		__FLOG_STATIC(KNetDialLogFolder(),KNetDialLogFile(),logString());
       
   121 		return KErrNone;
   125 		return KErrNone;
   122 		}
   126 		}
   123 	case ENifToAgentEventTypeQueryIsDialIn:
   127 	case ENifToAgentEventTypeQueryIsDialIn:
   124 		{
   128 		{
   125 		if(iCallBack)
   129 		if(iCallBack)