aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright notices.Avuton Olrich2009-12-311-1/+1
|
* player_control: protect command, state, error with a mutexMax Kellermann2009-10-311-1/+1
| | | | | | Use GMutex/GCond instead of the notify library. Manually lock the player_control object before accessing the protected attributes. Use the GCond object to notify the player thread and the main thread.
* all: Update copyright header.Avuton Olrich2009-03-131-4/+5
| | | | | | | | This updates the copyright header to all be the same, which is pretty much an update of where to mail request for a copy of the GPL and the years of the MPD project. This also puts all committers under 'The Music Player Project' umbrella. These entries should go individually in the AUTHORS file, for consistancy.
* event_pipe: moved variable "main_task" to main.cMax Kellermann2009-01-031-0/+2
|
* main: include main.h, fix dependenciesMax Kellermann2009-01-021-0/+2
|
* event_pipe: replaced PIPE_EVENT_SIGNAL with main_notifyMax Kellermann2009-01-021-0/+2
| | | | | | There is only one location using PIPE_EVENT_SIGNAL: to synchronize player_command() with player_command_finished(). Use the "notify" library instead of the event_pipe here.
* main: export the main_loop variableMax Kellermann2008-12-301-0/+24
Other libraries may need to access the main_loop reference, to add or remove events, or to call g_main_loop_quit().