#include <gidle.hxx>
◆ MpdIdleSource()
| MpdIdleSource::MpdIdleSource |
( |
struct mpd_connection & |
_connection, |
|
|
mpd_glib_callback_t |
_callback, |
|
|
void * |
_callback_ctx |
|
) |
| |
◆ ~MpdIdleSource()
| MpdIdleSource::~MpdIdleSource |
( |
| ) |
|
◆ Enter()
| bool MpdIdleSource::Enter |
( |
| ) |
|
Enters idle mode.
- Returns
- true if idle mode has been entered, false if not (e.g. I/O error)
◆ Leave()
| void MpdIdleSource::Leave |
( |
| ) |
|
Leaves idle mode and invokes the callback if there were events.
◆ connection
| struct mpd_connection* MpdIdleSource::connection |
◆ async
| struct mpd_async* MpdIdleSource::async |
◆ parser
| struct mpd_parser* MpdIdleSource::parser |
◆ callback
◆ callback_ctx
| void* MpdIdleSource::callback_ctx |
◆ channel
◆ io_events
| unsigned MpdIdleSource::io_events = 0 |
◆ id
| unsigned MpdIdleSource::id = 0 |
◆ idle_events
| unsigned MpdIdleSource::idle_events |
The documentation for this struct was generated from the following file: