include/SDL_cdrom.h
branchSDL-1.3
changeset 1668 4da1ee79c9af
parent 1662 782fd950bd46
     1.1 --- a/include/SDL_cdrom.h	Mon May 29 03:53:21 2006 +0000
     1.2 +++ b/include/SDL_cdrom.h	Mon May 29 04:04:35 2006 +0000
     1.3 @@ -104,7 +104,7 @@
     1.4  /* Returns the number of CD-ROM drives on the system, or -1 if
     1.5     SDL_Init() has not been called with the SDL_INIT_CDROM flag.
     1.6   */
     1.7 -extern DECLSPEC int SDLCALL SDL_CDNumDrives (void);
     1.8 +extern DECLSPEC int SDLCALL SDL_CDNumDrives(void);
     1.9  
    1.10  /* Returns a human-readable, system-dependent identifier for the CD-ROM.
    1.11     Example:
    1.12 @@ -112,7 +112,7 @@
    1.13  	"E:"
    1.14  	"/dev/disk/ide/1/master"
    1.15  */
    1.16 -extern DECLSPEC const char *SDLCALL SDL_CDName (int drive);
    1.17 +extern DECLSPEC const char *SDLCALL SDL_CDName(int drive);
    1.18  
    1.19  /* Opens a CD-ROM drive for access.  It returns a drive handle on success,
    1.20     or NULL if the drive was invalid or busy.  This newly opened CD-ROM
    1.21 @@ -120,13 +120,13 @@
    1.22     CD-ROM handle.
    1.23     Drives are numbered starting with 0.  Drive 0 is the system default CD-ROM.
    1.24  */
    1.25 -extern DECLSPEC SDL_CD *SDLCALL SDL_CDOpen (int drive);
    1.26 +extern DECLSPEC SDL_CD *SDLCALL SDL_CDOpen(int drive);
    1.27  
    1.28  /* This function returns the current status of the given drive.
    1.29     If the drive has a CD in it, the table of contents of the CD and current
    1.30     play position of the CD will be stored in the SDL_CD structure.
    1.31  */
    1.32 -extern DECLSPEC CDstatus SDLCALL SDL_CDStatus (SDL_CD * cdrom);
    1.33 +extern DECLSPEC CDstatus SDLCALL SDL_CDStatus(SDL_CD * cdrom);
    1.34  
    1.35  /* Play the given CD starting at 'start_track' and 'start_frame' for 'ntracks'
    1.36     tracks and 'nframes' frames.  If both 'ntrack' and 'nframe' are 0, play 
    1.37 @@ -147,31 +147,30 @@
    1.38  
    1.39     This function returns 0, or -1 if there was an error.
    1.40  */
    1.41 -extern DECLSPEC int SDLCALL SDL_CDPlayTracks (SDL_CD * cdrom,
    1.42 -                                              int start_track,
    1.43 -                                              int start_frame, int ntracks,
    1.44 -                                              int nframes);
    1.45 +extern DECLSPEC int SDLCALL SDL_CDPlayTracks(SDL_CD * cdrom,
    1.46 +                                             int start_track,
    1.47 +                                             int start_frame, int ntracks,
    1.48 +                                             int nframes);
    1.49  
    1.50  /* Play the given CD starting at 'start' frame for 'length' frames.
    1.51     It returns 0, or -1 if there was an error.
    1.52  */
    1.53 -extern DECLSPEC int SDLCALL SDL_CDPlay (SDL_CD * cdrom, int start,
    1.54 -                                        int length);
    1.55 +extern DECLSPEC int SDLCALL SDL_CDPlay(SDL_CD * cdrom, int start, int length);
    1.56  
    1.57  /* Pause play -- returns 0, or -1 on error */
    1.58 -extern DECLSPEC int SDLCALL SDL_CDPause (SDL_CD * cdrom);
    1.59 +extern DECLSPEC int SDLCALL SDL_CDPause(SDL_CD * cdrom);
    1.60  
    1.61  /* Resume play -- returns 0, or -1 on error */
    1.62 -extern DECLSPEC int SDLCALL SDL_CDResume (SDL_CD * cdrom);
    1.63 +extern DECLSPEC int SDLCALL SDL_CDResume(SDL_CD * cdrom);
    1.64  
    1.65  /* Stop play -- returns 0, or -1 on error */
    1.66 -extern DECLSPEC int SDLCALL SDL_CDStop (SDL_CD * cdrom);
    1.67 +extern DECLSPEC int SDLCALL SDL_CDStop(SDL_CD * cdrom);
    1.68  
    1.69  /* Eject CD-ROM -- returns 0, or -1 on error */
    1.70 -extern DECLSPEC int SDLCALL SDL_CDEject (SDL_CD * cdrom);
    1.71 +extern DECLSPEC int SDLCALL SDL_CDEject(SDL_CD * cdrom);
    1.72  
    1.73  /* Closes the handle for the CD-ROM drive */
    1.74 -extern DECLSPEC void SDLCALL SDL_CDClose (SDL_CD * cdrom);
    1.75 +extern DECLSPEC void SDLCALL SDL_CDClose(SDL_CD * cdrom);
    1.76  
    1.77  
    1.78  /* Ends C function definitions when using C++ */