Freya  0.0.1
A Gtk3 MPD Client
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions
MPD::NotifyData Class Reference

NotifyData is passed as second argument to the on_client_update signal. More...

#include <NotifyData.hh>

Public Member Functions

 NotifyData (Connection &conn)
 You are not supposed to instance this yourself.
 ~NotifyData ()
Status & get_status ()
 Get the current MPD::Status.
Statistics & get_statistics ()
 Get the current MPD::Statistics.
Song * get_song ()
 Get the currently playing MPD::Song.
Song * get_next_song ()
 Get the next playing MPD::Song.
void update_all (unsigned event=UINT_MAX)
 Update internal client state.

Detailed Description

NotifyData is passed as second argument to the on_client_update signal.

Definition at line 44 of file NotifyData.hh.


Constructor & Destructor Documentation

You are not supposed to instance this yourself.

Parameters:
conn

Member Function Documentation

Get the next playing MPD::Song.

Returns:
This might be NULL at end of the queue and when not repeating.

Get the currently playing MPD::Song.

Returns:
This is NULL when not playing! Check for it!

Get the current MPD::Statistics.

Returns:

Get the current MPD::Status.

Returns:

Here is the caller graph for this function:

void MPD::NotifyData::update_all ( unsigned  event = UINT_MAX)

Update internal client state.


The documentation for this class was generated from the following file: