equal
deleted
inserted
replaced
|
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 publisher interface |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 #ifndef __MSHWEVENTPUBLISHER_H__ |
|
22 #define __MSHWEVENTPUBLISHER_H__ |
|
23 |
|
24 // INCLUDES |
|
25 #include <e32std.h> |
|
26 #include <e32base.h> |
|
27 |
|
28 // Forward declarations |
|
29 class MShwEventQueue; |
|
30 |
|
31 // CLASS DECLARATION |
|
32 |
|
33 /** |
|
34 * MShwEventPublisher |
|
35 * @author Kimmo Hoikka |
|
36 */ |
|
37 class MShwEventPublisher |
|
38 { |
|
39 protected: |
|
40 |
|
41 /** |
|
42 * Destructor. Dont allow deleting objects through this interface. |
|
43 */ |
|
44 virtual ~MShwEventPublisher() {}; |
|
45 |
|
46 public: // the API |
|
47 |
|
48 /** |
|
49 * Set the event queue. |
|
50 * @param aQueue, the event queue where to send the events. |
|
51 */ |
|
52 virtual void SetEventQueue( MShwEventQueue* aQueue ) = 0; |
|
53 |
|
54 }; |
|
55 |
|
56 #endif // __MSHWEVENTPUBLISHER_H__ |