Author: jaalburqu
Date: Fri Feb 15 05:50:12 2008
New Revision: 1351
URL: http://svn.gnome.org/viewvc/gnomemm?rev=1351&view=rev
Log:
2008-02-15 José Alburquerque <[EMAIL PROTECTED]>
* gstreamer/src/childproxy.ccg:
* gstreamer/src/childproxy.hg: Fixed misdefinition of static methods
to actual member methods (must still add docs)
Modified:
gstreamermm/trunk/ChangeLog
gstreamermm/trunk/gstreamer/src/childproxy.ccg
gstreamermm/trunk/gstreamer/src/childproxy.hg
Modified: gstreamermm/trunk/gstreamer/src/childproxy.ccg
==============================================================================
--- gstreamermm/trunk/gstreamer/src/childproxy.ccg (original)
+++ gstreamermm/trunk/gstreamer/src/childproxy.ccg Fri Feb 15 05:50:12 2008
@@ -19,3 +19,37 @@
* Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
+namespace Gst
+{
+
+void ChildProxy::get_property(const Glib::ustring& name, Glib::ValueBase&
value)
+{
+ gst_child_proxy_get_property(GST_OBJECT(gobj()), name.c_str(), value.gobj());
+}
+
+void ChildProxy::get_valist(const Glib::ustring& first_prop_name, va_list&
var_args)
+{
+ gst_child_proxy_get_valist(GST_OBJECT(gobj()), first_prop_name.c_str(),
var_args);
+}
+
+void ChildProxy::set_property(const Glib::ustring& name, const
Glib::ValueBase& value)
+{
+ gst_child_proxy_set_property(GST_OBJECT(gobj()), name.c_str(), value.gobj());
+}
+
+void ChildProxy::set_valist(const Glib::ustring& first_prop_name, const
va_list& var_args)
+{
+ gst_child_proxy_set_valist(GST_OBJECT(gobj()), first_prop_name.c_str(),
const_cast<va_list&>(var_args));
+}
+
+void ChildProxy::child_added(const Glib::RefPtr<Gst::Object>& child)
+{
+ gst_child_proxy_child_added(GST_OBJECT(gobj()), child->gobj());
+}
+
+void ChildProxy::child_removed(const Glib::RefPtr<Gst::Object>& child)
+{
+ gst_child_proxy_child_removed(GST_OBJECT(gobj()), child->gobj());
+}
+
+} //namespace Gst
Modified: gstreamermm/trunk/gstreamer/src/childproxy.hg
==============================================================================
--- gstreamermm/trunk/gstreamer/src/childproxy.hg (original)
+++ gstreamermm/trunk/gstreamer/src/childproxy.hg Fri Feb 15 05:50:12 2008
@@ -52,12 +52,12 @@
//TODO: should gst_child_proxy_lookup() be wrapped?
- _WRAP_METHOD(static void get_property(const Glib::RefPtr<Gst::Object>&
object, const Glib::ustring& name, Glib::ValueBase& value),
gst_child_proxy_get_property)
- _WRAP_METHOD(static void get_valist(const Glib::RefPtr<Gst::Object>& object,
const Glib::ustring& first_prop_name, const va_list& var_args),
gst_child_proxy_get_valist)
- _WRAP_METHOD(static void set_property(const Glib::RefPtr<Gst::Object>&
object, const Glib::ustring& name, const Glib::ValueBase& value),
gst_child_proxy_set_property)
- _WRAP_METHOD(static void set_valist(const Glib::RefPtr<Gst::Object>& object,
const Glib::ustring& first_prop_name, const va_list& var_args),
gst_child_proxy_set_valist)
- _WRAP_METHOD(static void child_added(const Glib::RefPtr<Gst::Object>&
object, const Glib::RefPtr<Gst::Object>& child), gst_child_proxy_child_added)
- _WRAP_METHOD(static void child_removed(const Glib::RefPtr<Gst::Object>&
object, const Glib::RefPtr<Gst::Object>& child), gst_child_proxy_child_removed)
+ void get_property(const Glib::ustring& name, Glib::ValueBase& value);
+ void get_valist(const Glib::ustring& first_prop_name, va_list& var_args);
+ void set_property(const Glib::ustring& name, const Glib::ValueBase& value);
+ void set_valist(const Glib::ustring& first_prop_name, const va_list&
var_args);
+ void child_added(const Glib::RefPtr<Gst::Object>& child);
+ void child_removed(const Glib::RefPtr<Gst::Object>& child);
_WRAP_SIGNAL(void child_added(const Glib::RefPtr<Gst::Object>& object),
"child-added")
_WRAP_SIGNAL(void child_removed(const Glib::RefPtr<Gst::Object>& object),
"child-removed")
_______________________________________________
SVN-commits-list mailing list (read only)
http://mail.gnome.org/mailman/listinfo/svn-commits-list
Want to limit the commits to a few modules? Go to above URL, log in to edit
your options and select the modules ('topics') you want.
Module maintainer? It is possible to set the reply-to to your development
mailing list. Email [EMAIL PROTECTED] if interested.