Mercurial > sdl-ios-xcode
diff src/cdrom/macosx/CDPlayer.h @ 1895:c121d94672cb
SDL 1.2 is moving to a branch, and SDL 1.3 is becoming the head.
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Mon, 10 Jul 2006 21:04:37 +0000 |
parents | dc6b59e925a2 |
children | 99210400e8b9 |
line wrap: on
line diff
--- a/src/cdrom/macosx/CDPlayer.h Thu Jul 06 18:01:37 2006 +0000 +++ b/src/cdrom/macosx/CDPlayer.h Mon Jul 10 21:04:37 2006 +0000 @@ -35,35 +35,38 @@ #include "SDL_mutex.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -typedef void (*CDPlayerCompletionProc)(SDL_CD *cdrom) ; + typedef void (*CDPlayerCompletionProc) (SDL_CD * cdrom); -void Lock (); + void Lock(); -void Unlock(); + void Unlock(); -int LoadFile (const FSRef *ref, int startFrame, int endFrame); /* pass -1 to do nothing */ + int LoadFile(const FSRef * ref, int startFrame, int endFrame); /* pass -1 to do nothing */ -int ReleaseFile (); + int ReleaseFile(); -int PlayFile (); + int PlayFile(); -int PauseFile (); + int PauseFile(); -void SetCompletionProc (CDPlayerCompletionProc proc, SDL_CD *cdrom); + void SetCompletionProc(CDPlayerCompletionProc proc, SDL_CD * cdrom); -int ReadTOCData (FSVolumeRefNum theVolume, SDL_CD *theCD); + int ReadTOCData(FSVolumeRefNum theVolume, SDL_CD * theCD); -int ListTrackFiles (FSVolumeRefNum theVolume, FSRef *trackFiles, int numTracks); + int ListTrackFiles(FSVolumeRefNum theVolume, FSRef * trackFiles, + int numTracks); -int DetectAudioCDVolumes (FSVolumeRefNum *volumes, int numVolumes); + int DetectAudioCDVolumes(FSVolumeRefNum * volumes, int numVolumes); -int GetCurrentFrame (); + int GetCurrentFrame(); #ifdef __cplusplus }; #endif #endif /* __CD_Player__H__ */ +/* vi: set ts=4 sw=4 expandtab: */