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
102 idle_monitor.
OrMask(mask);
105 #ifdef ENABLE_DATABASE
121 const Database &GetDatabaseOrThrow()
const;
125 #ifdef ENABLE_DATABASE
126 void OnDatabaseModified()
override;
127 void OnDatabaseSongRemoved(
const char *
uri)
override;
130 #ifdef ENABLE_NEIGHBOR_PLUGINS
137 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)