linklayercontrol/networkinterfacemgr/inc/AgentPanic.h
changeset 0 af10295192d8
equal deleted inserted replaced
-1:000000000000 0:af10295192d8
       
     1 /**
       
     2 * Copyright (c) 2001-2009 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 * Agent internal errors and panic codes
       
    16 * 
       
    17 *
       
    18 */
       
    19 
       
    20 
       
    21 
       
    22 /**
       
    23  @file AGENTPANIC.H
       
    24  @internalComponent
       
    25 */
       
    26 
       
    27 #ifndef __AGENTPANIC_H__
       
    28 #define __AGENTPANIC_H__
       
    29 
       
    30 #include <e32def.h>
       
    31 
       
    32 namespace Agent
       
    33 	{
       
    34 
       
    35 /**
       
    36 panic codes for a CAgentBase
       
    37 @internalComponent
       
    38 */
       
    39 	enum TAgentPanic
       
    40 		{
       
    41 		EAgentExtAlreadyActive,
       
    42 		EDialOutConnectionAlreadyStarted,
       
    43 		EDialInConnectionAlreadyStarted,
       
    44 		ENotDoingDialOutBeforeCallBack,
       
    45 		ECallBackNotPending,
       
    46 		EControllerUnknownStartType,
       
    47 		EAgentExtUnknownStartType,
       
    48 		EDestroyNotificationNotCancelled,
       
    49 		EIllegalDbRequestForDialIn,
       
    50 		EUnknownTableName,
       
    51 		EUnknownDatabaseType,
       
    52 		EObserverNotNull,
       
    53 		EObserverNull,
       
    54 		ENullWarnParameter,
       
    55 		EIllegalActionType,
       
    56 		EDialogProcessorSelectObserverNotImplemented,
       
    57 		EDialogProcessorSelectModemAndLocationObserverNotImplemented,
       
    58 		EDialogProcessorWarnObserverNotImplemented,
       
    59 		EDialogProcessorLoginObserverNotImplemented,
       
    60 		EDialogProcessorAuthObserverNotImplemented,
       
    61 		EDialogProcessorReconnectObserverNotImplemented,
       
    62 		EDialogProcessorReadPctObserverNotImplemented,
       
    63 		EDialogProcessorDestroyPctObserverNotImplemented,
       
    64 		EDialogProcessorWarnQoSObserverNotImplemented,
       
    65 		EUnknownDatabaseDeviceType,
       
    66 		EDbSettingsNotRead,
       
    67 		ENotModemOrLocationTable,
       
    68 		ENullDatabase,
       
    69 		ENullDialogProcessor,
       
    70 		ENullNifmanNotifyPointer,
       
    71 		EEventLoggerMoreThanOneListenerForNotifyLastUpdate,
       
    72 		ENullCLogEventPointerPresentInLogEventQueue
       
    73 		};
       
    74 
       
    75 /**
       
    76 panic codes for a CStateMachineAgentBase
       
    77 @internalComponent
       
    78 */
       
    79 	enum TStateMachineAgentPanic
       
    80 		{
       
    81 		ENullStateMachineOnAuthentication,
       
    82 		ENullStateMachineOnCancelAuthentication,
       
    83 		ENullStateMachineOnReconnect,
       
    84 		ENullStateMachineOnCallBack,
       
    85 		ENullStateMachineOnGetExcessData,
       
    86 		ENullStateMachineOnDb,
       
    87 		ENonNullStateMachineOnOutgoing,
       
    88 		ENonNullStateMachineOnIncoming,
       
    89 		ENullStateOnProcessState,
       
    90 		EUnknownStartType,
       
    91 		ENullStateMachineOnConnect,
       
    92 		ENullStateMachineOnCancelConnect,
       
    93 		ENullStateMachineOnDisconnect,
       
    94 		ENullStateMachineOnNotification,
       
    95 		ENullStateMachineOnGetLastError,
       
    96 		ENullStateMachineOnIsReconnect,
       
    97 		EUndefinedNotifyOperation,
       
    98 		ENotifyCallbackAlreadyPending,
       
    99 		ENonNullStateMachineOnCreate
       
   100 		};
       
   101 	}
       
   102 
       
   103 
       
   104 /**
       
   105 @internalComponent
       
   106 */
       
   107 GLREF_C void AgentPanic(Agent::TAgentPanic aPanic);
       
   108 
       
   109 /**
       
   110 @internalComponent
       
   111 */
       
   112 GLREF_C void StateMachineAgentPanic(Agent::TStateMachineAgentPanic aPanic);
       
   113 
       
   114 #endif
       
   115