~ubuntu-branches/ubuntu/hoary/kdemultimedia/hoary

« back to all changes in this revision

Viewing changes to kscd/libwm/include/wm_platform.h

  • Committer: Bazaar Package Importer
  • Author(s): Martin Schulze
  • Date: 2003-01-22 15:00:51 UTC
  • Revision ID: james.westby@ubuntu.com-20030122150051-uihwkdoxf15mi1tn
Tags: upstream-2.2.2
Import upstream version 2.2.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef WM_PLATFORM_H
 
2
#define WM_PLATFORM_H
 
3
/*
 
4
 * $Id: wm_platform.h,v 1.1 2000/01/18 16:39:51 dfoerste Exp $
 
5
 *
 
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 
 
11
 *
 
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.
 
16
 *
 
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.
 
21
 *
 
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
 
25
 *
 
26
 * The platform interface
 
27
 * 
 
28
 * This is just one more step to a more modular and understandable code.
 
29
 */
 
30
 
 
31
#include "wm_struct.h"
 
32
 
 
33
int wmcd_open( struct wm_drive *d );
 
34
int wmcd_reopen( struct wm_drive *d );
 
35
 
 
36
/*
 
37
 * void keep_cd_open( void );
 
38
 */
 
39
int     wm_scsi( struct wm_drive *d, unsigned char *cdb, int cdblen,
 
40
                 void *retbuf, int retbuflen, int getreply );
 
41
 
 
42
/****************************************
 
43
 *
 
44
 * The drive prototypes.
 
45
 *
 
46
 */
 
47
extern struct wm_drive generic_proto;
 
48
extern struct wm_drive sony_proto;
 
49
extern struct wm_drive toshiba_proto;
 
50
 
 
51
#endif /* WM_PLATFORM_H */