musicus mpd client 0.1d
Functions | Variables
mpd_action.c File Reference
#include "mpd_action.h"
#include "mpd.h"

Functions

static gboolean mpd_undef (void)
static gboolean mpd_play_pause (void)
static gboolean mpd_stop (void)
static gboolean mpd_next (void)
static gboolean mpd_prev (void)
static gboolean mpd_playlist (void)
static gboolean mpd_update_db (void)
static gboolean mpd_media_browser (void)
static gboolean mpd_random (void)
static gboolean mpd_repeat (void)
static gboolean mpd_xfade (void)
void action (GtkWidget *widget, gpointer data)

Variables

static ActionFunc actions []
static int last_song = -1

Detailed Description

Author:
Simon Gerber
Date:
2007-12-15 This file provides the implementation for an universal callback function for all "action" mpd commands such as play/pause or toggle random/repeat .

Function Documentation

static gboolean mpd_media_browser ( void  ) [static]
static gboolean mpd_next ( void  ) [static]
static gboolean mpd_play_pause ( void  ) [static]
static gboolean mpd_playlist ( void  ) [static]
static gboolean mpd_prev ( void  ) [static]
static gboolean mpd_random ( void  ) [static]
static gboolean mpd_repeat ( void  ) [static]
static gboolean mpd_stop ( void  ) [static]
static gboolean mpd_undef ( void  ) [static]
static gboolean mpd_update_db ( void  ) [static]
static gboolean mpd_xfade ( void  ) [static]

Variable Documentation

ActionFunc actions[] [static]
Initial value:

Action function array indexed with corresponding ActionType

int last_song = -1 [static]
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines