Commit | Line | Data |
---|---|---|
9faa7a88 RK |
1 | /* |
2 | * This file is part of DisOrder. | |
3 | * Copyright (C) 2008 Richard Kettlewell | |
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, but | |
11 | * WITHOUT ANY WARRANTY; without even the implied warranty of | |
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
13 | * 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 | |
18 | * USA | |
19 | */ | |
20 | /** @file server/macros-disorder.h | |
21 | * @brief DisOrder-specific expansions | |
22 | */ | |
23 | ||
24 | #ifndef MACROS_DISORDER_H | |
25 | #define MACROS_DISORDER_H | |
26 | ||
27 | extern disorder_client *client; | |
bca4e2b7 | 28 | extern char *error_string; |
9faa7a88 RK |
29 | void register_disorder_expansions(void); |
30 | ||
448d3570 RK |
31 | #define DC_QUEUE 0x0001 |
32 | #define DC_PLAYING 0x0002 | |
33 | #define DC_RECENT 0x0004 | |
34 | #define DC_VOLUME 0x0008 | |
35 | #define DC_DIRS 0x0010 | |
36 | #define DC_FILES 0x0020 | |
37 | #define DC_NEW 0x0040 | |
38 | #define DC_RIGHTS 0x0080 | |
39 | ||
40 | static struct queue_entry *queue; | |
41 | static struct queue_entry *playing; | |
42 | static struct queue_entry *recent; | |
43 | ||
44 | static int volume_left; | |
45 | static int volume_right; | |
46 | ||
47 | static char **files; | |
48 | static int nfiles; | |
49 | ||
50 | static char **dirs; | |
51 | static int ndirs; | |
52 | ||
53 | static char **new; | |
54 | static int nnew; | |
55 | ||
56 | static rights_type rights; | |
57 | ||
9faa7a88 RK |
58 | #endif /* MACROS_DISORDER_H */ |
59 | ||
60 | /* | |
61 | Local Variables: | |
62 | c-basic-offset:2 | |
63 | comment-column:40 | |
64 | fill-column:79 | |
65 | indent-tabs-mode:nil | |
66 | End: | |
67 | */ |