satengine/SatServer/EventMonitors/inc/msatbrowserthreadobserver.h
changeset 46 2fa1fa551b0b
parent 42 35488577e233
child 48 78df25012fda
equal deleted inserted replaced
42:35488577e233 46:2fa1fa551b0b
     1 /*
       
     2 * Copyright (c) 2002-2005 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 for browser termination.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef MSATBROWSERTHREADOBSERVER_H
       
    20 #define MSATBROWSERTHREADOBSERVER_H
       
    21 
       
    22 #include <w32std.h>
       
    23 
       
    24 /**
       
    25  * Observer for browser termination.
       
    26  *
       
    27  * @lib EventMonitors.lib
       
    28  * @since Series 60 3.1
       
    29  */
       
    30 class MSatBrowserThreadObserver
       
    31     {
       
    32 
       
    33 public:
       
    34 
       
    35     /**
       
    36      * Two-phased constructor.
       
    37      * @param aUtils Event monitor utils interface
       
    38      */
       
    39     MSatBrowserThreadObserver() {};
       
    40 
       
    41     /**
       
    42      * Destructor.
       
    43      */
       
    44     virtual ~MSatBrowserThreadObserver() {};
       
    45 
       
    46     /**
       
    47      * Notification of browser termination.
       
    48      * @param aCause The cause for the browser termination.
       
    49      */
       
    50     virtual void NotifyBrowserTerminated(
       
    51         const RSat::TBrowserTerminationCause aCause ) = 0;
       
    52 
       
    53 private:
       
    54 
       
    55     /**
       
    56      * Prohibit copy constructor if not deriving from CBase.
       
    57      */
       
    58     MSatBrowserThreadObserver( const MSatBrowserThreadObserver& );
       
    59 
       
    60     /**
       
    61      * Prohibit assigment operator if not deriving from CBase.
       
    62      */
       
    63     MSatBrowserThreadObserver& operator=( const MSatBrowserThreadObserver& );
       
    64 
       
    65     };
       
    66 
       
    67 #endif // MSATBROWSERTHREADOBSERVER_H