]> git.sesse.net Git - vlc/blob - modules/gui/wxwidgets/timer.hpp
update module LIST file.
[vlc] / modules / gui / wxwidgets / timer.hpp
1 /*****************************************************************************
2  * timer.hpp: Timer headers
3  *****************************************************************************
4  * Copyright (C) 1999-2005 the VideoLAN team
5  * $Id$
6  *
7  * Authors: Gildas Bazin <gbazin@videolan.org>
8  *
9  * This program is free software; you can redistribute it and/or modify
10  * it under the terms of the GNU General Public License as published by
11  * the Free Software Foundation; either version 2 of the License, or
12  * (at your option) any later version.
13  *
14  * This program is distributed in the hope that it will be useful,
15  * but WITHOUT ANY WARRANTY; without even the implied warranty of
16  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17  * GNU General Public License for more details.
18  *
19  * You should have received a copy of the GNU General Public License
20  * along with this program; if not, write to the Free Software
21  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
22  *****************************************************************************/
23
24 #include "wxwidgets.hpp"
25
26 namespace wxvlc
27 {
28     class InputManager;
29     class Interface;
30
31     class Timer: public wxTimer
32     {
33     public:
34         /* Constructor */
35         Timer( intf_thread_t *p_intf, Interface *p_main_interface );
36         virtual ~Timer();
37
38         virtual void Notify();
39
40     private:
41         intf_thread_t *p_intf;
42         Interface *p_main_interface;
43         vlc_bool_t b_init;
44         int i_old_playing_status;
45         int i_old_rate;
46
47         InputManager *msm;
48     };
49
50 }