wmmisc: Bump to version 1.2.
[dockapps.git] / ascd / libworkman / include / wm_cdrom.h
blobe2e3f196da9d6523d2b396d024615a004ab16246
1 #ifndef WM_CDROM_H
2 #define WM_CDROM_H
3 /*
4 * $Id: wm_cdrom.h,v 1.6 1999/05/05 16:09:55 dirk Exp $
6 * This file is part of WorkMan, the civilized CD player library
7 * (c) 1991-1997 by Steven Grimm (original author)
8 * (c) by Dirk Försterling (current 'author' = maintainer)
9 * The maintainer can be contacted by his e-mail address:
10 * milliByte@DeathsDoor.com
12 * This library is free software; you can redistribute it and/or
13 * modify it under the terms of the GNU Library General Public
14 * License as published by the Free Software Foundation; either
15 * version 2 of the License, or (at your option) any later version.
17 * This library is distributed in the hope that it will be useful,
18 * but WITHOUT ANY WARRANTY; without even the implied warranty of
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
20 * Library General Public License for more details.
22 * You should have received a copy of the GNU Library General Public
23 * License along with this library; if not, write to the Free
24 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
26 * Prototypes from cdrom.c
28 * This is just one more step to a more modular and understandable code.
31 #define WM_CDS_NO_DISC 0
32 #define WM_CDS_DISC_READY 1
33 #define WM_CDS_JUST_INSERTED 2
35 #define WM_STR_GENVENDOR "Generic"
36 #define WM_STR_GENMODEL "drive"
37 #define WM_STR_GENREV "type"
39 extern int wm_cd_cur_balance;
42 char * wm_drive_vendor( void );
43 char * wm_drive_model( void );
44 char * wm_drive_revision( void );
45 void wm_drive_settype( char *vendor, char *model, char *revision );
47 int wm_cd_status( void );
49 void wm_cd_play( int start, int pos, int end );
50 void wm_cd_play_chunk( int start, int end, int realstart );
51 void wm_cd_play_from_pos( int pos );
52 void wm_cd_pause( void );
53 void wm_cd_stop( void );
54 int wm_cd_eject( void );
55 int wm_cd_closetray( void );
56 int wm_cd_read_initial_volume( int max );
59 * Following are the missing to rename.
61 int find_trkind( int track, int index, int start );
62 void cd_volume( int vol, int bal, int max );
64 #endif /* WM_CDROM_H */