~ubuntu-branches/ubuntu/trusty/libavg/trusty-proposed

« back to all changes in this revision

Viewing changes to src/anim/WaitAnim.h

  • Committer: Package Import Robot
  • Author(s): OXullo Intersecans
  • Date: 2011-12-06 22:44:56 UTC
  • mfrom: (1.1.6)
  • Revision ID: package-import@ubuntu.com-20111206224456-qc7250z3ya1vi8s9
Tags: 1.7.0-0ubuntu1
* New upstream release (LP: #899183)
* Remove patches 0002-libav-0.7.patch, 0003-fglrx-segfault-on-startup.patch
  now merged to upstream
* Remove unnecessary .la files
* Update debian/watch file
* Fix debian/copyright dep-5 compliancy
* Update standards to version 3.9.2
* Add man pages for avg_checktouch, avg_checkvsync, avg_showsvg
* Minor debian/rules enhancement
* Add librsvg2-dev, libgdk-pixbuf2.0-dev to Build-Depends
* Proper transition to dh_python2

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
//
2
2
//  libavg - Media Playback Engine. 
3
 
//  Copyright (C) 2003-2008 Ulrich von Zadow
 
3
//  Copyright (C) 2003-2011 Ulrich von Zadow
4
4
//
5
5
//  This library is free software; you can redistribute it and/or
6
6
//  modify it under the terms of the GNU Lesser General Public
30
30
 
31
31
class AVG_API WaitAnim: public Anim {
32
32
public:
 
33
    WaitAnim(long long duration = -1,
 
34
            const boost::python::object& startCallback=boost::python::object(), 
 
35
            const boost::python::object& stopCallback=boost::python::object());
33
36
    virtual ~WaitAnim();
34
37
   
35
 
    static AnimPtr create(long long duration = -1,
36
 
            const boost::python::object& startCallback=boost::python::object(), 
37
 
            const boost::python::object& stopCallback=boost::python::object());
38
 
 
39
38
    virtual void start(bool bKeepAttr=false);
40
39
    virtual void abort();
41
40
    
42
41
    virtual bool step();
43
42
 
44
43
private:
45
 
    WaitAnim(long long duration, const boost::python::object& startCallback, 
46
 
            const boost::python::object& stopCallback);
47
44
    long long m_Duration;
48
45
    long long m_StartTime;
49
46
};