| 1 | // Generated by gmmproc 2.50.1 -- DO NOT MODIFY!cxx . . $ `<file>/gstreamer/gstreamermm/preset.cc`/ |
| 2 | |
| 3 | |
| 4 | #include <glibmm.h> |
| 5 | |
| 6 | #include <gstreamermm/preset.h>cxx . . $ `<file>/gstreamer/gstreamermm/preset.h`/ |
| 7 | #include <gstreamermm/private/preset_p.h>cxx . . $ `<file>/gstreamer/gstreamermm/private/preset_p.h`/ |
| 8 | |
| 9 | |
| 10 | /* gstreamermm - a C++ wrapper for gstreamer |
| 11 | * |
| 12 | * Copyright 2008-2016 The gstreamermm Development Team |
| 13 | * |
| 14 | * This library is free software; you can redistribute it and/or |
| 15 | * modify it under the terms of the GNU Lesser General Public |
| 16 | * License as published by the Free Software Foundation; either |
| 17 | * version 2.1 of the License, or (at your option) any later version. |
| 18 | * |
| 19 | * This library is distributed in the hope that it will be useful, |
| 20 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 21 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 22 | * Lesser General Public License for more details. |
| 23 | * |
| 24 | * You should have received a copy of the GNU Lesser General Public |
| 25 | * License along with this library; if not, write to the Free |
| 26 | * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. |
| 27 | */ |
| 28 | |
| 29 | namespace Gstcxx . . $ Gst/ |
| 30 | { |
| 31 | |
| 32 | bool Presetcxx . . $ Gst/Preset#::get_metacxx . . $ Gst/Preset#get_meta(f019ddc2d2fb72a7).(const Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring#& name, const Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring#& tag, |
| 33 | Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring#& value) const |
| 34 | { |
| 35 | gchar* meta = nullptr; |
| 36 | |
| 37 | gboolean result = gst_preset_get_meta(const_cast<GstPresetcxx . . $ GstPreset#*>(gobjcxx . . $ Gst/Preset#gobj(20f8774e6cf598eb).()), |
| 38 | name.c_strcxx . . $ Glib/ustring#c_str(a9f41ea0e82d88cf).(), tag.c_strcxx . . $ Glib/ustring#c_str(a9f41ea0e82d88cf).(), &meta); |
| 39 | value =cxx . . $ Glib/ustring#`operator=`(6082a55360a9226). meta; |
| 40 | g_free(meta); |
| 41 | return result; |
| 42 | } |
| 43 | |
| 44 | gchar** Preset_Classcxx . . $ Gst/Preset_Class#::get_preset_names_vfunc_callbackcxx . . $ Gst/Preset_Class#get_preset_names_vfunc_callback(4091ef656ff8157d).(GstPresetcxx . . $ GstPreset#* self) |
| 45 | { |
| 46 | Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase# *const obj_base = static_cast<Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#*>( |
| 47 | Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#::_get_current_wrappercxx . . $ Glib/ObjectBase#_get_current_wrapper(893eec6d4349e251).((GObjectcxx . . $ GObject#*)self)); |
| 48 | |
| 49 | // Non-gtkmmproc-generated custom classes implicitly call the default |
| 50 | // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc- |
| 51 | // generated classes can use this optimisation, which avoids the unnecessary |
| 52 | // parameter conversions if there is no possibility of the virtual function |
| 53 | // being overridden: |
| 54 | if(obj_base && obj_base->is_derived_cxx . . $ Glib/ObjectBase#is_derived_(50ce9a9e25b4a850).()) |
| 55 | { |
| 56 | CppObjectTypecxx . . $ Gst/Preset_Class#CppObjectType# *const obj = dynamic_cast<CppObjectTypecxx . . $ Gst/Preset_Class#CppObjectType#* const>(obj_base); |
| 57 | if(obj) // This can be NULL during destruction. |
| 58 | { |
| 59 | try // Trap C++ exceptions which would normally be lost because this is a C callback. |
| 60 | { |
| 61 | // Call the virtual member method, which derived classes might override. |
| 62 | return const_cast<gchar**>((obj->get_preset_names_vfunccxx . . $ Gst/Preset#get_preset_names_vfunc(3e2526b406b00dda).()).datacxx . . $ Glib/ArrayHandle#data(b6fa4944fac54184).()); |
| 63 | } |
| 64 | catch(...) |
| 65 | { |
| 66 | Glibcxx . . $ Glib/::exception_handlers_invokecxx . . $ Glib/exception_handlers_invoke(ced63f7c635d850d).(); |
| 67 | } |
| 68 | } |
| 69 | } |
| 70 | |
| 71 | BaseClassTypecxx . . $ Gst/Preset_Class#BaseClassType# *const base = static_cast<BaseClassTypecxx . . $ Gst/Preset_Class#BaseClassType#*>( |
| 72 | g_type_interface_peek_parent( // Get the parent interface of the interface (The original underlying C interface). |
| 73 | g_type_interface_peek(G_OBJECT_GET_CLASScxx . . $ `<external>/1341695927569185362/gobject.h:89:9`!(self), CppObjectTypecxx . . $ Gst/Preset_Class#CppObjectType#::get_typecxx . . $ Gst/Preset#get_type(f708dce9a8856c70).()) // Get the interface. |
| 74 | ) ); |
| 75 | |
| 76 | // Call the original underlying C function: |
| 77 | if(base && base->get_preset_namescxx . . $ _GstPresetInterface#get_preset_names.) |
| 78 | return (*base->get_preset_namescxx . . $ _GstPresetInterface#get_preset_names.)(self); |
| 79 | |
| 80 | |
| 81 | typedef gchar** RTypecxx . . $ Gst/Preset_Class#get_preset_names_vfunc_callback(4091ef656ff8157d).RType#; |
| 82 | return RTypecxx . . $ Gst/Preset_Class#get_preset_names_vfunc_callback(4091ef656ff8157d).RType#(); |
| 83 | } |
| 84 | gchar** Preset_Classcxx . . $ Gst/Preset_Class#::get_property_names_vfunc_callbackcxx . . $ Gst/Preset_Class#get_property_names_vfunc_callback(4091ef656ff8157d).(GstPresetcxx . . $ GstPreset#* self) |
| 85 | { |
| 86 | Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase# *const obj_base = static_cast<Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#*>( |
| 87 | Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#::_get_current_wrappercxx . . $ Glib/ObjectBase#_get_current_wrapper(893eec6d4349e251).((GObjectcxx . . $ GObject#*)self)); |
| 88 | |
| 89 | // Non-gtkmmproc-generated custom classes implicitly call the default |
| 90 | // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc- |
| 91 | // generated classes can use this optimisation, which avoids the unnecessary |
| 92 | // parameter conversions if there is no possibility of the virtual function |
| 93 | // being overridden: |
| 94 | if(obj_base && obj_base->is_derived_cxx . . $ Glib/ObjectBase#is_derived_(50ce9a9e25b4a850).()) |
| 95 | { |
| 96 | CppObjectTypecxx . . $ Gst/Preset_Class#CppObjectType# *const obj = dynamic_cast<CppObjectTypecxx . . $ Gst/Preset_Class#CppObjectType#* const>(obj_base); |
| 97 | if(obj) // This can be NULL during destruction. |
| 98 | { |
| 99 | try // Trap C++ exceptions which would normally be lost because this is a C callback. |
| 100 | { |
| 101 | // Call the virtual member method, which derived classes might override. |
| 102 | return const_cast<gchar**>((obj->get_property_names_vfunccxx . . $ Gst/Preset#get_property_names_vfunc(3e2526b406b00dda).()).datacxx . . $ Glib/ArrayHandle#data(b6fa4944fac54184).()); |
| 103 | } |
| 104 | catch(...) |
| 105 | { |
| 106 | Glibcxx . . $ Glib/::exception_handlers_invokecxx . . $ Glib/exception_handlers_invoke(ced63f7c635d850d).(); |
| 107 | } |
| 108 | } |
| 109 | } |
| 110 | |
| 111 | BaseClassTypecxx . . $ Gst/Preset_Class#BaseClassType# *const base = static_cast<BaseClassTypecxx . . $ Gst/Preset_Class#BaseClassType#*>( |
| 112 | g_type_interface_peek_parent( // Get the parent interface of the interface (The original underlying C interface). |
| 113 | g_type_interface_peek(G_OBJECT_GET_CLASScxx . . $ `<external>/1341695927569185362/gobject.h:89:9`!(self), CppObjectTypecxx . . $ Gst/Preset_Class#CppObjectType#::get_typecxx . . $ Gst/Preset#get_type(f708dce9a8856c70).()) // Get the interface. |
| 114 | ) ); |
| 115 | |
| 116 | // Call the original underlying C function: |
| 117 | if(base && base->get_property_namescxx . . $ _GstPresetInterface#get_property_names.) |
| 118 | return (*base->get_property_namescxx . . $ _GstPresetInterface#get_property_names.)(self); |
| 119 | |
| 120 | |
| 121 | typedef gchar** RTypecxx . . $ Gst/Preset_Class#get_property_names_vfunc_callback(4091ef656ff8157d).RType#; |
| 122 | return RTypecxx . . $ Gst/Preset_Class#get_property_names_vfunc_callback(4091ef656ff8157d).RType#(); |
| 123 | } |
| 124 | gboolean Preset_Classcxx . . $ Gst/Preset_Class#::get_meta_vfunc_callbackcxx . . $ Gst/Preset_Class#get_meta_vfunc_callback(130ce4f1845e1975).(GstPresetcxx . . $ GstPreset#* self, const gchar* name, const gchar* tag, gchar** value) |
| 125 | { |
| 126 | Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase# *const obj_base = static_cast<Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#*>( |
| 127 | Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#::_get_current_wrappercxx . . $ Glib/ObjectBase#_get_current_wrapper(893eec6d4349e251).((GObjectcxx . . $ GObject#*)self)); |
| 128 | |
| 129 | // Non-gtkmmproc-generated custom classes implicitly call the default |
| 130 | // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc- |
| 131 | // generated classes can use this optimisation, which avoids the unnecessary |
| 132 | // parameter conversions if there is no possibility of the virtual function |
| 133 | // being overridden: |
| 134 | if(obj_base && obj_base->is_derived_cxx . . $ Glib/ObjectBase#is_derived_(50ce9a9e25b4a850).()) |
| 135 | { |
| 136 | CppObjectTypecxx . . $ Gst/Preset_Class#CppObjectType# *const obj = dynamic_cast<CppObjectTypecxx . . $ Gst/Preset_Class#CppObjectType#* const>(obj_base); |
| 137 | if(obj) // This can be NULL during destruction. |
| 138 | { |
| 139 | try // Trap C++ exceptions which would normally be lost because this is a C callback. |
| 140 | { |
| 141 | Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring# cpp_valuecxx . . $ Glib/ustring#ustring(49f6e7a06ebc5aa8).; |
| 142 | // Call the virtual member method, which derived classes might override. |
| 143 | const gboolean result = static_cast<int>(obj->get_meta_vfunccxx . . $ Gst/Preset#get_meta_vfunc(f019ddc2d2fb72a7).(Glibcxx . . $ Glib/::convert_const_gchar_ptr_to_ustringcxx . . $ Glib/convert_const_gchar_ptr_to_ustring(cf5f32d7f0671127).(name) |
| 144 | , Glibcxx . . $ Glib/::convert_const_gchar_ptr_to_ustringcxx . . $ Glib/convert_const_gchar_ptr_to_ustring(cf5f32d7f0671127).(tag) , cpp_value)); |
| 145 | *value = g_strdupcxx . . $ `<external>/7822753393113922331/gstrfuncs.h:324:9`!(cpp_value.c_str()); |
| 146 | return result; |
| 147 | } |
| 148 | catch(...) |
| 149 | { |
| 150 | Glibcxx . . $ Glib/::exception_handlers_invokecxx . . $ Glib/exception_handlers_invoke(ced63f7c635d850d).(); |
| 151 | } |
| 152 | } |
| 153 | } |
| 154 | |
| 155 | BaseClassTypecxx . . $ Gst/Preset_Class#BaseClassType# *const base = static_cast<BaseClassTypecxx . . $ Gst/Preset_Class#BaseClassType#*>( |
| 156 | g_type_interface_peek_parent( // Get the parent interface of the interface (The original underlying C interface). |
| 157 | g_type_interface_peek(G_OBJECT_GET_CLASScxx . . $ `<external>/1341695927569185362/gobject.h:89:9`!(self), CppObjectTypecxx . . $ Gst/Preset_Class#CppObjectType#::get_typecxx . . $ Gst/Preset#get_type(f708dce9a8856c70).()) // Get the interface. |
| 158 | ) ); |
| 159 | |
| 160 | // Call the original underlying C function: |
| 161 | if(base && base->get_metacxx . . $ _GstPresetInterface#get_meta.) |
| 162 | return (*base->get_metacxx . . $ _GstPresetInterface#get_meta.)(self, name, tag, value); |
| 163 | |
| 164 | |
| 165 | typedef gboolean RTypecxx . . $ Gst/Preset_Class#get_meta_vfunc_callback(130ce4f1845e1975).RType#; |
| 166 | return RTypecxx . . $ Gst/Preset_Class#get_meta_vfunc_callback(130ce4f1845e1975).RType#(); |
| 167 | } |
| 168 | Glibcxx . . $ Glib/::StringArrayHandlecxx . . $ Glib/StringArrayHandle# Gstcxx . . $ Gst/::Presetcxx . . $ Gst/Preset#::get_preset_names_vfunccxx . . $ Gst/Preset#get_preset_names_vfunc(3e2526b406b00dda).() const |
| 169 | { |
| 170 | BaseClassTypecxx . . $ Gst/Preset#BaseClassType# *const base = static_cast<BaseClassTypecxx . . $ Gst/Preset#BaseClassType#*>( |
| 171 | g_type_interface_peek_parent( // Get the parent interface of the interface (The original underlying C interface). |
| 172 | g_type_interface_peek(G_OBJECT_GET_CLASScxx . . $ `<external>/1341695927569185362/gobject.h:89:9`!(gobject_), CppObjectTypecxx . . $ Gst/Preset#CppObjectType#::get_typecxx . . $ Gst/Preset#get_type(f708dce9a8856c70).()) // Get the interface. |
| 173 | ) ); |
| 174 | |
| 175 | if(base && base->get_preset_namescxx . . $ _GstPresetInterface#get_preset_names.) |
| 176 | return Glibcxx . . $ Glib/ArrayHandle#ArrayHandle(833e5093b323cd74).::StringArrayHandlecxx . . $ Glib/StringArrayHandle#((*base->get_preset_namescxx . . $ _GstPresetInterface#get_preset_names.)(const_cast<GstPresetcxx . . $ GstPreset#*>(gobjcxx . . $ Gst/Preset#gobj(20f8774e6cf598eb).())), Glibcxx . . $ Glib/::OWNERSHIP_DEEPcxx . . $ Glib/OWNERSHIP_DEEP.); |
| 177 | |
| 178 | return Glibcxx . . $ Glib/ArrayHandle#ArrayHandle(833e5093b323cd74).::StringArrayHandlecxx . . $ Glib/StringArrayHandle#(nullptr, Glibcxx . . $ Glib/::OWNERSHIP_NONEcxx . . $ Glib/OWNERSHIP_NONE.); |
| 179 | } |
| 180 | Glibcxx . . $ Glib/::StringArrayHandlecxx . . $ Glib/StringArrayHandle# Gstcxx . . $ Gst/::Presetcxx . . $ Gst/Preset#::get_property_names_vfunccxx . . $ Gst/Preset#get_property_names_vfunc(3e2526b406b00dda).() const |
| 181 | { |
| 182 | BaseClassTypecxx . . $ Gst/Preset#BaseClassType# *const base = static_cast<BaseClassTypecxx . . $ Gst/Preset#BaseClassType#*>( |
| 183 | g_type_interface_peek_parent( // Get the parent interface of the interface (The original underlying C interface). |
| 184 | g_type_interface_peek(G_OBJECT_GET_CLASScxx . . $ `<external>/1341695927569185362/gobject.h:89:9`!(gobject_), CppObjectTypecxx . . $ Gst/Preset#CppObjectType#::get_typecxx . . $ Gst/Preset#get_type(f708dce9a8856c70).()) // Get the interface. |
| 185 | ) ); |
| 186 | |
| 187 | if(base && base->get_property_namescxx . . $ _GstPresetInterface#get_property_names.) |
| 188 | return Glibcxx . . $ Glib/ArrayHandle#ArrayHandle(833e5093b323cd74).::StringArrayHandlecxx . . $ Glib/StringArrayHandle#((*base->get_property_namescxx . . $ _GstPresetInterface#get_property_names.)(const_cast<GstPresetcxx . . $ GstPreset#*>(gobjcxx . . $ Gst/Preset#gobj(20f8774e6cf598eb).())), Glibcxx . . $ Glib/::OWNERSHIP_DEEPcxx . . $ Glib/OWNERSHIP_DEEP.); |
| 189 | |
| 190 | return Glibcxx . . $ Glib/ArrayHandle#ArrayHandle(833e5093b323cd74).::StringArrayHandlecxx . . $ Glib/StringArrayHandle#(nullptr, Glibcxx . . $ Glib/::OWNERSHIP_NONEcxx . . $ Glib/OWNERSHIP_NONE.); |
| 191 | } |
| 192 | bool Gstcxx . . $ Gst/::Presetcxx . . $ Gst/Preset#::get_meta_vfunccxx . . $ Gst/Preset#get_meta_vfunc(f019ddc2d2fb72a7).(const Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring#& name, |
| 193 | const Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring#& tag, Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring#& value) const |
| 194 | { |
| 195 | BaseClassTypecxx . . $ Gst/Preset#BaseClassType# *const base = static_cast<BaseClassTypecxx . . $ Gst/Preset#BaseClassType#*>( |
| 196 | g_type_interface_peek_parent( // Get the parent interface of the interface (The original underlying C interface). |
| 197 | g_type_interface_peek(G_OBJECT_GET_CLASScxx . . $ `<external>/1341695927569185362/gobject.h:89:9`!(gobject_), CppObjectTypecxx . . $ Gst/Preset#CppObjectType#::get_typecxx . . $ Gst/Preset#get_type(f708dce9a8856c70).()) // Get the interface. |
| 198 | ) ); |
| 199 | |
| 200 | if(base && base->get_metacxx . . $ _GstPresetInterface#get_meta.) |
| 201 | { |
| 202 | gchar* gst_value; |
| 203 | const bool result = (*base->get_metacxx . . $ _GstPresetInterface#get_meta.)(const_cast<GstPresetcxx . . $ GstPreset#*>(gobjcxx . . $ Gst/Preset#gobj(20f8774e6cf598eb).()),((name).c_strcxx . . $ Glib/ustring#c_str(a9f41ea0e82d88cf).()),((tag).c_strcxx . . $ Glib/ustring#c_str(a9f41ea0e82d88cf).()), &gst_value); |
| 204 | value =cxx . . $ Glib/ustring#`operator=`(6082a55360a9226). gst_value; |
| 205 | g_free(gst_value); |
| 206 | return result; |
| 207 | } |
| 208 | |
| 209 | typedef bool RTypecxx . . $ Gst/Preset#get_meta_vfunc(f019ddc2d2fb72a7).RType#; |
| 210 | return RTypecxx . . $ Gst/Preset#get_meta_vfunc(f019ddc2d2fb72a7).RType#(); |
| 211 | } |
| 212 | |
| 213 | } |
| 214 | |
| 215 | namespacecxx . . $ `$anonymous_namespace_gstreamer/gstreamermm/preset.cc`/ |
| 216 | { |
| 217 | } // anonymous namespace |
| 218 | |
| 219 | |
| 220 | namespace Glibcxx . . $ Glib/ |
| 221 | { |
| 222 | |
| 223 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Presetcxx . . $ Gst/Preset#> wrapcxx . . $ Glib/wrap(928528c5490cc9a5).(GstPresetcxx . . $ GstPreset#* object, bool take_copy) |
| 224 | { |
| 225 | return Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Presetcxx . . $ Gst/Preset#>( dynamic_cast<Gstcxx . . $ Gst/::Presetcxx . . $ Gst/Preset#*> (Glibcxx . . $ Glib/::wrap_auto_interfacecxx . . $ Glib/wrap_auto_interface(895573aecd4fc9a4).<Gstcxx . . $ Gst/::Presetcxx . . $ Gst/Preset#> ((GObjectcxx . . $ GObject#*)(object), take_copy)) ); |
| 226 | //We use dynamic_cast<> in case of multiple inheritance. |
| 227 | } |
| 228 | |
| 229 | } // namespace Glib |
| 230 | |
| 231 | |
| 232 | namespace Gstcxx . . $ Gst/ |
| 233 | { |
| 234 | |
| 235 | |
| 236 | /* The *_Class implementation: */ |
| 237 | |
| 238 | const Glibcxx . . $ Glib/::Interface_Classcxx . . $ Glib/Interface_Class#& Preset_Classcxx . . $ Gst/Preset_Class#::initcxx . . $ Gst/Preset_Class#init(abc04d6bda8aa5b8).() |
| 239 | { |
| 240 | if(!gtype_cxx . . $ Glib/Class#gtype_.) // create the GType if necessary |
| 241 | { |
| 242 | // Glib::Interface_Class has to know the interface init function |
| 243 | // in order to add interfaces to implementing types. |
| 244 | class_init_func_cxx . . $ Glib/Class#class_init_func_. = &Preset_Classcxx . . $ Gst/Preset_Class#::iface_init_functioncxx . . $ Gst/Preset_Class#iface_init_function(6c58c5e2437d25a2).; |
| 245 | |
| 246 | // We can not derive from another interface, and it is not necessary anyway. |
| 247 | gtype_cxx . . $ Glib/Class#gtype_. = gst_preset_get_type(); |
| 248 | } |
| 249 | |
| 250 | return *this; |
| 251 | } |
| 252 | |
| 253 | void Preset_Classcxx . . $ Gst/Preset_Class#::iface_init_functioncxx . . $ Gst/Preset_Class#iface_init_function(6c58c5e2437d25a2).(void* g_iface, void*) |
| 254 | { |
| 255 | const auto klass = static_cast<BaseClassTypecxx . . $ Gst/Preset_Class#BaseClassType#*>(g_iface); |
| 256 | |
| 257 | //This is just to avoid an "unused variable" warning when there are no vfuncs or signal handlers to connect. |
| 258 | //This is a temporary fix until I find out why I can not seem to derive a GtkFileChooser interface. murrayc |
| 259 | g_assertcxx . . $ `<external>/15287032793271088244/gtestutils.h:275:9`!(klass != nullptr); |
| 260 | |
| 261 | klass->load_presetcxx . . $ _GstPresetInterface#load_preset. = &load_preset_vfunc_callbackcxx . . $ Gst/Preset_Class#load_preset_vfunc_callback(4b25afe03fab9142).; |
| 262 | klass->save_presetcxx . . $ _GstPresetInterface#save_preset. = &save_preset_vfunc_callbackcxx . . $ Gst/Preset_Class#save_preset_vfunc_callback(4b25afe03fab9142).; |
| 263 | klass->rename_presetcxx . . $ _GstPresetInterface#rename_preset. = &rename_preset_vfunc_callbackcxx . . $ Gst/Preset_Class#rename_preset_vfunc_callback(8021b30f8d366af0).; |
| 264 | klass->delete_presetcxx . . $ _GstPresetInterface#delete_preset. = &delete_preset_vfunc_callbackcxx . . $ Gst/Preset_Class#delete_preset_vfunc_callback(4b25afe03fab9142).; |
| 265 | klass->set_metacxx . . $ _GstPresetInterface#set_meta. = &set_meta_vfunc_callbackcxx . . $ Gst/Preset_Class#set_meta_vfunc_callback(f88a6aad982473e).; |
| 266 | klass->get_preset_namescxx . . $ _GstPresetInterface#get_preset_names. = &get_preset_names_vfunc_callbackcxx . . $ Gst/Preset_Class#get_preset_names_vfunc_callback(4091ef656ff8157d).; |
| 267 | klass->get_property_namescxx . . $ _GstPresetInterface#get_property_names. = &get_property_names_vfunc_callbackcxx . . $ Gst/Preset_Class#get_property_names_vfunc_callback(4091ef656ff8157d).; |
| 268 | klass->get_metacxx . . $ _GstPresetInterface#get_meta. = &get_meta_vfunc_callbackcxx . . $ Gst/Preset_Class#get_meta_vfunc_callback(130ce4f1845e1975).; |
| 269 | |
| 270 | } |
| 271 | |
| 272 | gboolean Preset_Classcxx . . $ Gst/Preset_Class#::load_preset_vfunc_callbackcxx . . $ Gst/Preset_Class#load_preset_vfunc_callback(4b25afe03fab9142).(GstPresetcxx . . $ GstPreset#* self, const gchar* name) |
| 273 | { |
| 274 | const auto obj_base = static_cast<Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#*>( |
| 275 | Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#::_get_current_wrappercxx . . $ Glib/ObjectBase#_get_current_wrapper(893eec6d4349e251).((GObjectcxx . . $ GObject#*)self)); |
| 276 | |
| 277 | // Non-gtkmmproc-generated custom classes implicitly call the default |
| 278 | // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc- |
| 279 | // generated classes can use this optimisation, which avoids the unnecessary |
| 280 | // parameter conversions if there is no possibility of the virtual function |
| 281 | // being overridden: |
| 282 | if(obj_base && obj_base->is_derived_cxx . . $ Glib/ObjectBase#is_derived_(50ce9a9e25b4a850).()) |
| 283 | { |
| 284 | const auto obj = dynamic_cast<CppObjectTypecxx . . $ Gst/Preset_Class#CppObjectType#* const>(obj_base); |
| 285 | if(obj) // This can be NULL during destruction. |
| 286 | { |
| 287 | try // Trap C++ exceptions which would normally be lost because this is a C callback. |
| 288 | { |
| 289 | // Call the virtual member method, which derived classes might override. |
| 290 | return static_cast<int>(obj->load_preset_vfunccxx . . $ Gst/Preset#load_preset_vfunc(7186ea5d16af43ac).(Glibcxx . . $ Glib/::convert_const_gchar_ptr_to_ustringcxx . . $ Glib/convert_const_gchar_ptr_to_ustring(cf5f32d7f0671127).(name) |
| 291 | )); |
| 292 | } |
| 293 | catch(...) |
| 294 | { |
| 295 | Glibcxx . . $ Glib/::exception_handlers_invokecxx . . $ Glib/exception_handlers_invoke(ced63f7c635d850d).(); |
| 296 | } |
| 297 | } |
| 298 | } |
| 299 | |
| 300 | BaseClassTypecxx . . $ Gst/Preset_Class#BaseClassType# *const base = static_cast<BaseClassTypecxx . . $ Gst/Preset_Class#BaseClassType#*>( |
| 301 | g_type_interface_peek_parent( // Get the parent interface of the interface (The original underlying C interface). |
| 302 | g_type_interface_peek(G_OBJECT_GET_CLASScxx . . $ `<external>/1341695927569185362/gobject.h:89:9`!(self), CppObjectTypecxx . . $ Gst/Preset_Class#CppObjectType#::get_typecxx . . $ Gst/Preset#get_type(f708dce9a8856c70).()) // Get the interface. |
| 303 | ) ); |
| 304 | |
| 305 | // Call the original underlying C function: |
| 306 | if(base && base->load_presetcxx . . $ _GstPresetInterface#load_preset.) |
| 307 | return (*base->load_presetcxx . . $ _GstPresetInterface#load_preset.)(self, name); |
| 308 | |
| 309 | using RTypecxx . . $ Gst/Preset_Class#load_preset_vfunc_callback(4b25afe03fab9142).RType# = gboolean; |
| 310 | return RTypecxx . . $ Gst/Preset_Class#load_preset_vfunc_callback(4b25afe03fab9142).RType#(); |
| 311 | } |
| 312 | gboolean Preset_Classcxx . . $ Gst/Preset_Class#::save_preset_vfunc_callbackcxx . . $ Gst/Preset_Class#save_preset_vfunc_callback(4b25afe03fab9142).(GstPresetcxx . . $ GstPreset#* self, const gchar* name) |
| 313 | { |
| 314 | const auto obj_base = static_cast<Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#*>( |
| 315 | Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#::_get_current_wrappercxx . . $ Glib/ObjectBase#_get_current_wrapper(893eec6d4349e251).((GObjectcxx . . $ GObject#*)self)); |
| 316 | |
| 317 | // Non-gtkmmproc-generated custom classes implicitly call the default |
| 318 | // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc- |
| 319 | // generated classes can use this optimisation, which avoids the unnecessary |
| 320 | // parameter conversions if there is no possibility of the virtual function |
| 321 | // being overridden: |
| 322 | if(obj_base && obj_base->is_derived_cxx . . $ Glib/ObjectBase#is_derived_(50ce9a9e25b4a850).()) |
| 323 | { |
| 324 | const auto obj = dynamic_cast<CppObjectTypecxx . . $ Gst/Preset_Class#CppObjectType#* const>(obj_base); |
| 325 | if(obj) // This can be NULL during destruction. |
| 326 | { |
| 327 | try // Trap C++ exceptions which would normally be lost because this is a C callback. |
| 328 | { |
| 329 | // Call the virtual member method, which derived classes might override. |
| 330 | return static_cast<int>(obj->save_preset_vfunccxx . . $ Gst/Preset#save_preset_vfunc(51a66224d46a21f).(Glibcxx . . $ Glib/::convert_const_gchar_ptr_to_ustringcxx . . $ Glib/convert_const_gchar_ptr_to_ustring(cf5f32d7f0671127).(name) |
| 331 | )); |
| 332 | } |
| 333 | catch(...) |
| 334 | { |
| 335 | Glibcxx . . $ Glib/::exception_handlers_invokecxx . . $ Glib/exception_handlers_invoke(ced63f7c635d850d).(); |
| 336 | } |
| 337 | } |
| 338 | } |
| 339 | |
| 340 | BaseClassTypecxx . . $ Gst/Preset_Class#BaseClassType# *const base = static_cast<BaseClassTypecxx . . $ Gst/Preset_Class#BaseClassType#*>( |
| 341 | g_type_interface_peek_parent( // Get the parent interface of the interface (The original underlying C interface). |
| 342 | g_type_interface_peek(G_OBJECT_GET_CLASScxx . . $ `<external>/1341695927569185362/gobject.h:89:9`!(self), CppObjectTypecxx . . $ Gst/Preset_Class#CppObjectType#::get_typecxx . . $ Gst/Preset#get_type(f708dce9a8856c70).()) // Get the interface. |
| 343 | ) ); |
| 344 | |
| 345 | // Call the original underlying C function: |
| 346 | if(base && base->save_presetcxx . . $ _GstPresetInterface#save_preset.) |
| 347 | return (*base->save_presetcxx . . $ _GstPresetInterface#save_preset.)(self, name); |
| 348 | |
| 349 | using RTypecxx . . $ Gst/Preset_Class#save_preset_vfunc_callback(4b25afe03fab9142).RType# = gboolean; |
| 350 | return RTypecxx . . $ Gst/Preset_Class#save_preset_vfunc_callback(4b25afe03fab9142).RType#(); |
| 351 | } |
| 352 | gboolean Preset_Classcxx . . $ Gst/Preset_Class#::rename_preset_vfunc_callbackcxx . . $ Gst/Preset_Class#rename_preset_vfunc_callback(8021b30f8d366af0).(GstPresetcxx . . $ GstPreset#* self, const gchar* old_name, const gchar* new_name) |
| 353 | { |
| 354 | const auto obj_base = static_cast<Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#*>( |
| 355 | Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#::_get_current_wrappercxx . . $ Glib/ObjectBase#_get_current_wrapper(893eec6d4349e251).((GObjectcxx . . $ GObject#*)self)); |
| 356 | |
| 357 | // Non-gtkmmproc-generated custom classes implicitly call the default |
| 358 | // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc- |
| 359 | // generated classes can use this optimisation, which avoids the unnecessary |
| 360 | // parameter conversions if there is no possibility of the virtual function |
| 361 | // being overridden: |
| 362 | if(obj_base && obj_base->is_derived_cxx . . $ Glib/ObjectBase#is_derived_(50ce9a9e25b4a850).()) |
| 363 | { |
| 364 | const auto obj = dynamic_cast<CppObjectTypecxx . . $ Gst/Preset_Class#CppObjectType#* const>(obj_base); |
| 365 | if(obj) // This can be NULL during destruction. |
| 366 | { |
| 367 | try // Trap C++ exceptions which would normally be lost because this is a C callback. |
| 368 | { |
| 369 | // Call the virtual member method, which derived classes might override. |
| 370 | return static_cast<int>(obj->rename_preset_vfunccxx . . $ Gst/Preset#rename_preset_vfunc(395448000f6db32c).(Glibcxx . . $ Glib/::convert_const_gchar_ptr_to_ustringcxx . . $ Glib/convert_const_gchar_ptr_to_ustring(cf5f32d7f0671127).(old_name) |
| 371 | , Glibcxx . . $ Glib/::convert_const_gchar_ptr_to_ustringcxx . . $ Glib/convert_const_gchar_ptr_to_ustring(cf5f32d7f0671127).(new_name) |
| 372 | )); |
| 373 | } |
| 374 | catch(...) |
| 375 | { |
| 376 | Glibcxx . . $ Glib/::exception_handlers_invokecxx . . $ Glib/exception_handlers_invoke(ced63f7c635d850d).(); |
| 377 | } |
| 378 | } |
| 379 | } |
| 380 | |
| 381 | BaseClassTypecxx . . $ Gst/Preset_Class#BaseClassType# *const base = static_cast<BaseClassTypecxx . . $ Gst/Preset_Class#BaseClassType#*>( |
| 382 | g_type_interface_peek_parent( // Get the parent interface of the interface (The original underlying C interface). |
| 383 | g_type_interface_peek(G_OBJECT_GET_CLASScxx . . $ `<external>/1341695927569185362/gobject.h:89:9`!(self), CppObjectTypecxx . . $ Gst/Preset_Class#CppObjectType#::get_typecxx . . $ Gst/Preset#get_type(f708dce9a8856c70).()) // Get the interface. |
| 384 | ) ); |
| 385 | |
| 386 | // Call the original underlying C function: |
| 387 | if(base && base->rename_presetcxx . . $ _GstPresetInterface#rename_preset.) |
| 388 | return (*base->rename_presetcxx . . $ _GstPresetInterface#rename_preset.)(self, old_name, new_name); |
| 389 | |
| 390 | using RTypecxx . . $ Gst/Preset_Class#rename_preset_vfunc_callback(8021b30f8d366af0).RType# = gboolean; |
| 391 | return RTypecxx . . $ Gst/Preset_Class#rename_preset_vfunc_callback(8021b30f8d366af0).RType#(); |
| 392 | } |
| 393 | gboolean Preset_Classcxx . . $ Gst/Preset_Class#::delete_preset_vfunc_callbackcxx . . $ Gst/Preset_Class#delete_preset_vfunc_callback(4b25afe03fab9142).(GstPresetcxx . . $ GstPreset#* self, const gchar* name) |
| 394 | { |
| 395 | const auto obj_base = static_cast<Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#*>( |
| 396 | Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#::_get_current_wrappercxx . . $ Glib/ObjectBase#_get_current_wrapper(893eec6d4349e251).((GObjectcxx . . $ GObject#*)self)); |
| 397 | |
| 398 | // Non-gtkmmproc-generated custom classes implicitly call the default |
| 399 | // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc- |
| 400 | // generated classes can use this optimisation, which avoids the unnecessary |
| 401 | // parameter conversions if there is no possibility of the virtual function |
| 402 | // being overridden: |
| 403 | if(obj_base && obj_base->is_derived_cxx . . $ Glib/ObjectBase#is_derived_(50ce9a9e25b4a850).()) |
| 404 | { |
| 405 | const auto obj = dynamic_cast<CppObjectTypecxx . . $ Gst/Preset_Class#CppObjectType#* const>(obj_base); |
| 406 | if(obj) // This can be NULL during destruction. |
| 407 | { |
| 408 | try // Trap C++ exceptions which would normally be lost because this is a C callback. |
| 409 | { |
| 410 | // Call the virtual member method, which derived classes might override. |
| 411 | return static_cast<int>(obj->delete_preset_vfunccxx . . $ Gst/Preset#delete_preset_vfunc(7186ea5d16af43ac).(Glibcxx . . $ Glib/::convert_const_gchar_ptr_to_ustringcxx . . $ Glib/convert_const_gchar_ptr_to_ustring(cf5f32d7f0671127).(name) |
| 412 | )); |
| 413 | } |
| 414 | catch(...) |
| 415 | { |
| 416 | Glibcxx . . $ Glib/::exception_handlers_invokecxx . . $ Glib/exception_handlers_invoke(ced63f7c635d850d).(); |
| 417 | } |
| 418 | } |
| 419 | } |
| 420 | |
| 421 | BaseClassTypecxx . . $ Gst/Preset_Class#BaseClassType# *const base = static_cast<BaseClassTypecxx . . $ Gst/Preset_Class#BaseClassType#*>( |
| 422 | g_type_interface_peek_parent( // Get the parent interface of the interface (The original underlying C interface). |
| 423 | g_type_interface_peek(G_OBJECT_GET_CLASScxx . . $ `<external>/1341695927569185362/gobject.h:89:9`!(self), CppObjectTypecxx . . $ Gst/Preset_Class#CppObjectType#::get_typecxx . . $ Gst/Preset#get_type(f708dce9a8856c70).()) // Get the interface. |
| 424 | ) ); |
| 425 | |
| 426 | // Call the original underlying C function: |
| 427 | if(base && base->delete_presetcxx . . $ _GstPresetInterface#delete_preset.) |
| 428 | return (*base->delete_presetcxx . . $ _GstPresetInterface#delete_preset.)(self, name); |
| 429 | |
| 430 | using RTypecxx . . $ Gst/Preset_Class#delete_preset_vfunc_callback(4b25afe03fab9142).RType# = gboolean; |
| 431 | return RTypecxx . . $ Gst/Preset_Class#delete_preset_vfunc_callback(4b25afe03fab9142).RType#(); |
| 432 | } |
| 433 | gboolean Preset_Classcxx . . $ Gst/Preset_Class#::set_meta_vfunc_callbackcxx . . $ Gst/Preset_Class#set_meta_vfunc_callback(f88a6aad982473e).(GstPresetcxx . . $ GstPreset#* self, const gchar* name, const gchar* tag, const gchar* value) |
| 434 | { |
| 435 | const auto obj_base = static_cast<Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#*>( |
| 436 | Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#::_get_current_wrappercxx . . $ Glib/ObjectBase#_get_current_wrapper(893eec6d4349e251).((GObjectcxx . . $ GObject#*)self)); |
| 437 | |
| 438 | // Non-gtkmmproc-generated custom classes implicitly call the default |
| 439 | // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc- |
| 440 | // generated classes can use this optimisation, which avoids the unnecessary |
| 441 | // parameter conversions if there is no possibility of the virtual function |
| 442 | // being overridden: |
| 443 | if(obj_base && obj_base->is_derived_cxx . . $ Glib/ObjectBase#is_derived_(50ce9a9e25b4a850).()) |
| 444 | { |
| 445 | const auto obj = dynamic_cast<CppObjectTypecxx . . $ Gst/Preset_Class#CppObjectType#* const>(obj_base); |
| 446 | if(obj) // This can be NULL during destruction. |
| 447 | { |
| 448 | try // Trap C++ exceptions which would normally be lost because this is a C callback. |
| 449 | { |
| 450 | // Call the virtual member method, which derived classes might override. |
| 451 | return static_cast<int>(obj->set_meta_vfunccxx . . $ Gst/Preset#set_meta_vfunc(e15c1bc6b12eb7e5).(Glibcxx . . $ Glib/::convert_const_gchar_ptr_to_ustringcxx . . $ Glib/convert_const_gchar_ptr_to_ustring(cf5f32d7f0671127).(name) |
| 452 | , Glibcxx . . $ Glib/::convert_const_gchar_ptr_to_ustringcxx . . $ Glib/convert_const_gchar_ptr_to_ustring(cf5f32d7f0671127).(tag) |
| 453 | , Glibcxx . . $ Glib/::convert_const_gchar_ptr_to_ustringcxx . . $ Glib/convert_const_gchar_ptr_to_ustring(cf5f32d7f0671127).(value) |
| 454 | )); |
| 455 | } |
| 456 | catch(...) |
| 457 | { |
| 458 | Glibcxx . . $ Glib/::exception_handlers_invokecxx . . $ Glib/exception_handlers_invoke(ced63f7c635d850d).(); |
| 459 | } |
| 460 | } |
| 461 | } |
| 462 | |
| 463 | BaseClassTypecxx . . $ Gst/Preset_Class#BaseClassType# *const base = static_cast<BaseClassTypecxx . . $ Gst/Preset_Class#BaseClassType#*>( |
| 464 | g_type_interface_peek_parent( // Get the parent interface of the interface (The original underlying C interface). |
| 465 | g_type_interface_peek(G_OBJECT_GET_CLASScxx . . $ `<external>/1341695927569185362/gobject.h:89:9`!(self), CppObjectTypecxx . . $ Gst/Preset_Class#CppObjectType#::get_typecxx . . $ Gst/Preset#get_type(f708dce9a8856c70).()) // Get the interface. |
| 466 | ) ); |
| 467 | |
| 468 | // Call the original underlying C function: |
| 469 | if(base && base->set_metacxx . . $ _GstPresetInterface#set_meta.) |
| 470 | return (*base->set_metacxx . . $ _GstPresetInterface#set_meta.)(self, name, tag, value); |
| 471 | |
| 472 | using RTypecxx . . $ Gst/Preset_Class#set_meta_vfunc_callback(f88a6aad982473e).RType# = gboolean; |
| 473 | return RTypecxx . . $ Gst/Preset_Class#set_meta_vfunc_callback(f88a6aad982473e).RType#(); |
| 474 | } |
| 475 | |
| 476 | |
| 477 | Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#* Preset_Classcxx . . $ Gst/Preset_Class#::wrap_newcxx . . $ Gst/Preset_Class#wrap_new(893eec6d4349e251).(GObjectcxx . . $ GObject#* object) |
| 478 | { |
| 479 | return new Presetcxx . . $ Gst/Preset#((GstPresetcxx . . $ GstPreset#*)(object)); |
| 480 | } |
| 481 | |
| 482 | |
| 483 | /* The implementation: */ |
| 484 | |
| 485 | Presetcxx . . $ Gst/Preset#::Presetcxx . . $ Gst/Preset#Preset(49f6e7a06ebc5aa8).() |
| 486 | : |
| 487 | Glibcxx . . $ Glib/::Interfacecxx . . $ Glib/Interface#(preset_class_cxx . . $ Gst/Preset#preset_class_..initcxx . . $ Gst/Preset_Class#init(abc04d6bda8aa5b8).()) |
| 488 | {} |
| 489 | |
| 490 | Presetcxx . . $ Gst/Preset#::Presetcxx . . $ Gst/Preset#Preset(edbb42d8a94fe10b).(GstPresetcxx . . $ GstPreset#* castitem) |
| 491 | : |
| 492 | Glibcxx . . $ Glib/::Interfacecxx . . $ Glib/Interface#((GObjectcxx . . $ GObject#*)(castitem)) |
| 493 | {} |
| 494 | |
| 495 | Presetcxx . . $ Gst/Preset#::Presetcxx . . $ Gst/Preset#Preset(2ae54c1e3e0dc4a8).(const Glibcxx . . $ Glib/::Interface_Classcxx . . $ Glib/Interface_Class#& interface_class) |
| 496 | : Glibcxx . . $ Glib/::Interfacecxx . . $ Glib/Interface#(interface_class) |
| 497 | { |
| 498 | } |
| 499 | |
| 500 | Presetcxx . . $ Gst/Preset#::Presetcxx . . $ Gst/Preset#Preset(3e589cac1bacac8c).(Presetcxx . . $ Gst/Preset#&& src) noexcept |
| 501 | : Glibcxx . . $ Glib/::Interfacecxx . . $ Glib/Interface#(stdcxx . . $ std/::movecxx . . $ std/move(e35c19a1ba7baa26).(src)) |
| 502 | {} |
| 503 | |
| 504 | Presetcxx . . $ Gst/Preset#& Presetcxx . . $ Gst/Preset#::operatorcxx . . $ Gst/Preset#`operator=`(cf4832bf7ff4bddf).=(Presetcxx . . $ Gst/Preset#&& src) noexcept |
| 505 | { |
| 506 | Glibcxx . . $ Glib/::Interfacecxx . . $ Glib/Interface#::operator=(stdcxx . . $ std/::movecxx . . $ std/move(e35c19a1ba7baa26).(src)); |
| 507 | return *this; |
| 508 | } |
| 509 | |
| 510 | Presetcxx . . $ Gst/Preset#::~cxx . . $ Gst/Preset#`~Preset`(ced63f7c635d850d).Presetcxx . . $ Gst/Preset#() noexcept |
| 511 | {} |
| 512 | |
| 513 | // static |
| 514 | void Presetcxx . . $ Gst/Preset#::add_interfacecxx . . $ Gst/Preset#add_interface(2c44cd906ae4e829).(GType gtype_implementer) |
| 515 | { |
| 516 | preset_class_cxx . . $ Gst/Preset#preset_class_..initcxx . . $ Gst/Preset_Class#init(abc04d6bda8aa5b8).().add_interfacecxx . . $ Glib/Interface_Class#add_interface(cf8bf0a838713cc4).(gtype_implementer); |
| 517 | } |
| 518 | |
| 519 | Presetcxx . . $ Gst/Preset#::CppClassTypecxx . . $ Gst/Preset#CppClassType# Presetcxx . . $ Gst/Preset#::preset_class_cxx . . $ Gst/Preset#preset_class_.; // initialize static member |
| 520 | |
| 521 | GType Presetcxx . . $ Gst/Preset#::get_typecxx . . $ Gst/Preset#get_type(f708dce9a8856c70).() |
| 522 | { |
| 523 | return preset_class_cxx . . $ Gst/Preset#preset_class_..initcxx . . $ Gst/Preset_Class#init(abc04d6bda8aa5b8).().get_typecxx . . $ Glib/Class#get_type(fe4d2d262d4164a8).(); |
| 524 | } |
| 525 | |
| 526 | |
| 527 | GType Presetcxx . . $ Gst/Preset#::get_base_typecxx . . $ Gst/Preset#get_base_type(f708dce9a8856c70).() |
| 528 | { |
| 529 | return gst_preset_get_type(); |
| 530 | } |
| 531 | |
| 532 | |
| 533 | Glibcxx . . $ Glib/::StringArrayHandlecxx . . $ Glib/StringArrayHandle# Presetcxx . . $ Gst/Preset#::get_preset_namescxx . . $ Gst/Preset#get_preset_names(3e2526b406b00dda).() const |
| 534 | { |
| 535 | return Glibcxx . . $ Glib/ArrayHandle#ArrayHandle(833e5093b323cd74).::StringArrayHandlecxx . . $ Glib/StringArrayHandle#(gst_preset_get_preset_names(const_cast<GstPresetcxx . . $ GstPreset#*>(gobjcxx . . $ Gst/Preset#gobj(20f8774e6cf598eb).())), Glibcxx . . $ Glib/::OWNERSHIP_DEEPcxx . . $ Glib/OWNERSHIP_DEEP.); |
| 536 | } |
| 537 | |
| 538 | Glibcxx . . $ Glib/::StringArrayHandlecxx . . $ Glib/StringArrayHandle# Presetcxx . . $ Gst/Preset#::get_property_namescxx . . $ Gst/Preset#get_property_names(3e2526b406b00dda).() const |
| 539 | { |
| 540 | return Glibcxx . . $ Glib/ArrayHandle#ArrayHandle(833e5093b323cd74).::StringArrayHandlecxx . . $ Glib/StringArrayHandle#(gst_preset_get_property_names(const_cast<GstPresetcxx . . $ GstPreset#*>(gobjcxx . . $ Gst/Preset#gobj(20f8774e6cf598eb).())), Glibcxx . . $ Glib/::OWNERSHIP_DEEPcxx . . $ Glib/OWNERSHIP_DEEP.); |
| 541 | } |
| 542 | |
| 543 | bool Presetcxx . . $ Gst/Preset#::load_presetcxx . . $ Gst/Preset#load_preset(7186ea5d16af43ac).(const Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring#& name) |
| 544 | { |
| 545 | return gst_preset_load_preset(gobjcxx . . $ Gst/Preset#gobj(3da17d4fdb793fd2).(), name.c_strcxx . . $ Glib/ustring#c_str(a9f41ea0e82d88cf).()); |
| 546 | } |
| 547 | |
| 548 | bool Presetcxx . . $ Gst/Preset#::save_presetcxx . . $ Gst/Preset#save_preset(7186ea5d16af43ac).(const Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring#& name) |
| 549 | { |
| 550 | return gst_preset_save_preset(gobjcxx . . $ Gst/Preset#gobj(3da17d4fdb793fd2).(), name.c_strcxx . . $ Glib/ustring#c_str(a9f41ea0e82d88cf).()); |
| 551 | } |
| 552 | |
| 553 | bool Presetcxx . . $ Gst/Preset#::rename_presetcxx . . $ Gst/Preset#rename_preset(395448000f6db32c).(const Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring#& old_name, const Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring#& new_name) |
| 554 | { |
| 555 | return gst_preset_rename_preset(gobjcxx . . $ Gst/Preset#gobj(3da17d4fdb793fd2).(), old_name.c_strcxx . . $ Glib/ustring#c_str(a9f41ea0e82d88cf).(), new_name.c_strcxx . . $ Glib/ustring#c_str(a9f41ea0e82d88cf).()); |
| 556 | } |
| 557 | |
| 558 | bool Presetcxx . . $ Gst/Preset#::delete_presetcxx . . $ Gst/Preset#delete_preset(7186ea5d16af43ac).(const Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring#& name) |
| 559 | { |
| 560 | return gst_preset_delete_preset(gobjcxx . . $ Gst/Preset#gobj(3da17d4fdb793fd2).(), name.c_strcxx . . $ Glib/ustring#c_str(a9f41ea0e82d88cf).()); |
| 561 | } |
| 562 | |
| 563 | bool Presetcxx . . $ Gst/Preset#::set_metacxx . . $ Gst/Preset#set_meta(e15c1bc6b12eb7e5).(const Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring#& name, const Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring#& tag, const Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring#& value) |
| 564 | { |
| 565 | return gst_preset_set_meta(gobjcxx . . $ Gst/Preset#gobj(3da17d4fdb793fd2).(), name.c_strcxx . . $ Glib/ustring#c_str(a9f41ea0e82d88cf).(), tag.c_strcxx . . $ Glib/ustring#c_str(a9f41ea0e82d88cf).(), value.c_strcxx . . $ Glib/ustring#c_str(a9f41ea0e82d88cf).()); |
| 566 | } |
| 567 | |
| 568 | bool Presetcxx . . $ Gst/Preset#::is_editablecxx . . $ Gst/Preset#is_editable(50ce9a9e25b4a850).() const |
| 569 | { |
| 570 | return gst_preset_is_editable(const_cast<GstPresetcxx . . $ GstPreset#*>(gobjcxx . . $ Gst/Preset#gobj(20f8774e6cf598eb).())); |
| 571 | } |
| 572 | |
| 573 | |
| 574 | bool Gstcxx . . $ Gst/::Presetcxx . . $ Gst/Preset#::load_preset_vfunccxx . . $ Gst/Preset#load_preset_vfunc(7186ea5d16af43ac).(const Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring#& name) |
| 575 | { |
| 576 | const auto base = static_cast<BaseClassTypecxx . . $ Gst/Preset#BaseClassType#*>( |
| 577 | g_type_interface_peek_parent( // Get the parent interface of the interface (The original underlying C interface). |
| 578 | g_type_interface_peek(G_OBJECT_GET_CLASScxx . . $ `<external>/1341695927569185362/gobject.h:89:9`!(gobject_), CppObjectTypecxx . . $ Gst/Preset#CppObjectType#::get_typecxx . . $ Gst/Preset#get_type(f708dce9a8856c70).()) // Get the interface. |
| 579 | ) ); |
| 580 | |
| 581 | if(base && base->load_presetcxx . . $ _GstPresetInterface#load_preset.) |
| 582 | { |
| 583 | bool retval((*base->load_presetcxx . . $ _GstPresetInterface#load_preset.)(gobjcxx . . $ Gst/Preset#gobj(3da17d4fdb793fd2).(),name.c_strcxx . . $ Glib/ustring#c_str(a9f41ea0e82d88cf).())); |
| 584 | return retval; |
| 585 | } |
| 586 | |
| 587 | using RTypecxx . . $ Gst/Preset#load_preset_vfunc(7186ea5d16af43ac).RType# = bool; |
| 588 | return RTypecxx . . $ Gst/Preset#load_preset_vfunc(7186ea5d16af43ac).RType#(); |
| 589 | } |
| 590 | bool Gstcxx . . $ Gst/::Presetcxx . . $ Gst/Preset#::save_preset_vfunccxx . . $ Gst/Preset#save_preset_vfunc(51a66224d46a21f).(const Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring#& name) const |
| 591 | { |
| 592 | const auto base = static_cast<BaseClassTypecxx . . $ Gst/Preset#BaseClassType#*>( |
| 593 | g_type_interface_peek_parent( // Get the parent interface of the interface (The original underlying C interface). |
| 594 | g_type_interface_peek(G_OBJECT_GET_CLASScxx . . $ `<external>/1341695927569185362/gobject.h:89:9`!(gobject_), CppObjectTypecxx . . $ Gst/Preset#CppObjectType#::get_typecxx . . $ Gst/Preset#get_type(f708dce9a8856c70).()) // Get the interface. |
| 595 | ) ); |
| 596 | |
| 597 | if(base && base->save_presetcxx . . $ _GstPresetInterface#save_preset.) |
| 598 | { |
| 599 | bool retval((*base->save_presetcxx . . $ _GstPresetInterface#save_preset.)(const_cast<GstPresetcxx . . $ GstPreset#*>(gobjcxx . . $ Gst/Preset#gobj(20f8774e6cf598eb).()),name.c_strcxx . . $ Glib/ustring#c_str(a9f41ea0e82d88cf).())); |
| 600 | return retval; |
| 601 | } |
| 602 | |
| 603 | using RTypecxx . . $ Gst/Preset#save_preset_vfunc(51a66224d46a21f).RType# = bool; |
| 604 | return RTypecxx . . $ Gst/Preset#save_preset_vfunc(51a66224d46a21f).RType#(); |
| 605 | } |
| 606 | bool Gstcxx . . $ Gst/::Presetcxx . . $ Gst/Preset#::rename_preset_vfunccxx . . $ Gst/Preset#rename_preset_vfunc(395448000f6db32c).(const Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring#& old_name, const Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring#& new_name) |
| 607 | { |
| 608 | const auto base = static_cast<BaseClassTypecxx . . $ Gst/Preset#BaseClassType#*>( |
| 609 | g_type_interface_peek_parent( // Get the parent interface of the interface (The original underlying C interface). |
| 610 | g_type_interface_peek(G_OBJECT_GET_CLASScxx . . $ `<external>/1341695927569185362/gobject.h:89:9`!(gobject_), CppObjectTypecxx . . $ Gst/Preset#CppObjectType#::get_typecxx . . $ Gst/Preset#get_type(f708dce9a8856c70).()) // Get the interface. |
| 611 | ) ); |
| 612 | |
| 613 | if(base && base->rename_presetcxx . . $ _GstPresetInterface#rename_preset.) |
| 614 | { |
| 615 | bool retval((*base->rename_presetcxx . . $ _GstPresetInterface#rename_preset.)(gobjcxx . . $ Gst/Preset#gobj(3da17d4fdb793fd2).(),old_name.c_strcxx . . $ Glib/ustring#c_str(a9f41ea0e82d88cf).(),new_name.c_strcxx . . $ Glib/ustring#c_str(a9f41ea0e82d88cf).())); |
| 616 | return retval; |
| 617 | } |
| 618 | |
| 619 | using RTypecxx . . $ Gst/Preset#rename_preset_vfunc(395448000f6db32c).RType# = bool; |
| 620 | return RTypecxx . . $ Gst/Preset#rename_preset_vfunc(395448000f6db32c).RType#(); |
| 621 | } |
| 622 | bool Gstcxx . . $ Gst/::Presetcxx . . $ Gst/Preset#::delete_preset_vfunccxx . . $ Gst/Preset#delete_preset_vfunc(7186ea5d16af43ac).(const Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring#& name) |
| 623 | { |
| 624 | const auto base = static_cast<BaseClassTypecxx . . $ Gst/Preset#BaseClassType#*>( |
| 625 | g_type_interface_peek_parent( // Get the parent interface of the interface (The original underlying C interface). |
| 626 | g_type_interface_peek(G_OBJECT_GET_CLASScxx . . $ `<external>/1341695927569185362/gobject.h:89:9`!(gobject_), CppObjectTypecxx . . $ Gst/Preset#CppObjectType#::get_typecxx . . $ Gst/Preset#get_type(f708dce9a8856c70).()) // Get the interface. |
| 627 | ) ); |
| 628 | |
| 629 | if(base && base->delete_presetcxx . . $ _GstPresetInterface#delete_preset.) |
| 630 | { |
| 631 | bool retval((*base->delete_presetcxx . . $ _GstPresetInterface#delete_preset.)(gobjcxx . . $ Gst/Preset#gobj(3da17d4fdb793fd2).(),name.c_strcxx . . $ Glib/ustring#c_str(a9f41ea0e82d88cf).())); |
| 632 | return retval; |
| 633 | } |
| 634 | |
| 635 | using RTypecxx . . $ Gst/Preset#delete_preset_vfunc(7186ea5d16af43ac).RType# = bool; |
| 636 | return RTypecxx . . $ Gst/Preset#delete_preset_vfunc(7186ea5d16af43ac).RType#(); |
| 637 | } |
| 638 | bool Gstcxx . . $ Gst/::Presetcxx . . $ Gst/Preset#::set_meta_vfunccxx . . $ Gst/Preset#set_meta_vfunc(e15c1bc6b12eb7e5).(const Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring#& name, const Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring#& tag, const Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring#& value) |
| 639 | { |
| 640 | const auto base = static_cast<BaseClassTypecxx . . $ Gst/Preset#BaseClassType#*>( |
| 641 | g_type_interface_peek_parent( // Get the parent interface of the interface (The original underlying C interface). |
| 642 | g_type_interface_peek(G_OBJECT_GET_CLASScxx . . $ `<external>/1341695927569185362/gobject.h:89:9`!(gobject_), CppObjectTypecxx . . $ Gst/Preset#CppObjectType#::get_typecxx . . $ Gst/Preset#get_type(f708dce9a8856c70).()) // Get the interface. |
| 643 | ) ); |
| 644 | |
| 645 | if(base && base->set_metacxx . . $ _GstPresetInterface#set_meta.) |
| 646 | { |
| 647 | bool retval((*base->set_metacxx . . $ _GstPresetInterface#set_meta.)(gobjcxx . . $ Gst/Preset#gobj(3da17d4fdb793fd2).(),name.c_strcxx . . $ Glib/ustring#c_str(a9f41ea0e82d88cf).(),tag.c_strcxx . . $ Glib/ustring#c_str(a9f41ea0e82d88cf).(),value.c_strcxx . . $ Glib/ustring#c_str(a9f41ea0e82d88cf).())); |
| 648 | return retval; |
| 649 | } |
| 650 | |
| 651 | using RTypecxx . . $ Gst/Preset#set_meta_vfunc(e15c1bc6b12eb7e5).RType# = bool; |
| 652 | return RTypecxx . . $ Gst/Preset#set_meta_vfunc(e15c1bc6b12eb7e5).RType#(); |
| 653 | } |
| 654 | |
| 655 | |
| 656 | } // namespace Gst |
| 657 | |
| 658 |