mmappcomponents/harvester/server/inc/mpxsystemeventobserver.h
changeset 0 a2952bb97e68
equal deleted inserted replaced
-1:000000000000 0:a2952bb97e68
       
     1 /*
       
     2 * Copyright (c) 2006 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:  Abstract interface class to observe system events
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef M_MPXSYSTEMEVENTOBSERVER_H
       
    20 #define M_MPXSYSTEMEVENTOBSERVER_H
       
    21 
       
    22 #include "mpxharvestercommon.h"
       
    23 
       
    24 /**
       
    25  *  Abstract interface for observing system events
       
    26  *
       
    27  *  @lib mpxharvesterserver.exe
       
    28  *  @since S60 3.0
       
    29  */
       
    30 NONSHARABLE_CLASS( MMPXSystemEventObserver )
       
    31     {
       
    32 
       
    33 public:
       
    34 
       
    35     /**
       
    36      * HandleSystemEvent
       
    37      *
       
    38      * @since S60 3.0
       
    39      * @param aEvent event to handle
       
    40      * @param aData additional data for the event (ie what drive number)
       
    41      */
       
    42      virtual void HandleSystemEventL( TSystemEvent aEvent, TInt aData ) = 0;
       
    43 
       
    44     };
       
    45 
       
    46 #endif // M_MPXSYSTEMEVENTOBSERVER_H