photosgallery/slideshow/engine/controlsrc/shweventqueue.h
changeset 0 4e91876724a2
equal deleted inserted replaced
-1:000000000000 0:4e91876724a2
       
     1 /*
       
     2 * Copyright (c) 2007-2008 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:    The event queue interface
       
    15  *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 
       
    21 #ifndef __MSHWEVENTQUEUE_H__
       
    22 #define __MSHWEVENTQUEUE_H__
       
    23 
       
    24 // INCLUDES
       
    25 #include <e32std.h>
       
    26 #include <e32base.h>
       
    27 
       
    28 // FORWARD DECLARATIONS
       
    29 class MShwEvent;
       
    30 
       
    31 // CLASS DECLARATION
       
    32 
       
    33 /**
       
    34  * MShwEventQueue
       
    35  * Event queue, provides the API to send events to Event Observers
       
    36  */
       
    37 class MShwEventQueue
       
    38 	{
       
    39 	protected:
       
    40 
       
    41 		/**
       
    42 		 * Destructor. Dont allow deleting objects through this interface
       
    43 		 */
       
    44 		virtual ~MShwEventQueue() {};
       
    45 
       
    46 	public: // the API
       
    47 
       
    48 		/**
       
    49 		 * Send event to the event observers.
       
    50 		 * @param aEvent, the event object that describes the incident
       
    51 		 */
       
    52 		virtual void SendEventL( MShwEvent* aEvent ) = 0;
       
    53 
       
    54 	};
       
    55 
       
    56 #endif // __MSHWEVENTQUEUE_H__