Mercurial > audlegacy-plugins
annotate src/statusicon/si_audacious.h @ 1263:458d46e65a86
wav-sndfile: in is_our_file, ensure that filename is not NULL before passing it to sf_open
author | Giacomo Lozito <james@develia.org> |
---|---|
date | Fri, 13 Jul 2007 20:55:42 +0200 |
parents | 9f0ac3bb82f4 |
children | d44adaddae8b |
rev | line source |
---|---|
433
38fe08dff5cd
[svn] - added status icon plugin (written from scratch, with code from gtk 2.10)
giacomo
parents:
diff
changeset
|
1 /* |
38fe08dff5cd
[svn] - added status icon plugin (written from scratch, with code from gtk 2.10)
giacomo
parents:
diff
changeset
|
2 * |
38fe08dff5cd
[svn] - added status icon plugin (written from scratch, with code from gtk 2.10)
giacomo
parents:
diff
changeset
|
3 * Author: Giacomo Lozito <james@develia.org>, (C) 2005-2007 |
38fe08dff5cd
[svn] - added status icon plugin (written from scratch, with code from gtk 2.10)
giacomo
parents:
diff
changeset
|
4 * |
38fe08dff5cd
[svn] - added status icon plugin (written from scratch, with code from gtk 2.10)
giacomo
parents:
diff
changeset
|
5 * This program is free software; you can redistribute it and/or modify it |
38fe08dff5cd
[svn] - added status icon plugin (written from scratch, with code from gtk 2.10)
giacomo
parents:
diff
changeset
|
6 * under the terms of the GNU General Public License as published by the |
38fe08dff5cd
[svn] - added status icon plugin (written from scratch, with code from gtk 2.10)
giacomo
parents:
diff
changeset
|
7 * Free Software Foundation; either version 2 of the License, or (at your |
38fe08dff5cd
[svn] - added status icon plugin (written from scratch, with code from gtk 2.10)
giacomo
parents:
diff
changeset
|
8 * option) any later version. |
38fe08dff5cd
[svn] - added status icon plugin (written from scratch, with code from gtk 2.10)
giacomo
parents:
diff
changeset
|
9 * |
38fe08dff5cd
[svn] - added status icon plugin (written from scratch, with code from gtk 2.10)
giacomo
parents:
diff
changeset
|
10 * This program is distributed in the hope that it will be useful, but |
38fe08dff5cd
[svn] - added status icon plugin (written from scratch, with code from gtk 2.10)
giacomo
parents:
diff
changeset
|
11 * WITHOUT ANY WARRANTY; without even the implied warranty of |
38fe08dff5cd
[svn] - added status icon plugin (written from scratch, with code from gtk 2.10)
giacomo
parents:
diff
changeset
|
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
38fe08dff5cd
[svn] - added status icon plugin (written from scratch, with code from gtk 2.10)
giacomo
parents:
diff
changeset
|
13 * General Public License for more details. |
38fe08dff5cd
[svn] - added status icon plugin (written from scratch, with code from gtk 2.10)
giacomo
parents:
diff
changeset
|
14 * |
38fe08dff5cd
[svn] - added status icon plugin (written from scratch, with code from gtk 2.10)
giacomo
parents:
diff
changeset
|
15 * You should have received a copy of the GNU General Public License along |
38fe08dff5cd
[svn] - added status icon plugin (written from scratch, with code from gtk 2.10)
giacomo
parents:
diff
changeset
|
16 * with this program; if not, write to the Free Software Foundation, Inc., |
38fe08dff5cd
[svn] - added status icon plugin (written from scratch, with code from gtk 2.10)
giacomo
parents:
diff
changeset
|
17 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
38fe08dff5cd
[svn] - added status icon plugin (written from scratch, with code from gtk 2.10)
giacomo
parents:
diff
changeset
|
18 * |
38fe08dff5cd
[svn] - added status icon plugin (written from scratch, with code from gtk 2.10)
giacomo
parents:
diff
changeset
|
19 */ |
38fe08dff5cd
[svn] - added status icon plugin (written from scratch, with code from gtk 2.10)
giacomo
parents:
diff
changeset
|
20 |
38fe08dff5cd
[svn] - added status icon plugin (written from scratch, with code from gtk 2.10)
giacomo
parents:
diff
changeset
|
21 #ifndef _I_SI_AUDACIOUS_H |
38fe08dff5cd
[svn] - added status icon plugin (written from scratch, with code from gtk 2.10)
giacomo
parents:
diff
changeset
|
22 #define _I_SI_AUDACIOUS_H 1 |
38fe08dff5cd
[svn] - added status icon plugin (written from scratch, with code from gtk 2.10)
giacomo
parents:
diff
changeset
|
23 |
38fe08dff5cd
[svn] - added status icon plugin (written from scratch, with code from gtk 2.10)
giacomo
parents:
diff
changeset
|
24 #include "si_common.h" |
453
60395c0d7587
[svn] - status icon plugin: use scroll wheel on the status icon to change volume
giacomo
parents:
433
diff
changeset
|
25 #include <glib.h> |
433
38fe08dff5cd
[svn] - added status icon plugin (written from scratch, with code from gtk 2.10)
giacomo
parents:
diff
changeset
|
26 |
38fe08dff5cd
[svn] - added status icon plugin (written from scratch, with code from gtk 2.10)
giacomo
parents:
diff
changeset
|
27 |
854
aac49941ee8f
[svn] statusicon 0.3: alternative right-click menu with simple playback control commands
giacomo
parents:
453
diff
changeset
|
28 #define SI_AUDACIOUS_PLAYBACK_CTRL_PREV 0 |
aac49941ee8f
[svn] statusicon 0.3: alternative right-click menu with simple playback control commands
giacomo
parents:
453
diff
changeset
|
29 #define SI_AUDACIOUS_PLAYBACK_CTRL_PLAY 1 |
aac49941ee8f
[svn] statusicon 0.3: alternative right-click menu with simple playback control commands
giacomo
parents:
453
diff
changeset
|
30 #define SI_AUDACIOUS_PLAYBACK_CTRL_PAUSE 2 |
aac49941ee8f
[svn] statusicon 0.3: alternative right-click menu with simple playback control commands
giacomo
parents:
453
diff
changeset
|
31 #define SI_AUDACIOUS_PLAYBACK_CTRL_STOP 3 |
aac49941ee8f
[svn] statusicon 0.3: alternative right-click menu with simple playback control commands
giacomo
parents:
453
diff
changeset
|
32 #define SI_AUDACIOUS_PLAYBACK_CTRL_NEXT 4 |
855
fbf1f593b0c6
[svn] statusicon: added a open-file item in the small right-click menu
giacomo
parents:
854
diff
changeset
|
33 #define SI_AUDACIOUS_PLAYBACK_CTRL_EJECT 5 |
854
aac49941ee8f
[svn] statusicon 0.3: alternative right-click menu with simple playback control commands
giacomo
parents:
453
diff
changeset
|
34 |
433
38fe08dff5cd
[svn] - added status icon plugin (written from scratch, with code from gtk 2.10)
giacomo
parents:
diff
changeset
|
35 void si_audacious_toggle_visibility ( void ); |
453
60395c0d7587
[svn] - status icon plugin: use scroll wheel on the status icon to change volume
giacomo
parents:
433
diff
changeset
|
36 void si_audacious_volume_change ( gint ); |
918
209bd85dc1b9
[svn] - statusicon: add an option to use mouse wheel to change playing song instead of volume
giacomo
parents:
855
diff
changeset
|
37 void si_audacious_playback_skip ( gint ); |
854
aac49941ee8f
[svn] statusicon 0.3: alternative right-click menu with simple playback control commands
giacomo
parents:
453
diff
changeset
|
38 void si_audacious_playback_ctrl ( gpointer ); |
962
9f0ac3bb82f4
[svn] - statusicon: added support for quit button in smallmenu; also, the field is being prepared for customizable smallmenu entries
giacomo
parents:
918
diff
changeset
|
39 void si_audacious_quit ( void ); |
433
38fe08dff5cd
[svn] - added status icon plugin (written from scratch, with code from gtk 2.10)
giacomo
parents:
diff
changeset
|
40 |
38fe08dff5cd
[svn] - added status icon plugin (written from scratch, with code from gtk 2.10)
giacomo
parents:
diff
changeset
|
41 |
38fe08dff5cd
[svn] - added status icon plugin (written from scratch, with code from gtk 2.10)
giacomo
parents:
diff
changeset
|
42 #endif /* !_I_SI_AUDACIOUS_H */ |