2 * Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies).
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".
9 * Initial Contributors:
10 * Nokia Corporation - initial contribution.
20 #ifndef __TULPANICS_H__
21 #define __TULPANICS_H__
23 // ========== DATA TYPES ===================================
31 ETulPanicDescriptorLength = 0x100,
32 ETulPanicInvalidTokenizerSearchCase
41 enum TStringLoaderPanic
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
53 // ========== FUNCTION PROTOTYPES ==========================
55 // ---------------------------------------------------------
58 // ---------------------------------------------------------
60 GLREF_C void Panic (TTulPanic);
62 #endif // __TULPANICS_H__