~ubuntu-branches/ubuntu/precise/rhythmbox/precise-201203091205

« back to all changes in this revision

Viewing changes to sources/rb-playlist-xml.h

Tags: upstream-0.9.2cvs20060102
ImportĀ upstreamĀ versionĀ 0.9.2cvs20060102

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 *  Copyright (C) 2002 Jorn Baayen <jorn@nl.linux.org>
 
3
 *  Copyright (C) 2003,2004 Colin Walters <walters@redhat.com>
 
4
 *
 
5
 *  This program is free software; you can redistribute it and/or modify
 
6
 *  it under the terms of the GNU General Public License as published by
 
7
 *  the Free Software Foundation; either version 2 of the License, or
 
8
 *  (at your option) any later version.
 
9
 *
 
10
 *  This program is distributed in the hope that it will be useful,
 
11
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 
12
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
13
 *  GNU General Public License for more details.
 
14
 *
 
15
 *  You should have received a copy of the GNU General Public License
 
16
 *  along with this program; if not, write to the Free Software
 
17
 *  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 
18
 *
 
19
 */
 
20
 
 
21
/*
 
22
 * Playlist XML tags and attributes
 
23
 */
 
24
 
 
25
#ifndef __RB_PLAYLIST_XML_H
 
26
#define __RB_PLAYLIST_XML_H
 
27
 
 
28
#include <libxml/tree.h>
 
29
 
 
30
#define RB_PLAYLIST_XML_VERSION "1.0"
 
31
 
 
32
#define RB_PLAYLIST_PLAYLIST (xmlChar *) "playlist"
 
33
 
 
34
/* common attributes for all playlists */
 
35
#define RB_PLAYLIST_TYPE (xmlChar *) "type"
 
36
#define RB_PLAYLIST_NAME (xmlChar *) "name"
 
37
 
 
38
/* values for the 'type' attribute */
 
39
#define RB_PLAYLIST_AUTOMATIC (xmlChar *) "automatic"
 
40
#define RB_PLAYLIST_STATIC (xmlChar *) "static"
 
41
 
 
42
/* attributes for static playlists */
 
43
#define RB_PLAYLIST_LOCATION (xmlChar *) "location"
 
44
 
 
45
/* attributes for auto playlists */
 
46
#define RB_PLAYLIST_LIMIT_COUNT (xmlChar *) "limit-count"
 
47
#define RB_PLAYLIST_LIMIT_SIZE (xmlChar *) "limit-size"
 
48
#define RB_PLAYLIST_LIMIT_TIME (xmlChar *) "limit-time"
 
49
#define RB_PLAYLIST_SORT_KEY (xmlChar *) "sort-key"
 
50
#define RB_PLAYLIST_SORT_DIRECTION (xmlChar *) "sort-direction"
 
51
#define RB_PLAYLIST_LIMIT (xmlChar *) "limit"
 
52
 
 
53
#endif  /* __RB_PLAYLIST_XML_H */