cbs/CbsServer/ServerInc/MCbsDbObserver.H
changeset 46 2fa1fa551b0b
parent 42 35488577e233
child 48 78df25012fda
equal deleted inserted replaced
42:35488577e233 46:2fa1fa551b0b
     1 /*
       
     2 * Copyright (c) 2003 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:  This file contains the header file of the MCbsDbObserver class.
       
    15 *    
       
    16 *                Virtual class defining an interface for a database observer.
       
    17 *
       
    18 */
       
    19 
       
    20 
       
    21 
       
    22 #ifndef MCBSDBOBSERVER_H
       
    23 #define MCBSDBOBSERVER_H
       
    24 
       
    25 //  INCLUDES
       
    26 
       
    27 #include <e32base.h>
       
    28 
       
    29 //  CLASS DEFINITIONS 
       
    30 
       
    31 /**
       
    32 *   This class defines the interface for database observers.
       
    33 */
       
    34 class MCbsDbObserver
       
    35     {
       
    36     public:     // New functions
       
    37         /**
       
    38         *   Indicates that the database has been reinitialised.
       
    39         */
       
    40         virtual void DatabaseInitialisedInd() = 0;
       
    41 
       
    42         /**
       
    43         *   Indicates that the database has been closed, which should happen 
       
    44         *   only when the database manager is to be destroyed.
       
    45         */
       
    46         virtual void DatabaseClosedInd() = 0;
       
    47     };
       
    48 
       
    49 #endif      //  CBSDBOBSERVER_H   
       
    50             
       
    51 // End of File