epoc32/include/mw/tulpanics.h
author William Roberts <williamr@symbian.org>
Wed, 31 Mar 2010 12:27:01 +0100
branchSymbian2
changeset 3 e1b950c65cb4
parent 2 epoc32/include/tulpanics.h@2fe1408b6811
child 4 837f303aceeb
permissions -rw-r--r--
Attempt to represent the S^2->S^3 header reorganisation as a series of "hg rename" operations
     1 /*
     2 * Copyright (c) 2002-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 the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
     6 * which accompanies this distribution, and is available
     7 * at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
     8 *
     9 * Initial Contributors:
    10 * Nokia Corporation - initial contribution.
    11 *
    12 * Contributors:
    13 *
    14 * Description:
    15 *
    16 */
    17 
    18 
    19 
    20 #ifndef __TULPANICS_H__
    21 #define __TULPANICS_H__
    22 
    23 // ========== DATA TYPES ===================================
    24 
    25 enum TTulPanic
    26 	{
    27     ETulPanicDescriptorLength = 0x100,
    28     ETulPanicInvalidTokenizerSearchCase
    29 	};
    30 
    31 
    32 //Error codes
    33 enum TStringLoaderPanic
    34     {
    35     ETooFewArguments        = 0, // Unsolved parameters in resource string.
    36     ETooManyArguments       = 1, // Already solved all parameters in  resource string.
    37     EKeyStringNotFound      = 2, // The key string wasn't found in formating.
    38     EInvalidIndex           = 3, // Invalid index in Format-method
    39     EDescriptorTooSmall     = 4, // Too small destination descriptor.
    40     ECCoeEnvNotInitialized  = 5, // CCoeEnv is not initialized
    41     EInvalidSubstitute      = 6  // Substituted string contains KSubStringSeparator
    42     };
    43 
    44 
    45 // ========== FUNCTION PROTOTYPES ==========================
    46 
    47 // ---------------------------------------------------------
    48 // Panic
    49 //
    50 // ---------------------------------------------------------
    51 //
    52 GLREF_C void Panic (TTulPanic);
    53 
    54 #endif // __TULPANICS_H__
    55