musicus mpd client 0.1d
Defines | Typedefs | Enumerations | Functions
mpd_action.h File Reference
#include "definitions_gtk.h"

Go to the source code of this file.

Defines

#define GPOINTER_TO_ACTION_TYPE(data)   ((MpdActionType)data)
#define ACTION_TYPE_TO_GPOINTER(data)   ((gpointer)data)

Typedefs

typedef enum MpdActionType_ MpdActionType
typedef gboolean(* ActionFunc )(void)

Enumerations

enum  MpdActionType_ {
  ACTION_UNDEF, ACTION_PLAY_PAUSE, ACTION_STOP, ACTION_NEXT,
  ACTION_PREVIOUS, ACTION_PLAYLIST, ACTION_UPDATE_DB, ACTION_MEDIA_BROWSER,
  ACTION_RANDOM, ACTION_REPEAT, ACTION_XFADE, NUM_ACTIONS
}

Functions

void action (GtkWidget *widget, gpointer data)

Detailed Description

Author:
Simon Gerber
Date:
2007-12-15 This file provides a universal callback function for all mpd commands which actively do something (not state or information queries
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines