ncdengine/inc/catalogspanics.h
changeset 0 ba25891c3a9e
equal deleted inserted replaced
-1:000000000000 0:ba25891c3a9e
       
     1 /*
       
     2 * Copyright (c) 2006 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:   Catalogs Engine error code definitions.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef CATALOGS_PANICS_H
       
    20 #define CATALOGS_PANICS_H
       
    21 
       
    22 /** Catalogs Engine panic category name */
       
    23 _LIT( KCatalogsPanicCategory, "Catalogs" );
       
    24 
       
    25 
       
    26 /** Catalogs Engine panic category panic codes */
       
    27 enum TCatalogsPanic
       
    28     {
       
    29     /**
       
    30      * Raised when the client releases its last reference to the
       
    31      * Catalogs Engine main object (MCatalogsEngine interface),
       
    32      * while the session opened with the object's MCatalogsEngine::Connect()
       
    33      * is still open.
       
    34      */
       
    35     ECatalogsPanicSessionNotClosed = 1,
       
    36 
       
    37     /**
       
    38      * Raised when the client attempts to close its session to the Catalogs
       
    39      * Engine while still holding references to other objects implemented
       
    40      * in Catalogs Engine or the providers (e.g. NCD) therein.
       
    41      */
       
    42     ECatalogsPanicUnreleasedReferencesExist
       
    43     };
       
    44 
       
    45 
       
    46 #endif // CATALOGS_PANICS_H