~ubuntu-branches/ubuntu/vivid/guayadeque/vivid

« back to all changes in this revision

Viewing changes to src/TimeLine.h

  • Committer: Package Import Robot
  • Author(s): Artur Rona
  • Date: 2014-12-29 01:09:05 UTC
  • mfrom: (12.1.3 sid)
  • Revision ID: package-import@ubuntu.com-20141229010905-r5m8w9224bt0nm05
Tags: 0.3.7~ds0-2.1ubuntu1
* Merge from Debian unstable.  Remaining changes:
  - debian/control, debian/patches/05-diable-indicate.patch:
    + Disable indicator, as mpris only is needed for sound
      menu integration?!

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
// -------------------------------------------------------------------------------- //
2
 
//      Copyright (C) 2008-2012 J.Rios
 
2
//      Copyright (C) 2008-2013 J.Rios
3
3
//      anonbeat@gmail.com
4
4
//
5
5
//    This Program is free software; you can redistribute it and/or modify
73
73
 
74
74
  public :
75
75
    guTimeLine( int duration = 1000, wxEvtHandler * parent = NULL );
76
 
    ~guTimeLine();
 
76
    virtual ~guTimeLine();
77
77
 
78
78
    int             Duration( void ) const { return m_Duration; }
79
79
    void            SetDuration( const int duration ) { m_Duration = duration; }
115
115
 
116
116
    virtual void    TimerEvent( void );
117
117
    virtual int     TimerCreate( void );
118
 
    virtual void    TimerDestroy( void ) { g_source_remove( m_TimerId ); }
 
118
    virtual void    TimerDestroy( void ) { int id = m_TimerId; m_TimerId = 0; if (id) g_source_remove( id ); }
119
119
 
120
120
};
121
121