[gstreamermm] Add Gst::DiscovererInfo skeleton.



commit 6bfd851aa258cb9d52779154fd2056c75592eb6f
Author: Josà Alburquerque <jaalburqu svn gnome org>
Date:   Fri Jul 15 01:16:56 2011 -0400

    Add Gst::DiscovererInfo skeleton.
    
    	* gstreamer/src/discovererinfo.{ccg,hg}:
    	* gstreamer/src/filelist.am: Add the sources and mention them in the
    	build.  The _STRUCT_NOT_HIDDEN macro was needed when defining the
    	class because otherwise gmmproc generates a 'typedef struct
    	_GstDiscovererInfoClass GstDiscovererInfoClass' which is not the same
    	typedef used in the C sources.

 ChangeLog                        |   11 +++++++++
 gstreamer/src/discovererinfo.ccg |   26 ++++++++++++++++++++++
 gstreamer/src/discovererinfo.hg  |   44 ++++++++++++++++++++++++++++++++++++++
 gstreamer/src/filelist.am        |    1 +
 4 files changed, 82 insertions(+), 0 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 9a3b418..d81d774 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,14 @@
+2011-07-15  Josà Alburquerque  <jaalburqu svn gnome org>
+
+	Add Gst::DiscovererInfo skeleton.
+
+	* gstreamer/src/discovererinfo.{ccg,hg}:
+	* gstreamer/src/filelist.am: Add the sources and mention them in the
+	build.  The _STRUCT_NOT_HIDDEN macro was needed when defining the
+	class because otherwise gmmproc generates a 'typedef struct
+	_GstDiscovererInfoClass GstDiscovererInfoClass' which is not the same
+	typedef used in the C sources.
+
 2011-07-13  Josà Alburquerque  <jaalburqu svn gnome org>
 
 	Discoverer: Use pkg-config to get the -lgstpbutils-0.10.
diff --git a/gstreamer/src/discovererinfo.ccg b/gstreamer/src/discovererinfo.ccg
new file mode 100644
index 0000000..0191952
--- /dev/null
+++ b/gstreamer/src/discovererinfo.ccg
@@ -0,0 +1,26 @@
+/* gstreamermm - a C++ wrapper for gstreamer
+ *
+ * Copyright 2011 gstreamermm Development Team
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 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
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free
+ * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ */
+
+#include <gst/pbutils/pbutils.h>
+_PINCLUDE(gstreamermm/private/miniobject_p.h)
+
+namespace Gst
+{
+
+} // namespace Gst
diff --git a/gstreamer/src/discovererinfo.hg b/gstreamer/src/discovererinfo.hg
new file mode 100644
index 0000000..8f28e05
--- /dev/null
+++ b/gstreamer/src/discovererinfo.hg
@@ -0,0 +1,44 @@
+/* gstreamermm - a C++ wrapper for gstreamer
+ *
+ * Copyright 2011 The gstreamermm Development Team
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 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
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free
+ * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ */
+
+#include <gstreamermm/miniobject.h>
+
+_DEFS(gstreamermm,gst)
+
+namespace Gst
+{
+
+#ifndef DOXYGEN_SHOULD_SKIP_THIS
+typedef struct _GstDiscovererInfo GstDiscovererInfo;
+typedef GstMiniObjectClass GstDiscovererInfoClass;
+#endif /* DOXYGEN_SHOULD_SKIP_THIS */
+
+/** DiscovererInfo - Class containing the information of a URI analyzed by
+ * Gst::Discoverer.
+ */
+class DiscovererInfo : public MiniObject
+{
+  _STRUCT_NOT_HIDDEN
+  _CLASS_GSTMINIOBJECT(DiscovererInfo, GstDiscovererInfo, GST_DISCOVERER_INFO, MiniObject, GstMiniObject)
+  _IGNORE(gst_discoverer_info_ref, gst_discoverer_info_unref)
+
+public:
+};
+
+} //namespace Gst
diff --git a/gstreamer/src/filelist.am b/gstreamer/src/filelist.am
index d4133e9..df598bf 100644
--- a/gstreamer/src/filelist.am
+++ b/gstreamer/src/filelist.am
@@ -113,6 +113,7 @@ files_hg  =                     \
         colorbalancechannel.hg  \
         colorbalance.hg         \
         discoverer.hg           \
+        discovererinfo.hg       \
         elementfactory.hg       \
         element.hg              \
         enums.hg                \



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]