cellular/telephonysettings/inc/psetpanic.h
author hgs
Mon, 23 Aug 2010 15:50:31 +0300
changeset 42 35488577e233
parent 33 8d5d7fcf9b59
permissions -rw-r--r--
201033
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
33
hgs
parents:
diff changeset
     1
/*
hgs
parents:
diff changeset
     2
* Copyright (c) 2002 Nokia Corporation and/or its subsidiary(-ies). 
hgs
parents:
diff changeset
     3
* All rights reserved.
hgs
parents:
diff changeset
     4
* This component and the accompanying materials are made available
hgs
parents:
diff changeset
     5
* under the terms of "Eclipse Public License v1.0"
hgs
parents:
diff changeset
     6
* which accompanies this distribution, and is available
hgs
parents:
diff changeset
     7
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
hgs
parents:
diff changeset
     8
*
hgs
parents:
diff changeset
     9
* Initial Contributors:
hgs
parents:
diff changeset
    10
* Nokia Corporation - initial contribution.
hgs
parents:
diff changeset
    11
*
hgs
parents:
diff changeset
    12
* Contributors:
hgs
parents:
diff changeset
    13
*
hgs
parents:
diff changeset
    14
* Description:  Panic function for Phone Settings
hgs
parents:
diff changeset
    15
*
hgs
parents:
diff changeset
    16
*
hgs
parents:
diff changeset
    17
*/
hgs
parents:
diff changeset
    18
hgs
parents:
diff changeset
    19
hgs
parents:
diff changeset
    20
//Different panic causes.
hgs
parents:
diff changeset
    21
enum TPSetPanic {
hgs
parents:
diff changeset
    22
    ECBPanicNoBscSet, 
hgs
parents:
diff changeset
    23
    ECBBasicServiceNotReturned,
hgs
parents:
diff changeset
    24
    ECBUnknownRequest,
hgs
parents:
diff changeset
    25
    ECBUnknownBarringSetting,
hgs
parents:
diff changeset
    26
    ECBNoObserver,
hgs
parents:
diff changeset
    27
hgs
parents:
diff changeset
    28
    ECDNewDefaultNumberNull, 
hgs
parents:
diff changeset
    29
    ECDPanicNoBscSet, 
hgs
parents:
diff changeset
    30
    ECDRequestPanicNoObserver, 
hgs
parents:
diff changeset
    31
    ECDRequestPanicIncorrectRequest,
hgs
parents:
diff changeset
    32
hgs
parents:
diff changeset
    33
    ECWPanicNoObserver,
hgs
parents:
diff changeset
    34
    ECWPanicNoPhone,
hgs
parents:
diff changeset
    35
    ECWBasicServiceNotReturned,
hgs
parents:
diff changeset
    36
    ECWPanicInvalidRequestMode,
hgs
parents:
diff changeset
    37
    ECWPanicNoBscSet,
hgs
parents:
diff changeset
    38
hgs
parents:
diff changeset
    39
    ECliParameter,
hgs
parents:
diff changeset
    40
    ECliGeneral,
hgs
parents:
diff changeset
    41
    ECliNoObserver,
hgs
parents:
diff changeset
    42
    ECliOperationFailed,
hgs
parents:
diff changeset
    43
hgs
parents:
diff changeset
    44
    ENetSelectPanicNullPointer,
hgs
parents:
diff changeset
    45
    ENetNoObserver,
hgs
parents:
diff changeset
    46
    ENetUnknownRequest,
hgs
parents:
diff changeset
    47
    ENetError,
hgs
parents:
diff changeset
    48
    ENetMemberVariableAlreadyCreated,
hgs
parents:
diff changeset
    49
    ENetNoNetworkObserver
hgs
parents:
diff changeset
    50
    };
hgs
parents:
diff changeset
    51
hgs
parents:
diff changeset
    52
//  Local Function Prototypes  
hgs
parents:
diff changeset
    53
static void Panic( const TDesC& aClassName, TPSetPanic aPanic );
hgs
parents:
diff changeset
    54
hgs
parents:
diff changeset
    55
//  LOCAL FUNCTIONS
hgs
parents:
diff changeset
    56
static void Panic( const TDesC& aClassName, TPSetPanic aPanic )
hgs
parents:
diff changeset
    57
    {
hgs
parents:
diff changeset
    58
    User::Panic( aClassName, aPanic );
hgs
parents:
diff changeset
    59
    }
hgs
parents:
diff changeset
    60
// End of file