diff options
Diffstat (limited to '')
-rw-r--r-- | src/Main.hxx | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/src/Main.hxx b/src/Main.hxx index a8ec184c8..7e3fecd0b 100644 --- a/src/Main.hxx +++ b/src/Main.hxx @@ -1,5 +1,5 @@ /* - * Copyright (C) 2003-2013 The Music Player Daemon Project + * Copyright (C) 2003-2014 The Music Player Daemon Project * http://www.musicpd.org * * This program is free software; you can redistribute it and/or modify @@ -20,16 +20,18 @@ #ifndef MPD_MAIN_HXX #define MPD_MAIN_HXX -class ThreadId; class EventLoop; +class Context; struct Instance; -extern ThreadId main_thread; - -extern EventLoop *main_loop; +#ifdef ANDROID +extern Context *context; +#endif extern Instance *instance; +#ifndef ANDROID + /** * A entry point for application. * On non-Windows platforms this is called directly from main() @@ -38,6 +40,8 @@ extern Instance *instance; */ int mpd_main(int argc, char *argv[]); +#endif + #ifdef WIN32 /** |