comparison audacious/genevent.c @ 1649:f3934d790a2e trunk

[svn] - abstractionalize a lot of stuff, build still broken, live with it
author nenolod
date Thu, 07 Sep 2006 21:44:05 -0700
parents 6e477dd65024
children a6e6d3500c13
comparison
equal deleted inserted replaced
1648:d878473e6e3e 1649:f3934d790a2e
50 #include "libaudacious/vfs.h" 50 #include "libaudacious/vfs.h"
51 51
52 #include "controlsocket.h" 52 #include "controlsocket.h"
53 #include "dnd.h" 53 #include "dnd.h"
54 #include "effect.h" 54 #include "effect.h"
55 #include "equalizer.h"
56 #include "general.h" 55 #include "general.h"
57 #include "hints.h" 56 #include "hints.h"
58 #include "input.h" 57 #include "input.h"
59 #include "logger.h" 58 #include "logger.h"
60 #include "mainwin.h"
61 #include "output.h" 59 #include "output.h"
62 #include "playback.h" 60 #include "playback.h"
63 #include "playlist.h" 61 #include "playlist.h"
64 #include "ui_playlist.h"
65 #include "pluginenum.h" 62 #include "pluginenum.h"
66 #include "prefswin.h" 63 #include "prefswin.h"
67 #include "skinwin.h" 64 #include "skinwin.h"
68 #include "util.h" 65 #include "util.h"
69 #include "visualization.h" 66 #include "visualization.h"
70 67
71 gboolean ev_waiting = FALSE; 68 gboolean ev_waiting = FALSE;
72 69
70 #if 0
71 /* *** TO WA2GUI *** */
73 static gboolean 72 static gboolean
74 idle_func_change_song(gboolean waiting) 73 idle_func_change_song(gboolean waiting)
75 { 74 {
76 static GTimer *pause_timer = NULL; 75 static GTimer *pause_timer = NULL;
77 76
119 waiting = FALSE; 118 waiting = FALSE;
120 } 119 }
121 120
122 return waiting; 121 return waiting;
123 } 122 }
123 #endif
124 124
125 gint 125 gint
126 audcore_generic_events(void) 126 audcore_generic_events(void)
127 { 127 {
128 gint time = 0; 128 gint time = 0;
133 time = bmp_playback_get_time(); 133 time = bmp_playback_get_time();
134 134
135 switch (time) { 135 switch (time) {
136 case -1: 136 case -1:
137 /* no song playing */ 137 /* no song playing */
138 #if 0
138 ev_waiting = idle_func_change_song(ev_waiting); 139 ev_waiting = idle_func_change_song(ev_waiting);
140 #endif
139 break; 141 break;
140 142
141 default: 143 default:
142 ev_waiting = FALSE; 144 ev_waiting = FALSE;
143 } 145 }