[renamed] cdtext_languages_available to cdtext_list_languages

[fixed] C++ CD-Text API
[fixed] C++ CD-Text example
This commit is contained in:
Leon Merten Lohse
2012-03-11 16:41:28 +01:00
parent 6571318912
commit 2a6f153952
9 changed files with 130 additions and 104 deletions

View File

@@ -170,13 +170,18 @@ bool isDiscmodeDvd (discmode_t discmode)
}
/*!
* Get CD-Text information for a CdIo_t object.
*
* @return the CD-Text object or NULL if obj is NULL
* or CD-Text information does not exist.
* */
cdtext_t *getCdtext ()
Get CD-Text information for a CdIo_t object.
@return the CD-Text object or NULL if obj is NULL
or CD-Text information does not exist.
*/
CdioCDText *getCdtext ()
{
return cdio_get_cdtext (p_cdio);
cdtext_t *cdtext = cdio_get_cdtext (p_cdio);
if (NULL == cdtext)
return (CdioCDText *) NULL;
else
return new CdioCDText(cdtext);
}