$Date: 2005/10/23 16:36:28 $
$Revision: 1.9 $
-- Initialize default CD-Rom device 0
-- Is the contents of item referenced by other C or Eiffel code?
-- If is_shared is True then when the current object will be
-- collected by the garbage collector, the wrapped struct will
-- also be freed.
-- This is a good idea, only if you can be sure that when the
-- Eiffel object gets collected, the C side does not have a reference
-- to the wrapped struct anymore.
-- (From EWG_STRUCT)
-- Here free the device handler
-- Automatically called by the cdrom_subsystem if called disable
-- eject the given cdrom even if it has no cd in drive
-- Be warned: this procedure does not work on every hardware
-- return the cdrom device identifier
-- this argument is system dependent
-- go to next track an play it
-- if last track reached, replay
-- pause playback
-- play the entire cd
-- play the entire cd beginning from track a_track
-- play only track a_track
-- go to previous track and play it
-- if first track reached, replay
-- resume playback
-- stop playback
-- how many tracks are on the cd
-- gives the current playback time, from the beginning
-- return an human readable time string (hh:mm:ss)
-- give the current played track, if any
-- gives the length of the current track
-- return an human readable length string (hh:mm:ss)
-- Device indentifier
-- 0 is the default device
-- returns the private drive identifier
-- return an human readable length string (hh:mm:ss)
-- result is a linked list containing all tracks
-- sorted from 1 .. count_track
-- indicates if the drive has an cd in it and has no errors
-- indicates if the drive is currently playing a cd
-- Indicates if this CDRom handler (current) is valid
-- An invalid handler can be the result of following code
-- create instance of EM_CDROM
-- cdrom_subsystem.disable <-- from here the handler is invalid and can cause an segmentation fault
--
-- cdrom_subsystem.enable
Class for wrapping C SDL_CD struct. This class represents a cdrom drive.