1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-10-02 23:19:08 +00:00
conky/src/xmms.h

51 lines
1.5 KiB
C
Raw Normal View History

/* -------------------------------------------------------------------------
* xmms.h: conky support for XMMS-related projects
*
* Copyright (C) 2005 Philip Kovacs kovacsp3@comcast.net
*
* $Id$
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library 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
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
* --------------------------------------------------------------------------- */
#ifndef XMMS_H
#define XMMS_H
enum _xmms_items {
XMMS_STATUS=0,
XMMS_TITLE,
XMMS_LENGTH,
XMMS_LENGTH_SECONDS,
XMMS_POSITION,
XMMS_POSITION_SECONDS,
XMMS_BITRATE,
XMMS_FREQUENCY,
XMMS_CHANNELS,
XMMS_FILENAME,
XMMS_PLAYLIST_LENGTH,
XMMS_PLAYLIST_POSITION,
};
/* 12 slots for the xmms values */
typedef char xmms_t[12][128];
/* Service routine for the conky main thread */
void update_xmms(void);
/* Thread function */
void *xmms_thread_func(void *);
#endif