phoneengine/phonemodel/inc/pepanic.pan
changeset 0 5f000ab63145
equal deleted inserted replaced
-1:000000000000 0:5f000ab63145
       
     1 /*
       
     2 * Copyright (c) 2002-2004 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:  This file contains panic enumerations
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef     PEPANIC_PAN
       
    20 #define     PEPANIC_PAN
       
    21 
       
    22 //  INCLUDES
       
    23 #include <e32def.h>
       
    24 #include <e32cmn.h>
       
    25 
       
    26 // CONSTANTS
       
    27 
       
    28 // Phone Engine panic
       
    29 _LIT( KPEPhoneEnginePanic, "Phone Engine Panic!" );
       
    30 
       
    31     enum TPEPanic
       
    32         {
       
    33         EPEPanicAccessingDataOnIncompleteRequest = 1,
       
    34         EPEPanicAllSettingsDataObjectsAlreadyInUse = 2,
       
    35         EPEPanicBadHandle = 3,
       
    36         EPEPanicCallDataNull = 4,
       
    37         EPEPanicCallIndexOutOfRange = 5,
       
    38         EPEPanicConferenceIndexOutOfRange = 6,
       
    39         EPEPanicDebugDangerousMove = 7,
       
    40         EPEPanicIllegalCommand = 8,
       
    41         EPEPanicIndexOutOfRange = 9,
       
    42         EPEPanicInvalidCommand = 10,
       
    43         EPEPanicInvalidHandle = 11,
       
    44         EPEPanicInvalidMode = 12,
       
    45         EPEPanicInvalidRequest = 13,
       
    46         EPEPanicInvalidRequestId = 14,
       
    47         EPEPanicInvalidState = 15,
       
    48         EPEPanicLineNotFound = 16,
       
    49         EPEPanicNoCallInState = 17,
       
    50         EPEPanicNoCallOrLine = 18,
       
    51         EPEPanicNoConferenceCall = 19,
       
    52         EPEPanicNoErrorCodeInSuccessfulRequest = 20,
       
    53         EPEPanicNoEtel = 21,
       
    54         EPEPanicNoFreeCalls = 22,
       
    55         EPEPanicNoObserver = 23,
       
    56         EPEPanicNoPhoneServer = 24,
       
    57         EPEPanicNoRepository = 25,
       
    58         EPEPanicNotCompleted = 26,
       
    59         EPEPanicNullPointer = 27,
       
    60         EPEPanicObserverAlreadySet = 28,
       
    61         EPEPanicRepositoryAlreadyActive = 29,
       
    62         EPEPanicPropertyAlreadyActive = 30,
       
    63         EPEPanicSplitWithoutConference = 31,
       
    64         EPEPanicStupidUser = 32,
       
    65         EPEPanicUIHasBeenLeaved = 33,
       
    66         EPEPanicVideoLibraryNotFound = 34,
       
    67         EPEPanicInvalidIncomingCallMonitor = 35,
       
    68         EPEPanicInvalidCallAddedMonitor = 36,
       
    69         EPEPanicInvalidCallEventMonitor = 37,
       
    70         EPEPanicExternalDataIdOutOfRange = 38,
       
    71         EPEPanicCallIsAlreadyAddedToConference = 39,
       
    72         EPEPanicInvalidParameter = 40,
       
    73         EPEPanicAudioInitializeError = 41,
       
    74         
       
    75         EPEPanicMaximum = 100
       
    76         };
       
    77 
       
    78 // MACROS
       
    79 // None.
       
    80 
       
    81 // DATA TYPES
       
    82 // None.
       
    83 
       
    84 // FUNCTION PROTOTYPES
       
    85 // None.
       
    86 
       
    87 // FORWARD DECLARATIONS
       
    88 // None.
       
    89 
       
    90 // CLASS DECLARATION
       
    91 // None.
       
    92 
       
    93 GLREF_C void Panic( TPEPanic aPanic );
       
    94 
       
    95 #endif