satengine/SatServer/inc/MSatEventObserver.h
changeset 0 ff3b6d0fd310
equal deleted inserted replaced
-1:000000000000 0:ff3b6d0fd310
       
     1 /*
       
     2 * Copyright (c) 2002-2004 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:  Observer of events.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef MSATEVENTOBSERVER_H
       
    21 #define MSATEVENTOBSERVER_H
       
    22 
       
    23 //  INCLUDES
       
    24 #include <e32std.h>
       
    25 
       
    26 // CLASS DECLARATION
       
    27 
       
    28 /**
       
    29 *  Interface for observing events.
       
    30 *
       
    31 *  @lib SatEngine
       
    32 *  @since Series 60 3.0
       
    33 */
       
    34 class MSatEventObserver
       
    35     {
       
    36     protected: // Constructors and destructor
       
    37 
       
    38         /**
       
    39         * C++ default constructor.
       
    40         */
       
    41         MSatEventObserver() {};
       
    42 
       
    43         /**
       
    44         * Destructor.
       
    45         */
       
    46         virtual ~MSatEventObserver() {};
       
    47 
       
    48     public: // New functions
       
    49 
       
    50         /**
       
    51         * Notification of event.
       
    52         * @param aEvent Identifies the event.
       
    53         */
       
    54         virtual void Event( TInt aEvent ) = 0;
       
    55 
       
    56     private:
       
    57 
       
    58         // Prohibit copy constructor if not deriving from CBase.
       
    59         MSatEventObserver( const MSatEventObserver& );
       
    60 
       
    61         // Prohibit assigment operator if not deriving from CBase.
       
    62         MSatEventObserver& operator=( const MSatEventObserver& );
       
    63 
       
    64     };
       
    65 
       
    66 #endif      // MSATEVENTOBSERVER_H
       
    67 
       
    68 // End of File