epoc32/include/mw/tulpanics.h
author William Roberts <williamr@symbian.org>
Wed, 31 Mar 2010 12:33:34 +0100
branchSymbian3
changeset 4 837f303aceeb
parent 3 e1b950c65cb4
permissions -rw-r--r--
Current Symbian^3 public API header files (from PDK 3.0.h)
This is the epoc32/include tree with the "platform" subtrees removed, and
all but a selected few mbg and rsg files removed.
     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 "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 *
    16 */
    17 
    18 
    19 
    20 #ifndef __TULPANICS_H__
    21 #define __TULPANICS_H__
    22 
    23 // ========== DATA TYPES ===================================
    24 
    25 /**
    26 @publishedAll
    27 @released
    28 */
    29 enum TTulPanic
    30 	{
    31     ETulPanicDescriptorLength = 0x100,
    32     ETulPanicInvalidTokenizerSearchCase
    33 	};
    34 
    35 
    36 /** Error codes
    37 
    38 @publishedAll
    39 @released
    40 */
    41 enum TStringLoaderPanic
    42     {
    43     ETooFewArguments        = 0, // Unsolved parameters in resource string.
    44     ETooManyArguments       = 1, // Already solved all parameters in  resource string.
    45     EKeyStringNotFound      = 2, // The key string wasn't found in formating.
    46     EInvalidIndex           = 3, // Invalid index in Format-method
    47     EDescriptorTooSmall     = 4, // Too small destination descriptor.
    48     ECCoeEnvNotInitialized  = 5, // CCoeEnv is not initialized
    49     EInvalidSubstitute      = 6  // Substituted string contains KSubStringSeparator
    50     };
    51 
    52 
    53 // ========== FUNCTION PROTOTYPES ==========================
    54 
    55 // ---------------------------------------------------------
    56 // Panic
    57 //
    58 // ---------------------------------------------------------
    59 //
    60 GLREF_C void Panic (TTulPanic);
    61 
    62 #endif // __TULPANICS_H__
    63