gnomemm r2080 - in gstreamermm/trunk: . gstreamer/src
- From: murrayc svn gnome org
- To: svn-commits-list gnome org
- Subject: gnomemm r2080 - in gstreamermm/trunk: . gstreamer/src
- Date: Wed, 4 Mar 2009 22:23:58 +0000 (UTC)
Author: murrayc
Date: Wed Mar 4 22:23:58 2009
New Revision: 2080
URL: http://svn.gnome.org/viewvc/gnomemm?rev=2080&view=rev
Log:
2009-03-04 Murray Cumming <murrayc murrayc com>
* gstreamer/src/index.hg: Added an explanation next to the TODO.
Modified:
gstreamermm/trunk/ChangeLog
gstreamermm/trunk/gstreamer/src/index.hg
Modified: gstreamermm/trunk/gstreamer/src/index.hg
==============================================================================
--- gstreamermm/trunk/gstreamer/src/index.hg (original)
+++ gstreamermm/trunk/gstreamer/src/index.hg Wed Mar 4 22:23:58 2009
@@ -160,7 +160,13 @@
#endif //GLIBMM_VFUNCS_ENABLED
//TODO: This vfunc is strange because the prototype in the class structure
- //includes a "gpointer user_data" parameter. Is this a bug?
+ //includes a "gpointer user_data" parameter. Is this a bug? Jose.
+ //
+ //No. It's normal that this "function" takes a user_data parameter because it also
+ //takes a callback function, to which that user_data should be passed.
+ //Once the nasty C callback is replaced by a sigc::slot in our C++ version of this vfunc
+ //then there will probably be no need for the user_data parameter. But that will all
+ //be rather difficult, so I would just ignore this for now unless it is very useful. murrayc.
//_WRAP_VFUNC(void get_assoc_entry(Gst::LookupMethod method, Gst::AssocFlags flags, Gst::Format format, gint64 value, const SlotCompareData& compare_slot), "get_assoc_entry")
protected:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]