svgt_plat/svgt_api/inc/SVGAnimationListener.h
changeset 46 88edb906c587
equal deleted inserted replaced
-1:000000000000 46:88edb906c587
       
     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_MSVGANIMATIONLISTENER__
       
    20 #define __INC_MSVGANIMATIONLISTENER__
       
    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 MSvgAnimationListener
       
    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 AnimationStarted(TBool isAnimationIndefinite) = 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 AnimationPaused() = 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 AnimationEnded() = 0;
       
    62 
       
    63     };
       
    64 
       
    65 #endif /*__INC_MSVGHYPERLINKLISTENER__*/