|
1 /* |
|
2 * Copyright (c) 2003 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: SVG Engine header file |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef __INC_MSVGHYPERLINKLISTENER__ |
|
20 #define __INC_MSVGHYPERLINKLISTENER__ |
|
21 |
|
22 |
|
23 /** |
|
24 * This interface is the callback mechanism for the SVG Engine to communicate to |
|
25 * interested clients about hyperlinks. The client (listener) is notified when |
|
26 * a pointer has entered or exited a hyperlink and when a hyperlink is activated. |
|
27 * |
|
28 * @lib SVGEngine.lib |
|
29 * @since 1.0 |
|
30 */ |
|
31 class MSvgHyperlinkListener |
|
32 { |
|
33 public: |
|
34 |
|
35 /** |
|
36 * Notified when a pointer enters a hyperlink element. |
|
37 * |
|
38 * @since 1.0 |
|
39 * @param : aUri -- URI string of hyperlink |
|
40 * @return : For future use. Value is ignored. |
|
41 */ |
|
42 virtual TBool LinkEntered( const TDesC& aUri ) = 0; |
|
43 |
|
44 /** |
|
45 * Notified when a pointer exits a hyperlink element. |
|
46 * |
|
47 * @since 1.0 |
|
48 * @param : aUri -- URI string of hyperlink |
|
49 * @return : For future use. Value is ignored. |
|
50 */ |
|
51 virtual TBool LinkExited( const TDesC& aUri ) = 0; |
|
52 |
|
53 /** |
|
54 * This method is called to notify the client that a link has been |
|
55 * activated. |
|
56 * |
|
57 * @since 1.0 |
|
58 * @param : aUri -- URI string of hyperlink |
|
59 * @return : For future use. Value is ignored. |
|
60 */ |
|
61 virtual TBool LinkActivated( const TDesC& aUri ) = 0; |
|
62 |
|
63 /** |
|
64 * This method is called to notify the client that a link has been |
|
65 * activated. When Show is also present . |
|
66 * |
|
67 * @since 1.0 |
|
68 * @param : aUri -- URI string of hyperlink |
|
69 * @param : aShow -- xlink:show value |
|
70 * @return : For future use. Value is ignored. |
|
71 */ |
|
72 virtual TBool LinkActivatedWithShow( const TDesC& aUri, const TDesC& aShow ) = 0; |
|
73 |
|
74 }; |
|
75 |
|
76 #endif /*__INC_MSVGHYPERLINKLISTENER__*/ |