equal
deleted
inserted
replaced
|
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 the License "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: |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 #ifndef __MIPTVEVENTLISTENEROBSERVER_H__ |
|
21 #define __MIPTVEVENTLISTENEROBSERVER_H__ |
|
22 |
|
23 class MIptvEvent; |
|
24 |
|
25 // CLASS DECLARATION |
|
26 |
|
27 /** |
|
28 * MIptvEventListenerObserver |
|
29 * class specifies the interface for CIptvEventListener callback function. |
|
30 * Client must inherit this and implement the virtual functions. |
|
31 */ |
|
32 class MIptvEventListenerObserver |
|
33 { |
|
34 |
|
35 public: // New functions |
|
36 |
|
37 /** |
|
38 * Event receiving function, CIptvEventListener is the sender. |
|
39 * NOTE: It is not allowed to delete CIptvEventListener object from this callback |
|
40 * function. Do it from other event (for example user initiated event or timer event). |
|
41 * |
|
42 * @param aEvent Event received. |
|
43 */ |
|
44 virtual void HandleEvent( MIptvEvent& aEvent ) = 0; |
|
45 }; |
|
46 |
|
47 #endif |