mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-21 14:16:31 +01:00
Remove ancient/unused flowcanvas and libglademm from repository.
Update libraries to latest stable released version (except gnomecanvasmm, which is strangely packaged...). Fixes building (at least here). git-svn-id: svn://localhost/ardour2/trunk@2790 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
0e31c56591
commit
35fc31a1de
1550 changed files with 362440 additions and 73136 deletions
56
libs/gtkmm2/pango/src/language.hg
Normal file
56
libs/gtkmm2/pango/src/language.hg
Normal file
|
|
@ -0,0 +1,56 @@
|
|||
/* Copyright (C) 2002 The gtkmm Development Team
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Library General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Library General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Library General Public
|
||||
* License along with this library; if not, write to the Free
|
||||
* Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
*/
|
||||
|
||||
#include <pango/pango-attributes.h>
|
||||
|
||||
_DEFS(pangomm,pango)
|
||||
|
||||
namespace Pango
|
||||
{
|
||||
|
||||
_WRAP_ENUM(Script, PangoScript)
|
||||
|
||||
/** A Pango::Language is used to represent a language.
|
||||
*/
|
||||
class Language
|
||||
{
|
||||
_CLASS_BOXEDTYPE(Language, PangoLanguage, _pango_language_new, _pango_language_copy, _pango_language_free)
|
||||
_IGNORE(pango_language_get_sample_string) //This function is a bad hack for internal use by renderers and Pango (from pango/pango-utils.c)
|
||||
_IGNORE(pango_language_to_string) //This is defined as a macro
|
||||
_CUSTOM_DEFAULT_CTOR
|
||||
|
||||
public:
|
||||
/** Constructs an empty language tag.
|
||||
*/
|
||||
Language();
|
||||
|
||||
/** Constructs a Pango::Language object from a RFC-3066 format language tag.
|
||||
* This function first canonicalizes the string by converting it to lowercase,
|
||||
* mapping '_' to '-', and stripping all characters other than letters and '-'.
|
||||
*/
|
||||
Language(const Glib::ustring& language);
|
||||
|
||||
/** Gets a RFC-3066 format string representing the given language tag.
|
||||
* @return A string representing the language tag. An empty string is returned if the language tag is empty.
|
||||
*/
|
||||
Glib::ustring get_string() const;
|
||||
|
||||
_WRAP_METHOD(bool matches(const Glib::ustring & range_list) const, pango_language_matches)
|
||||
_WRAP_METHOD(bool includes_script(Script script) const, pango_language_includes_script)
|
||||
};
|
||||
|
||||
} /* namespace Pango */
|
||||
Loading…
Add table
Add a link
Reference in a new issue