lafagnosticuifoundation/uigraphicsutils/tulinc/tulpanics.h
changeset 0 2f259fa3e83a
equal deleted inserted replaced
-1:000000000000 0:2f259fa3e83a
       
     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