//====START_GENERATED_PROLOG======================================
//
//
//   COMPONENT_NAME: odother
//
//   CLASSES: none
//
//   ORIGINS: 27
//
//
//   (C) COPYRIGHT International Business Machines Corp. 1995,1996
//   All Rights Reserved
//   Licensed Materials - Property of IBM
//   US Government Users Restricted Rights - Use, duplication or
//   disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
//
//   IBM DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
//   ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
//   PURPOSE. IN NO EVENT SHALL IBM BE LIABLE FOR ANY SPECIAL, INDIRECT OR
//   CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF
//   USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
//   OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE
//   OR PERFORMANCE OF THIS SOFTWARE.
//
//====END_GENERATED_PROLOG========================================
//
// @(#) 1.1 nt/src/samples/cdplayer/cdsong.h, odcdplayerpart, od96nt, odnt9712d 8/22/96 15:35:39 [ 3/21/97 17:32:47 ]

/*-------------------------------------------------------------------+
|                             CDSong.h                               |
| ================================================================== |
|                                                                    |
| Description:  Song class.  Represents one CD track.                |
|                                                                    |
|               Data members:                                        |
|                                                                    |
|                   o  fTitle  - Song title                          |
|                   o  fTrack  - Song track number                   |
|                   o  fLength - Song length (in seconds)            |
|                                                                    |
| Author:       David Kuettel, Summer 1996                           |
|                                                                    |
+-------------------------------------------------------------------*/
#ifndef IBMSample_CDSONG
#define IBMSample_CDSONG

class CDSong {
public:
	CDSong (char* title, long track, long length);
	virtual ~CDSong ();

	const char* GetTitle () const;
	long GetTrack () const;
	long GetLength () const;

	void SetTitle  (const char* title);
	void SetTrack  (long track);
	void SetLength (long length);

private:
	char*	fTitle;		// Song title
	long	fTrack;		// Song track number
	long	fLength;	// Song length (seconds)
};

#endif /* IBMSample_CDSONG */
