multimediacommsengine/tsrc/testdriver/testclient/watcher/src/MTcDeathObserver.h
changeset 0 1bce908db942
equal deleted inserted replaced
-1:000000000000 0:1bce908db942
       
     1 /*
       
     2 * Copyright (c) 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:  See class definition below.
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef __MTCDEATHOBSERVER_H__
       
    19 #define __MTCDEATHOBSERVER_H__
       
    20 
       
    21 //  INCLUDES
       
    22 #include <e32std.h>
       
    23 
       
    24 // FORWARD DECLARATIONS
       
    25 
       
    26 //  CLASS DEFINITION
       
    27 /**
       
    28  * MTcDeathObserver defines a simple abstract interface for receiving
       
    29  * thread death notifications from CTcCoroner.
       
    30  */
       
    31 class MTcDeathObserver
       
    32      {
       
    33     public: // Constructors and destructor
       
    34 
       
    35 		/// Virtual destructor.
       
    36 		virtual ~MTcDeathObserver() {};
       
    37 
       
    38     public: // Abstract methods
       
    39 
       
    40 		/**
       
    41 		 * Called when a client has died.
       
    42 		 *
       
    43 		 * @param aAppName Full application dll name - for relaunching.
       
    44 		 * @param aDismissDialog ETrue if there is an error dialog that should
       
    45 		 *						 be dismissed.
       
    46 		 */
       
    47 		virtual void Died( const TDesC& aAppName, TBool aDismissDialog ) = 0;
       
    48 
       
    49     };
       
    50 
       
    51 #endif // __MTCDEATHOBSERVER_H__