2 * Copyright (C) 12 Jun 2003 Tomas Cermak
4 * This file is part of wmradio program.
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
26 #define PACKAGE "wmradio"
28 #define SCAN_NO_CHANGE 0
32 #define REVENT_MOUSE_MOVE 1
33 #define REVENT_BUTTON_PRESS 2
34 #define REVENT_BUTTON_RELEASE 3
35 #define REVENT_TIMER 4
37 #define REVENT_EXPOSE 6
38 #define REVENT_SCROLL_UP 7
39 #define REVENT_SCROLL_DOWN 8
41 #define CONTROL_STATE_PRESSED 1
42 #define CONTROL_STATE_NOT_PRESSED 0
60 char scan_in_progress
;
76 void wmradio_handle_event(RadioEvent
*e
);
77 void wmradio_command(RadioCommand command
, int value
);
78 void wmradio_next_station(void);
79 void wmradio_prev_station(void);
80 RadioInfo
*wmradio_radio_info(void);
81 void wmradio_init_radio_info(void);
82 int wmradio_init(void);
83 void wmradio_done(void);