| 1 | // Generated by gmmproc 2.50.1 -- DO NOT MODIFY!cxx . . $ `<file>/gstreamer/gstreamermm/plugin.cc`/ |
| 2 | |
| 3 | |
| 4 | #include <glibmm.h> |
| 5 | |
| 6 | #include <gstreamermm/plugin.h>cxx . . $ `<file>/gstreamer/gstreamermm/plugin.h`/ |
| 7 | #include <gstreamermm/private/plugin_p.h>cxx . . $ `<file>/gstreamer/gstreamermm/private/plugin_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 | #include <gst/gst.h> |
| 30 | #include <gstreamermm/structure.h>cxx . . $ `<file>/gstreamer/gstreamermm/structure.h`/ |
| 31 | |
| 32 | |
| 33 | namespacecxx . . $ `$anonymous_namespace_gstreamer/gstreamermm/plugin.cc`/ |
| 34 | { |
| 35 | |
| 36 | extern "C" |
| 37 | { |
| 38 | |
| 39 | gboolean Plugin_Init_gstreamermm_callback(GstPlugincxx . . $ GstPlugin#* plugin, void* data) |
| 40 | { |
| 41 | Gstcxx . . $ Gst/::Plugincxx . . $ Gst/Plugin#::SlotInitcxx . . $ Gst/Plugin#SlotInit#* the_slot = static_cast<Gstcxx . . $ Gst/::Plugincxx . . $ Gst/Plugin#::SlotInitcxx . . $ Gst/Plugin#SlotInit#*>(data); |
| 42 | bool result = false; |
| 43 | |
| 44 | try |
| 45 | { |
| 46 | result = (*the_slot)(cxx . . $ sigc/slot1#`operator()`(9ee06a69519573d9).Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(da07d7f8f838b8f6).(plugin, true)); |
| 47 | delete the_slot; |
| 48 | return result; |
| 49 | } |
| 50 | catch(...) |
| 51 | { |
| 52 | Glibcxx . . $ Glib/::exception_handlers_invokecxx . . $ Glib/exception_handlers_invoke(ced63f7c635d850d).(); |
| 53 | } |
| 54 | |
| 55 | return false; |
| 56 | } |
| 57 | |
| 58 | } // extern "C" |
| 59 | |
| 60 | } // anonymous namespace |
| 61 | |
| 62 | namespace Gstcxx . . $ Gst/ |
| 63 | { |
| 64 | |
| 65 | bool Plugincxx . . $ Gst/Plugin#::register_staticcxx . . $ Gst/Plugin#register_static(b33cdd761a8a4a6f).(int major_version, int minor_version, |
| 66 | const Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring#& name, const Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring#& description, |
| 67 | const SlotInitcxx . . $ Gst/Plugin#SlotInit#& init_slot, const Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring#& version, |
| 68 | const Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring#& license, const Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring#& source, |
| 69 | const Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring#& package, const Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring#& origin) |
| 70 | { |
| 71 | SlotInitcxx . . $ Gst/Plugin#SlotInit#* slot_copy = new SlotInitcxx . . $ Gst/Plugin#SlotInit#(init_slot); |
| 72 | |
| 73 | return gst_plugin_register_static_full(major_version, minor_version, |
| 74 | name.c_strcxx . . $ Glib/ustring#c_str(a9f41ea0e82d88cf).(), const_cast<char*>(description.c_strcxx . . $ Glib/ustring#c_str(a9f41ea0e82d88cf).()), |
| 75 | &Plugin_Init_gstreamermm_callback, version.c_strcxx . . $ Glib/ustring#c_str(a9f41ea0e82d88cf).(), license.c_strcxx . . $ Glib/ustring#c_str(a9f41ea0e82d88cf).(), |
| 76 | source.c_strcxx . . $ Glib/ustring#c_str(a9f41ea0e82d88cf).(), package.c_strcxx . . $ Glib/ustring#c_str(a9f41ea0e82d88cf).(), origin.c_strcxx . . $ Glib/ustring#c_str(a9f41ea0e82d88cf).(), slot_copy); |
| 77 | } |
| 78 | |
| 79 | } //namespace Gst |
| 80 | |
| 81 | namespacecxx . . $ `$anonymous_namespace_gstreamer/gstreamermm/plugin.cc`/ |
| 82 | { |
| 83 | } // anonymous namespace |
| 84 | |
| 85 | // static |
| 86 | GType Glibcxx . . $ Glib/::Valuecxx . . $ Glib/Value#<Gst::PluginDependencyFlags>::value_typecxx . . $ Glib/Value#value_type(f708dce9a8856c70).() |
| 87 | { |
| 88 | return gst_plugin_dependency_flags_get_type(); |
| 89 | } |
| 90 | |
| 91 | // static |
| 92 | GType Glibcxx . . $ Glib/::Valuecxx . . $ Glib/Value#<Gst::PluginFlags>::value_typecxx . . $ Glib/Value#value_type(f708dce9a8856c70).() |
| 93 | { |
| 94 | return gst_plugin_flags_get_type(); |
| 95 | } |
| 96 | |
| 97 | |
| 98 | Gstcxx . . $ Gst/::PluginErrorcxx . . $ Gst/PluginError#::PluginErrorcxx . . $ Gst/PluginError#PluginError(b3c64901cc64f64e).(Gstcxx . . $ Gst/::PluginErrorcxx . . $ Gst/PluginError#::Codecxx . . $ Gst/PluginError#Code# error_code, const Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring#& error_message) |
| 99 | : |
| 100 | Glibcxx . . $ Glib/::Errorcxx . . $ Glib/Error# (GST_PLUGIN_ERRORcxx . . $ `<external>/4775941833403320643/gstplugin.h:59:9`!, error_code, error_message) |
| 101 | {} |
| 102 | |
| 103 | Gstcxx . . $ Gst/::PluginErrorcxx . . $ Gst/PluginError#::PluginErrorcxx . . $ Gst/PluginError#PluginError(2ff7d11a2ecc01bd).(GError* gobject) |
| 104 | : |
| 105 | Glibcxx . . $ Glib/::Errorcxx . . $ Glib/Error# (gobject) |
| 106 | {} |
| 107 | |
| 108 | Gstcxx . . $ Gst/::PluginErrorcxx . . $ Gst/PluginError#::Codecxx . . $ Gst/PluginError#Code# Gstcxx . . $ Gst/::PluginErrorcxx . . $ Gst/PluginError#::codecxx . . $ Gst/PluginError#code(7118fcb010c73b64).() const |
| 109 | { |
| 110 | return static_cast<Codecxx . . $ Gst/PluginError#Code#>(Glibcxx . . $ Glib/::Errorcxx . . $ Glib/Error#::codecxx . . $ Glib/Error#code(455f465bc33b4cdf).()); |
| 111 | } |
| 112 | |
| 113 | void Gstcxx . . $ Gst/::PluginErrorcxx . . $ Gst/PluginError#::throw_funccxx . . $ Gst/PluginError#throw_func(2ff7d11a2ecc01bd).(GError* gobject) |
| 114 | { |
| 115 | throw Gstcxx . . $ Gst/::PluginErrorcxx . . $ Gst/PluginError#(gobject); |
| 116 | } |
| 117 | |
| 118 | // static |
| 119 | GType Glibcxx . . $ Glib/::Valuecxx . . $ Glib/Value#<Gst::PluginError::Code>::value_typecxx . . $ Glib/Value#value_type(f708dce9a8856c70).() |
| 120 | { |
| 121 | return gst_plugin_error_get_type(); |
| 122 | } |
| 123 | |
| 124 | |
| 125 | namespace Glibcxx . . $ Glib/ |
| 126 | { |
| 127 | |
| 128 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Plugincxx . . $ Gst/Plugin#> wrapcxx . . $ Glib/wrap(da07d7f8f838b8f6).(GstPlugincxx . . $ GstPlugin#* object, bool take_copy) |
| 129 | { |
| 130 | return Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Plugincxx . . $ Gst/Plugin#>( dynamic_cast<Gstcxx . . $ Gst/::Plugincxx . . $ Gst/Plugin#*> (Glibcxx . . $ Glib/::wrap_autocxx . . $ Glib/wrap_auto(fd1af59aa43b0601). ((GObjectcxx . . $ GObject#*)(object), take_copy)) ); |
| 131 | //We use dynamic_cast<> in case of multiple inheritance. |
| 132 | } |
| 133 | |
| 134 | } /* namespace Glib */ |
| 135 | |
| 136 | |
| 137 | namespace Gstcxx . . $ Gst/ |
| 138 | { |
| 139 | |
| 140 | |
| 141 | /* The *_Class implementation: */ |
| 142 | |
| 143 | const Glibcxx . . $ Glib/::Classcxx . . $ Glib/Class#& Plugin_Classcxx . . $ Gst/Plugin_Class#::initcxx . . $ Gst/Plugin_Class#init(bf348c0cd369184d).() |
| 144 | { |
| 145 | if(!gtype_cxx . . $ Glib/Class#gtype_.) // create the GType if necessary |
| 146 | { |
| 147 | // Glib::Class has to know the class init function to clone custom types. |
| 148 | class_init_func_cxx . . $ Glib/Class#class_init_func_. = &Plugin_Classcxx . . $ Gst/Plugin_Class#::class_init_functioncxx . . $ Gst/Plugin_Class#class_init_function(6c58c5e2437d25a2).; |
| 149 | |
| 150 | // This is actually just optimized away, apparently with no harm. |
| 151 | // Make sure that the parent type has been created. |
| 152 | //CppClassParent::CppObjectType::get_type(); |
| 153 | |
| 154 | // Create the wrapper type, with the same class/instance size as the base type. |
| 155 | register_derived_typecxx . . $ Glib/Class#register_derived_type(2c44cd906ae4e829).(gst_plugin_get_type()); |
| 156 | |
| 157 | // Add derived versions of interfaces, if the C type implements any interfaces: |
| 158 | |
| 159 | } |
| 160 | |
| 161 | return *this; |
| 162 | } |
| 163 | |
| 164 | |
| 165 | void Plugin_Classcxx . . $ Gst/Plugin_Class#::class_init_functioncxx . . $ Gst/Plugin_Class#class_init_function(6c58c5e2437d25a2).(void* g_class, void* class_data) |
| 166 | { |
| 167 | const auto klass = static_cast<BaseClassTypecxx . . $ Gst/Plugin_Class#BaseClassType#*>(g_class); |
| 168 | CppClassParentcxx . . $ Gst/Plugin_Class#CppClassParent#::class_init_functioncxx . . $ Gst/Object_Class#class_init_function(6c58c5e2437d25a2).(klass, class_data); |
| 169 | |
| 170 | |
| 171 | } |
| 172 | |
| 173 | |
| 174 | Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#* Plugin_Classcxx . . $ Gst/Plugin_Class#::wrap_newcxx . . $ Gst/Plugin_Class#wrap_new(893eec6d4349e251).(GObjectcxx . . $ GObject#* object) |
| 175 | { |
| 176 | return new Plugincxx . . $ Gst/Plugin#((GstPlugincxx . . $ GstPlugin#*)object); |
| 177 | } |
| 178 | |
| 179 | |
| 180 | /* The implementation: */ |
| 181 | |
| 182 | GstPlugincxx . . $ GstPlugin#* Plugincxx . . $ Gst/Plugin#::gobj_copycxx . . $ Gst/Plugin#gobj_copy(faa071a34495025e).() |
| 183 | { |
| 184 | referencecxx . . $ Glib/ObjectBase#reference(83f5f38750778ac8).(); |
| 185 | return gobjcxx . . $ Gst/Plugin#gobj(faa071a34495025e).(); |
| 186 | } |
| 187 | |
| 188 | Plugincxx . . $ Gst/Plugin#::Plugincxx . . $ Gst/Plugin#Plugin(237165b4a42a691a).(const Glibcxx . . $ Glib/::ConstructParamscxx . . $ Glib/ConstructParams#& construct_params) |
| 189 | : |
| 190 | Objectcxx . . $ Gst/Object#(construct_params) |
| 191 | { |
| 192 | |
| 193 | } |
| 194 | |
| 195 | Plugincxx . . $ Gst/Plugin#::Plugincxx . . $ Gst/Plugin#Plugin(57a2a6d9ebed44e1).(GstPlugincxx . . $ GstPlugin#* castitem) |
| 196 | : |
| 197 | Objectcxx . . $ Gst/Object#((GstObjectcxx . . $ GstObject#*)(castitem)) |
| 198 | {} |
| 199 | |
| 200 | |
| 201 | Plugincxx . . $ Gst/Plugin#::Plugincxx . . $ Gst/Plugin#Plugin(e7af120e87623460).(Plugincxx . . $ Gst/Plugin#&& src) noexcept |
| 202 | : Objectcxx . . $ Gst/Object#(stdcxx . . $ std/::movecxx . . $ std/move(e35c19a1ba7baa26).(src)) |
| 203 | {} |
| 204 | |
| 205 | Plugincxx . . $ Gst/Plugin#& Plugincxx . . $ Gst/Plugin#::operatorcxx . . $ Gst/Plugin#`operator=`(1c708ca1b0596ecd).=(Plugincxx . . $ Gst/Plugin#&& src) noexcept |
| 206 | { |
| 207 | Objectcxx . . $ Gst/Object#::operator=(stdcxx . . $ std/::movecxx . . $ std/move(e35c19a1ba7baa26).(src)); |
| 208 | return *this; |
| 209 | } |
| 210 | |
| 211 | |
| 212 | Plugincxx . . $ Gst/Plugin#::~cxx . . $ Gst/Plugin#`~Plugin`(ced63f7c635d850d).Plugincxx . . $ Gst/Plugin#() noexcept |
| 213 | {} |
| 214 | |
| 215 | |
| 216 | Plugincxx . . $ Gst/Plugin#::CppClassTypecxx . . $ Gst/Plugin#CppClassType# Plugincxx . . $ Gst/Plugin#::plugin_class_cxx . . $ Gst/Plugin#plugin_class_.; // initialize static member |
| 217 | |
| 218 | GType Plugincxx . . $ Gst/Plugin#::get_typecxx . . $ Gst/Plugin#get_type(f708dce9a8856c70).() |
| 219 | { |
| 220 | return plugin_class_cxx . . $ Gst/Plugin#plugin_class_..initcxx . . $ Gst/Plugin_Class#init(bf348c0cd369184d).().get_typecxx . . $ Glib/Class#get_type(fe4d2d262d4164a8).(); |
| 221 | } |
| 222 | |
| 223 | |
| 224 | GType Plugincxx . . $ Gst/Plugin#::get_base_typecxx . . $ Gst/Plugin#get_base_type(f708dce9a8856c70).() |
| 225 | { |
| 226 | return gst_plugin_get_type(); |
| 227 | } |
| 228 | |
| 229 | |
| 230 | Glibcxx . . $ Glib/::QueryQuarkcxx . . $ Glib/QueryQuark# Plugincxx . . $ Gst/Plugin#::error_quarkcxx . . $ Gst/Plugin#error_quark(e5f625668f9128e2).() |
| 231 | { |
| 232 | return Glibcxx . . $ Glib/::QueryQuarkcxx . . $ Glib/QueryQuark#(gst_plugin_error_quark()); |
| 233 | } |
| 234 | |
| 235 | Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring# Plugincxx . . $ Gst/Plugin#::get_namecxx . . $ Gst/Plugin#get_name(fff0f585954e56f3).() const |
| 236 | { |
| 237 | return Glibcxx . . $ Glib/::convert_const_gchar_ptr_to_ustringcxx . . $ Glib/convert_const_gchar_ptr_to_ustring(cf5f32d7f0671127).(gst_plugin_get_name(const_cast<GstPlugincxx . . $ GstPlugin#*>(gobjcxx . . $ Gst/Plugin#gobj(4d318173f62b0d89).()))); |
| 238 | } |
| 239 | |
| 240 | Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring# Plugincxx . . $ Gst/Plugin#::get_descriptioncxx . . $ Gst/Plugin#get_description(fff0f585954e56f3).() const |
| 241 | { |
| 242 | return Glibcxx . . $ Glib/::convert_const_gchar_ptr_to_ustringcxx . . $ Glib/convert_const_gchar_ptr_to_ustring(cf5f32d7f0671127).(gst_plugin_get_description(const_cast<GstPlugincxx . . $ GstPlugin#*>(gobjcxx . . $ Gst/Plugin#gobj(4d318173f62b0d89).()))); |
| 243 | } |
| 244 | |
| 245 | Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring# Plugincxx . . $ Gst/Plugin#::get_filenamecxx . . $ Gst/Plugin#get_filename(fff0f585954e56f3).() const |
| 246 | { |
| 247 | return Glibcxx . . $ Glib/::convert_const_gchar_ptr_to_ustringcxx . . $ Glib/convert_const_gchar_ptr_to_ustring(cf5f32d7f0671127).(gst_plugin_get_filename(const_cast<GstPlugincxx . . $ GstPlugin#*>(gobjcxx . . $ Gst/Plugin#gobj(4d318173f62b0d89).()))); |
| 248 | } |
| 249 | |
| 250 | Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring# Plugincxx . . $ Gst/Plugin#::get_licensecxx . . $ Gst/Plugin#get_license(fff0f585954e56f3).() const |
| 251 | { |
| 252 | return Glibcxx . . $ Glib/::convert_const_gchar_ptr_to_ustringcxx . . $ Glib/convert_const_gchar_ptr_to_ustring(cf5f32d7f0671127).(gst_plugin_get_license(const_cast<GstPlugincxx . . $ GstPlugin#*>(gobjcxx . . $ Gst/Plugin#gobj(4d318173f62b0d89).()))); |
| 253 | } |
| 254 | |
| 255 | Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring# Plugincxx . . $ Gst/Plugin#::get_packagecxx . . $ Gst/Plugin#get_package(fff0f585954e56f3).() const |
| 256 | { |
| 257 | return Glibcxx . . $ Glib/::convert_const_gchar_ptr_to_ustringcxx . . $ Glib/convert_const_gchar_ptr_to_ustring(cf5f32d7f0671127).(gst_plugin_get_package(const_cast<GstPlugincxx . . $ GstPlugin#*>(gobjcxx . . $ Gst/Plugin#gobj(4d318173f62b0d89).()))); |
| 258 | } |
| 259 | |
| 260 | Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring# Plugincxx . . $ Gst/Plugin#::get_origincxx . . $ Gst/Plugin#get_origin(fff0f585954e56f3).() const |
| 261 | { |
| 262 | return Glibcxx . . $ Glib/::convert_const_gchar_ptr_to_ustringcxx . . $ Glib/convert_const_gchar_ptr_to_ustring(cf5f32d7f0671127).(gst_plugin_get_origin(const_cast<GstPlugincxx . . $ GstPlugin#*>(gobjcxx . . $ Gst/Plugin#gobj(4d318173f62b0d89).()))); |
| 263 | } |
| 264 | |
| 265 | Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring# Plugincxx . . $ Gst/Plugin#::get_sourcecxx . . $ Gst/Plugin#get_source(fff0f585954e56f3).() const |
| 266 | { |
| 267 | return Glibcxx . . $ Glib/::convert_const_gchar_ptr_to_ustringcxx . . $ Glib/convert_const_gchar_ptr_to_ustring(cf5f32d7f0671127).(gst_plugin_get_source(const_cast<GstPlugincxx . . $ GstPlugin#*>(gobjcxx . . $ Gst/Plugin#gobj(4d318173f62b0d89).()))); |
| 268 | } |
| 269 | |
| 270 | Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring# Plugincxx . . $ Gst/Plugin#::get_versioncxx . . $ Gst/Plugin#get_version(fff0f585954e56f3).() const |
| 271 | { |
| 272 | return Glibcxx . . $ Glib/::convert_const_gchar_ptr_to_ustringcxx . . $ Glib/convert_const_gchar_ptr_to_ustring(cf5f32d7f0671127).(gst_plugin_get_version(const_cast<GstPlugincxx . . $ GstPlugin#*>(gobjcxx . . $ Gst/Plugin#gobj(4d318173f62b0d89).()))); |
| 273 | } |
| 274 | |
| 275 | Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring# Plugincxx . . $ Gst/Plugin#::get_release_date_stringcxx . . $ Gst/Plugin#get_release_date_string(fff0f585954e56f3).() const |
| 276 | { |
| 277 | return Glibcxx . . $ Glib/::convert_const_gchar_ptr_to_ustringcxx . . $ Glib/convert_const_gchar_ptr_to_ustring(cf5f32d7f0671127).(gst_plugin_get_release_date_string(const_cast<GstPlugincxx . . $ GstPlugin#*>(gobjcxx . . $ Gst/Plugin#gobj(4d318173f62b0d89).()))); |
| 278 | } |
| 279 | |
| 280 | bool Plugincxx . . $ Gst/Plugin#::is_loadedcxx . . $ Gst/Plugin#is_loaded(50ce9a9e25b4a850).() const |
| 281 | { |
| 282 | return gst_plugin_is_loaded(const_cast<GstPlugincxx . . $ GstPlugin#*>(gobjcxx . . $ Gst/Plugin#gobj(4d318173f62b0d89).())); |
| 283 | } |
| 284 | |
| 285 | Gstcxx . . $ Gst/::Structurecxx . . $ Gst/Structure# Plugincxx . . $ Gst/Plugin#::get_cache_datacxx . . $ Gst/Plugin#get_cache_data(65062218a0489aeb).() const |
| 286 | { |
| 287 | return Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(51e1331ca9e65d80).(const_cast<GstStructure*>(gst_plugin_get_cache_data(const_cast<GstPlugincxx . . $ GstPlugin#*>(gobjcxx . . $ Gst/Plugin#gobj(4d318173f62b0d89).()))), true); |
| 288 | } |
| 289 | |
| 290 | void Plugincxx . . $ Gst/Plugin#::set_cache_datacxx . . $ Gst/Plugin#set_cache_data(f791e69c8ffee142).(Gstcxx . . $ Gst/::Structurecxx . . $ Gst/Structure#& cache_data) |
| 291 | { |
| 292 | gst_plugin_set_cache_data(gobjcxx . . $ Gst/Plugin#gobj(faa071a34495025e).(), cache_data.gobjcxx . . $ Gst/Structure#gobj(f801621683f3ec38).()); |
| 293 | } |
| 294 | |
| 295 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Plugincxx . . $ Gst/Plugin#> Plugincxx . . $ Gst/Plugin#::load_filecxx . . $ Gst/Plugin#load_file(a382fa44a9b1919c).(const Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring#& filename) |
| 296 | { |
| 297 | GError* gerror = nullptr; |
| 298 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Plugincxx . . $ Gst/Plugin#> retvalue = Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(da07d7f8f838b8f6).(gst_plugin_load_file(filename.c_strcxx . . $ Glib/ustring#c_str(a9f41ea0e82d88cf).(), &(gerror))); |
| 299 | if(gerror) |
| 300 | ::Glibcxx . . $ Glib/::Errorcxx . . $ Glib/Error#::throw_exceptioncxx . . $ Glib/Error#throw_exception(a52d1233dfa6cf57).(gerror); |
| 301 | return retvaluecxx . . $ Glib/RefPtr#RefPtr(560c7fdd049cdfe1).; |
| 302 | } |
| 303 | |
| 304 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Plugincxx . . $ Gst/Plugin#> Plugincxx . . $ Gst/Plugin#::loadcxx . . $ Gst/Plugin#load(67d2939c9409554b).() |
| 305 | { |
| 306 | return Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(da07d7f8f838b8f6).(gst_plugin_load(gobjcxx . . $ Gst/Plugin#gobj(faa071a34495025e).())); |
| 307 | } |
| 308 | |
| 309 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Plugincxx . . $ Gst/Plugin#> Plugincxx . . $ Gst/Plugin#::load_by_namecxx . . $ Gst/Plugin#load_by_name(a382fa44a9b1919c).(const Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring#& name) |
| 310 | { |
| 311 | return Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(da07d7f8f838b8f6).(gst_plugin_load_by_name(name.c_strcxx . . $ Glib/ustring#c_str(a9f41ea0e82d88cf).())); |
| 312 | } |
| 313 | |
| 314 | void Plugincxx . . $ Gst/Plugin#::add_dependencycxx . . $ Gst/Plugin#add_dependency(b5dd985313347709).(const Glibcxx . . $ Glib/::StringArrayHandlecxx . . $ Glib/StringArrayHandle#& env_vars, const Glibcxx . . $ Glib/::StringArrayHandlecxx . . $ Glib/StringArrayHandle#& paths, const Glibcxx . . $ Glib/::StringArrayHandlecxx . . $ Glib/StringArrayHandle#& names, Gstcxx . . $ Gst/::PluginDependencyFlagscxx . . $ Gst/PluginDependencyFlags# flags) |
| 315 | { |
| 316 | gst_plugin_add_dependency(gobjcxx . . $ Gst/Plugin#gobj(faa071a34495025e).(), const_cast<const char**>(env_vars.datacxx . . $ Glib/ArrayHandle#data(b6fa4944fac54184).()), const_cast<const char**>(paths.datacxx . . $ Glib/ArrayHandle#data(b6fa4944fac54184).()), const_cast<const char**>(names.datacxx . . $ Glib/ArrayHandle#data(b6fa4944fac54184).()), ((GstPluginDependencyFlags)(flags))); |
| 317 | } |
| 318 | |
| 319 | void Plugincxx . . $ Gst/Plugin#::add_dependencycxx . . $ Gst/Plugin#add_dependency(f8891b07a814ea0f).(const Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring#& env_vars, const Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring#& paths, const Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring#& names, Gstcxx . . $ Gst/::PluginDependencyFlagscxx . . $ Gst/PluginDependencyFlags# flags) |
| 320 | { |
| 321 | gst_plugin_add_dependency_simple(gobjcxx . . $ Gst/Plugin#gobj(faa071a34495025e).(), env_vars.c_strcxx . . $ Glib/ustring#c_str(a9f41ea0e82d88cf).(), paths.c_strcxx . . $ Glib/ustring#c_str(a9f41ea0e82d88cf).(), names.c_strcxx . . $ Glib/ustring#c_str(a9f41ea0e82d88cf).(), ((GstPluginDependencyFlags)(flags))); |
| 322 | } |
| 323 | |
| 324 | |
| 325 | } // namespace Gst |
| 326 | |
| 327 |