"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "include/cdio++/cdtext.hpp" between
libcdio-2.0.0.tar.bz2 and libcdio-2.1.0.tar.bz2

About: GNU libcdio is a library for CD-ROM and CD image access.

cdtext.hpp  (libcdio-2.0.0.tar.bz2):cdtext.hpp  (libcdio-2.1.0.tar.bz2)
/* /*
Copyright (C) 2018 Thomas Schmitt
Copyright (C) 2005, 2008, 2012 Rocky Bernstein <rocky@gnu.org> Copyright (C) 2005, 2008, 2012 Rocky Bernstein <rocky@gnu.org>
This program is free software: you can redistribute it and/or modify This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or the Free Software Foundation, either version 3 of the License, or
(at your option) any later version. (at your option) any later version.
This program is distributed in the hope that it will be useful, This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
skipping to change at line 93 skipping to change at line 94
/*! /*!
selects a language selects a language
*/ */
bool selectLanguage(cdtext_lang_t lang) bool selectLanguage(cdtext_lang_t lang)
{ {
return cdtext_select_language(p_cdtext, lang); return cdtext_select_language(p_cdtext, lang);
} }
/*! /*!
returns a list of available languages selects a language by index rather than language code
*/
bool setLanguageIndex(int idx)
{
return cdtext_set_language_index(p_cdtext, idx);
}
/*!
@deprecated. Use listLanguagesV2(), see cdio/cdtext.h
returns a list of available languages (which has various problems)
*/ */
cdtext_lang_t *listLanguages() cdtext_lang_t *listLanguages()
{ {
return cdtext_list_languages(p_cdtext); return cdtext_list_languages(p_cdtext);
} }
/*!
returns a pointer to an array with 8 elements which indicate available
languages
*/
cdtext_lang_t *listLanguagesV2()
{
return cdtext_list_languages_v2(p_cdtext);
}
/* /*
* Local variables: * Local variables:
* c-file-style: "gnu" * c-file-style: "gnu"
* tab-width: 8 * tab-width: 8
* indent-tabs-mode: nil * indent-tabs-mode: nil
* End: * End:
*/ */
 End of changes. 3 change blocks. 
1 lines changed or deleted 22 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)