uiacceltk/hitchcock/CommonInc/alfpanicreasons.h
changeset 0 15bf7259bb7c
equal deleted inserted replaced
-1:000000000000 0:15bf7259bb7c
       
     1 /*
       
     2 * Copyright (c) 2008 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:   Panic reasons for Alfred
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef C_ALFPANICREASONS_H
       
    21 #define C_ALFPANICREASONS_H
       
    22 
       
    23 #include <e32def.h>
       
    24 
       
    25 /**
       
    26  * Enumerates client side panic reasons used in @c Panic defined in alfpanic.h.
       
    27  * Values inside this enumeration should not clash with values in TAlfPanicSrv.
       
    28  */
       
    29 enum TAlfPanic
       
    30     {
       
    31     // Editor panics
       
    32     EAlfEditorPanicPredictiveTextDoesNotFit = 100,
       
    33     EAlfEditorPanicFormatExtractionFailure,
       
    34     EAlfEditorPanicNullPointersPassedIn,
       
    35     EAlfEditorPanicBadTextRun,
       
    36     EAlfEditorPanicNoVisual,
       
    37     EAlfEditorPanicCursorPositionOutOfRange,
       
    38     EAlfEditorPanicLineMetricsNotInitialized,
       
    39     EAlfEditorPanicParentLayoutAlreadySet,
       
    40     EAlfEditorPanicInlineTextProcessingSequenceError,
       
    41     EAlfEditorPanicInconsistentLengths,
       
    42     EAlfEditorPanicCurrentTextTooLongForNewMaxLength,
       
    43     EAlfEditorPanicLineMetricsCorrupted,
       
    44     EAlfEditorPanicFailedToObtainAFont,
       
    45     // CAlfRoster
       
    46     EAlfRosterPanicFocusAnomaly = 200,
       
    47     // CAlfEnv
       
    48     EAlfEnvPanicMultipleAlfEnvironments = 300
       
    49     };
       
    50 
       
    51 /**
       
    52  * Enumerates server side panic reasons used in @c AlfPanicClient
       
    53  * defined in alfclientserver.h.
       
    54  * Values inside this enumeration should not clash with values in TAlfPanic.
       
    55  */
       
    56 enum TAlfPanicSrv
       
    57     {
       
    58     /**
       
    59      * IPC with @c EAlfTextureUpdateOwnerId command must be issued
       
    60      * before using texture management functions. Note that this is
       
    61      * automatically sent by CAlfEnv.
       
    62      */
       
    63     EAlfSrvTexturePanicTextureOwnerIdNotUpdated = 10000
       
    64     };
       
    65 
       
    66 #endif // C_ALFPANICREASONS_H