javauis/mmapi_qt/animated_gif_notUsed/inc/cmmaanimationstoptimecontrol.h
changeset 61 bf7ee68962da
parent 48 e0d6e9bd3ca7
child 62 9d831841012d
child 69 773449708c84
equal deleted inserted replaced
48:e0d6e9bd3ca7 61:bf7ee68962da
     1 /*
       
     2 * Copyright (c) 2002 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:  This class is used for stoptime controlling for animation player
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef CMMAANIMATIONSTOPTIMECONTROL_H
       
    20 #define CMMAANIMATIONSTOPTIMECONTROL_H
       
    21 
       
    22 //  INCLUDES
       
    23 #include "cmmaanimationplayer.h"
       
    24 #include "cmmastoptimecontrol.h"
       
    25 
       
    26 //  CLASS DECLARATION
       
    27 /**
       
    28 *   This class is used for stoptime controlling for animation
       
    29 *
       
    30 *
       
    31 */
       
    32 
       
    33 NONSHARABLE_CLASS(CMMAAnimationStopTimeControl): public CMMAStopTimeControl,
       
    34         public MMMAAnimationObserver
       
    35 {
       
    36 public:
       
    37     static CMMAAnimationStopTimeControl* NewL(CMMAAnimationPlayer* aPlayer);
       
    38     ~CMMAAnimationStopTimeControl();
       
    39 
       
    40 protected:
       
    41     CMMAAnimationStopTimeControl(CMMAAnimationPlayer* aPlayer);
       
    42 
       
    43 public: // from CMMAStopTimeControl
       
    44     void SetStopTimeL(const TInt64& aTime);
       
    45 
       
    46 public: // from MMMAAnimationObserver
       
    47     void AnimationAdvancedL(TInt aFrame, TInt64 aMediaTime);
       
    48 };
       
    49 
       
    50 #endif // CMMAANIMATIONSTOPTIMECONTROL_H