[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

@@ -101,9 +101,12 @@ void possible_throw_device_exception(driver_return_code_t drc);
class CdioCDText
{
public:
CdioCDText()
CdioCDText(cdtext_t *cdtext)
{
p_cdtext = cdtext_init(); // make sure we're initialized on the C side
if (NULL == cdtext)
cdtext = cdtext_init();
p_cdtext = cdtext;
}
~CdioCDText()