/* * Another Music Player Client * * ampc (c) 2005 Trevor Caira * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #ifndef __COMMAND_H__ #define __COMMAND_H__ /* command_t from ncmpc by Kalle Wallin */ typedef enum { /* null command */ CMD_NONE, /* simple commands */ CMD_SHUFFLE, CMD_CLEAR, CMD_STOP, CMD_PAUSE, CMD_NEXT, CMD_PREVIOUS, /* complex commands */ CMD_PLAY, CMD_DELETE /* etc... */ } command_t; void my_send_command (mpdclient_t *mpdclient, command_t command); #endif