20 #ifndef MPD_INSTANCE_HXX 21 #define MPD_INSTANCE_HXX 28 #ifdef ENABLE_NEIGHBOR_PLUGINS 33 #ifdef ENABLE_DATABASE 54 #if defined(ENABLE_DATABASE) || defined(ENABLE_NEIGHBOR_PLUGINS) 57 #ifdef ENABLE_DATABASE 59 #ifdef ENABLE_NEIGHBOR_PLUGINS 63 #ifdef ENABLE_NEIGHBOR_PLUGINS 69 #ifdef ENABLE_NEIGHBOR_PLUGINS 73 #ifdef ENABLE_DATABASE 105 #ifdef ENABLE_DATABASE 120 const Database &GetDatabaseOrThrow()
const;
124 #ifdef ENABLE_DATABASE 125 void OnDatabaseModified()
override;
126 void OnDatabaseSongRemoved(
const char *
uri)
override;
129 #ifdef ENABLE_NEIGHBOR_PLUGINS 136 void OnIdle(
unsigned mask);
#define BIND_THIS_METHOD(method)
Shortcut wrapper for BIND_METHOD() which assumes "*this" is the instance to be bound.
An event loop that polls for events on file/socket descriptors.
void Break()
Stop execution of this EventLoop at the next chance.
Manage a bit mask of events that have occurred.
A partition of the Music Player Daemon.
An object that listens to events from the Database.
void OrMask(unsigned new_mask)
An interface that listens on events from neighbor plugins.
This class manages the update queue and runs the update thread.
A utility class which, when used as the first base class, ensures that the EventLoop gets initialized...
void Shutdown()
Initiate shutdown.
A class that initializes and opens all configured neighbor plugins.
const Storage const char * uri
void EmitIdle(unsigned mask)