File: main.h

package info (click to toggle)
rioutil 1.4.4-1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 1,980 kB
  • ctags: 777
  • sloc: sh: 11,429; ansic: 5,834; makefile: 112
file content (60 lines) | stat: -rw-r--r-- 1,715 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
/**
 *   (c) 2001-2004 Nathan Hjelm <hjelmn@users.sourceforge.net>
 *   v1.0.2 main.c
 *
 *   Console based interface with librioutil.
 *   
 *   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., 675 Mass Ave, Cambridge, MA 02139, USA.
 **/

#ifndef MAIN_H
#define MAIN_H

static const char *equilizerStates[8] = {
  "Normal", "Jazz", "Rock", "Classic",
  "Book", "Rap", "Flat", "Custom"
};

static const char *lightStates[6] = {
  "Always off", "1 sec", "2 secs",
  "5 secs", "10 secs", "Always on"
};
  
static const char *repeatStates[4] = {
  "Off", "All", "Track", "Playlist"
};

static const char *randomStates[4] = {
  "Off", "On"
};

static const char *theFilterStates[2] = {
  "Off", "On"
};

static const char *sleepStates[5] = {
  "Never", "1 Min", "2 Mins", "5 Mins", "15 Mins"
};

void printfiles(file_list *);
void usage(void);
void progress(int x, int X, void *ptr);
void version(void);

int add_track(rio_instance_t *rio);
int delete_track(rio_instance_t *rio, char *dopt, u_int32_t mflag);
int download_track(rio_instance_t *rio, char *copt, u_int32_t mflag);

#endif