ginebra/animations/pulseanimator.h
branchGCC_SURGE
changeset 8 2e16851ffecd
parent 2 bf4420e9fa4d
parent 6 1c3b8676e58c
equal deleted inserted replaced
2:bf4420e9fa4d 8:2e16851ffecd
     1 /*
       
     2 * Copyright (c) 2010 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: 
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef _GINEBRA_PULSE_ANIMATOR_H_
       
    19 #define _GINEBRA_PULSE_ANIMATOR_H_
       
    20 
       
    21 #include <QObject>
       
    22 #include "../attentionanimator.h"
       
    23 
       
    24 class QObject;
       
    25 class ChromeSnippet;
       
    26 
       
    27 class PulseAnimator : public AttentionAnimator
       
    28 {
       
    29    Q_OBJECT
       
    30 
       
    31  public:
       
    32   PulseAnimator(ChromeSnippet* snippet);
       
    33   void toggleActive();
       
    34   virtual ~PulseAnimator();
       
    35  public slots:
       
    36   virtual void updateAttention(qreal step);
       
    37 };
       
    38 
       
    39 #endif