| 1 | // Generated by gmmproc 2.50.1 -- DO NOT MODIFY! |
| 2 | #ifndef _GSTREAMERMM_VALUELIST_H |
| 3 | #define _GSTREAMERMM_VALUELIST_H |
| 4 | |
| 5 | |
| 6 | #include <glibmm/ustring.h> |
| 7 | #include <sigc++/sigc++.h> |
| 8 | |
| 9 | /* gstreamermm - a C++ wrapper for gstreamer |
| 10 | * |
| 11 | * Copyright 2008 The gstreamermm Development Team |
| 12 | * |
| 13 | * This library is free software; you can redistribute it and/or |
| 14 | * modify it under the terms of the GNU Lesser General Public |
| 15 | * License as published by the Free Software Foundation; either |
| 16 | * version 2.1 of the License, or (at your option) any later version. |
| 17 | * |
| 18 | * This library is distributed in the hope that it will be useful, |
| 19 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 20 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 21 | * Lesser General Public License for more details. |
| 22 | * |
| 23 | * You should have received a copy of the GNU Lesser General Public |
| 24 | * License along with this library; if not, write to the Free |
| 25 | * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. |
| 26 | */ |
| 27 | |
| 28 | #include <gst/gst.h> |
| 29 | #include <gst/gstvalue.h> |
| 30 | #include <glibmm/value.h> |
| 31 | #include <glibmm/value_custom.h> |
| 32 | |
| 33 | |
| 34 | namespace Gst |
| 35 | { |
| 36 | |
| 37 | class ValueList : public Glib::ValueBase |
| 38 | { |
| 39 | public: |
| 40 | /** Default constructor. |
| 41 | */ |
| 42 | ValueList(); |
| 43 | |
| 44 | /** Get the GType for this class, for use with the underlying GObject type system. |
| 45 | */ |
| 46 | static GType get_type() G_GNUC_CONST; |
| 47 | |
| 48 | public: |
| 49 | |
| 50 | /** Gets the number of values contained in @a value. |
| 51 | * |
| 52 | * @return The number of values. |
| 53 | */ |
| 54 | guint size() const; |
| 55 | |
| 56 | /** Gets the value that is a member of the list contained in @a value and |
| 57 | * has the index @a index. |
| 58 | * |
| 59 | * @param value A Value of type Gst::TYPE_LIST. |
| 60 | * @param index Index of value to get from the list. |
| 61 | * @return The value at the given index. |
| 62 | */ |
| 63 | bool get(guint index, Glib::ValueBase& value) const; |
| 64 | |
| 65 | /** Appends @a value to the ValueList. |
| 66 | * |
| 67 | * @param value The value to append. |
| 68 | */ |
| 69 | Gst::ValueList& append(const Glib::ValueBase& value); |
| 70 | |
| 71 | /** Prepends @a value to the ValueList. |
| 72 | * |
| 73 | * @param value The value to prepend. |
| 74 | */ |
| 75 | Gst::ValueList& prepend(const Glib::ValueBase& value); |
| 76 | |
| 77 | }; |
| 78 | |
| 79 | } //namespace Gst |
| 80 | |
| 81 | |
| 82 | #endif /* _GSTREAMERMM_VALUELIST_H */ |
| 83 |