tracesrv/tracecore/btrace_handler/inc/TraceCoreMessageReceiver.h
changeset 56 aa2539c91954
equal deleted inserted replaced
54:a151135b0cf9 56:aa2539c91954
       
     1 // Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 // Incoming message notifications
       
    15 // 
       
    16 
       
    17 #ifndef __TRACECOREMESSAGERECEIVER_H__
       
    18 #define __TRACECOREMESSAGERECEIVER_H__
       
    19 
       
    20 //Forward declarations
       
    21 class TTraceMessage;
       
    22 
       
    23 
       
    24 /**
       
    25  * Incoming message notifications
       
    26  */
       
    27 NONSHARABLE_CLASS( MTraceCoreMessageReceiver )
       
    28     {
       
    29 public:
       
    30 
       
    31     /**
       
    32      * Message received notification
       
    33      * 
       
    34      * @param aMsg The message that was received
       
    35      * @return KErrNotFound if the message id was not found (not subscribed), KErrNone if found
       
    36      */
       
    37     virtual TInt MessageReceived( TTraceMessage &aMsg ) = 0;
       
    38     };
       
    39 
       
    40 #endif
       
    41 
       
    42 // End of File