1 /* |
|
2 * Copyright (c) 2004 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: Pure virtual base class for viewer observer. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef IHLVIEWEROBSERVER_H |
|
20 #define IHLVIEWEROBSERVER_H |
|
21 |
|
22 // INCLUDES |
|
23 #include <e32std.h> |
|
24 |
|
25 // CLASS DECLARATION |
|
26 /** |
|
27 * MIHLViewerObserver |
|
28 * |
|
29 * Pure virtual base class for viewer observer. |
|
30 * @lib IHL.lib |
|
31 * @since 3.0 |
|
32 */ |
|
33 class MIHLViewerObserver |
|
34 { |
|
35 public: |
|
36 |
|
37 /** |
|
38 * This callback is currently not supported! |
|
39 * |
|
40 * Notifies client of viewer events. |
|
41 * Event codes are defined in viewer header. |
|
42 * Leave situation is handled in ViewerError() callback. |
|
43 * @since 3.0 |
|
44 * @param aEvent Type of event. |
|
45 * @param aEventCode1 Event specific code 1. |
|
46 * @param aEventCode2 Event specific code 2. |
|
47 */ |
|
48 virtual void ViewerEventL( TInt /*aEvent*/, TInt /*aEventCode1*/, TInt /*aEventCode2*/ ) {} |
|
49 |
|
50 /** |
|
51 * Notifies client when viewer bitmap content is changed. |
|
52 * Leave situation is handled in ViewerError() callback. |
|
53 * @since 3.0 |
|
54 */ |
|
55 virtual void ViewerBitmapChangedL() = 0; |
|
56 |
|
57 /** |
|
58 * Notifies client if error occurs in viewer. |
|
59 * @since 3.0 |
|
60 * @param aError System wide error code. |
|
61 */ |
|
62 virtual void ViewerError( TInt aError ) = 0; |
|
63 |
|
64 }; |
|
65 |
|
66 #endif // IHLIMAGEVIEWEROBSERVER_H |
|
67 |
|
68 // End of File |
|