| 1 | // Generated by gmmproc 2.50.1 -- DO NOT MODIFY! |
| 2 | #ifndef _GSTREAMERMM_CLOCKOVERLAY_H |
| 3 | #define _GSTREAMERMM_CLOCKOVERLAY_H |
| 4 | |
| 5 | #include <gstreamermmconfig.h> |
| 6 | |
| 7 | #ifndef GSTREAMERMM_DISABLE_DEPRECATED |
| 8 | |
| 9 | |
| 10 | #include <glibmm/ustring.h> |
| 11 | #include <sigc++/sigc++.h> |
| 12 | |
| 13 | // Generated by generate_plugin_gmmproc_file. Don't edit this file. |
| 14 | |
| 15 | |
| 16 | #include <gstreamermm/element.h> |
| 17 | |
| 18 | |
| 19 | #ifndef DOXYGEN_SHOULD_SKIP_THIS |
| 20 | using GstClockOverlay = struct _GstClockOverlay; |
| 21 | using GstClockOverlayClass = struct _GstClockOverlayClass; |
| 22 | #endif /* DOXYGEN_SHOULD_SKIP_THIS */ |
| 23 | |
| 24 | |
| 25 | #ifndef DOXYGEN_SHOULD_SKIP_THIS |
| 26 | namespace Gst |
| 27 | { class ClockOverlay_Class; } // namespace Gst |
| 28 | #endif //DOXYGEN_SHOULD_SKIP_THIS |
| 29 | |
| 30 | namespace Gst |
| 31 | { |
| 32 | |
| 33 | /** A Wrapper for the clockoverlay plugin. |
| 34 | * Please note that not all plug-ins are available on all systems so care |
| 35 | * must be taken that they exist before they are used otherwise there will |
| 36 | * be errors and possibly a crash. |
| 37 | * |
| 38 | * @ingroup GstPlugins |
| 39 | * @deprecated Plugins API is deprecated, and should not be used in a new code. |
| 40 | */ |
| 41 | |
| 42 | class ClockOverlay |
| 43 | : public Gst::Element |
| 44 | { |
| 45 | |
| 46 | #ifndef DOXYGEN_SHOULD_SKIP_THIS |
| 47 | |
| 48 | public: |
| 49 | using CppObjectType = ClockOverlay; |
| 50 | using CppClassType = ClockOverlay_Class; |
| 51 | using BaseObjectType = GstClockOverlay; |
| 52 | using BaseClassType = GstClockOverlayClass; |
| 53 | |
| 54 | // noncopyable |
| 55 | ClockOverlay(const ClockOverlay&) = delete; |
| 56 | ClockOverlay& operator=(const ClockOverlay&) = delete; |
| 57 | |
| 58 | private: friend class ClockOverlay_Class; |
| 59 | static CppClassType clockoverlay_class_; |
| 60 | |
| 61 | protected: |
| 62 | explicit ClockOverlay(const Glib::ConstructParams& construct_params); |
| 63 | explicit ClockOverlay(GstClockOverlay* castitem); |
| 64 | |
| 65 | #endif /* DOXYGEN_SHOULD_SKIP_THIS */ |
| 66 | |
| 67 | public: |
| 68 | |
| 69 | ClockOverlay(ClockOverlay&& src) noexcept; |
| 70 | ClockOverlay& operator=(ClockOverlay&& src) noexcept; |
| 71 | |
| 72 | ~ClockOverlay() noexcept override; |
| 73 | |
| 74 | /** Get the GType for this class, for use with the underlying GObject type system. |
| 75 | */ |
| 76 | static GType get_type() G_GNUC_CONST; |
| 77 | |
| 78 | #ifndef DOXYGEN_SHOULD_SKIP_THIS |
| 79 | |
| 80 | |
| 81 | static GType get_base_type() G_GNUC_CONST; |
| 82 | #endif |
| 83 | |
| 84 | ///Provides access to the underlying C GObject. |
| 85 | GstClockOverlay* gobj() { return reinterpret_cast<GstClockOverlay*>(gobject_); } |
| 86 | |
| 87 | ///Provides access to the underlying C GObject. |
| 88 | const GstClockOverlay* gobj() const { return reinterpret_cast<GstClockOverlay*>(gobject_); } |
| 89 | |
| 90 | ///Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. |
| 91 | GstClockOverlay* gobj_copy(); |
| 92 | |
| 93 | private: |
| 94 | |
| 95 | |
| 96 | protected: |
| 97 | ClockOverlay(); |
| 98 | explicit ClockOverlay(const Glib::ustring& name); |
| 99 | |
| 100 | public: |
| 101 | /** Creates a new clockoverlay plugin with a unique name. |
| 102 | */ |
| 103 | |
| 104 | static Glib::RefPtr<ClockOverlay> create(); |
| 105 | |
| 106 | |
| 107 | /** Creates a new clockoverlay plugin with the given name. |
| 108 | */ |
| 109 | |
| 110 | static Glib::RefPtr<ClockOverlay> create(const Glib::ustring& name); |
| 111 | |
| 112 | |
| 113 | /** Format to use for time and date value, as in strftime. |
| 114 | * |
| 115 | * @return A PropertyProxy that allows you to get or set the value of the property, |
| 116 | * or receive notification when the value of the property changes. |
| 117 | */ |
| 118 | Glib::PropertyProxy< Glib::ustring > property_time_format() ; |
| 119 | |
| 120 | /** Format to use for time and date value, as in strftime. |
| 121 | * |
| 122 | * @return A PropertyProxy_ReadOnly that allows you to get the value of the property, |
| 123 | * or receive notification when the value of the property changes. |
| 124 | */ |
| 125 | Glib::PropertyProxy_ReadOnly< Glib::ustring > property_time_format() const; |
| 126 | |
| 127 | |
| 128 | public: |
| 129 | |
| 130 | public: |
| 131 | //C++ methods used to invoke GTK+ virtual functions: |
| 132 | |
| 133 | protected: |
| 134 | //GTK+ Virtual Functions (override these to change behaviour): |
| 135 | |
| 136 | //Default Signal Handlers:: |
| 137 | |
| 138 | |
| 139 | }; |
| 140 | |
| 141 | } // namespace Gst |
| 142 | |
| 143 | |
| 144 | namespace Glib |
| 145 | { |
| 146 | /** A Glib::wrap() method for this object. |
| 147 | * |
| 148 | * @param object The C instance. |
| 149 | * @param take_copy False if the result should take ownership of the C instance. True if it should take a new copy or ref. |
| 150 | * @result A C++ instance that wraps this C instance. |
| 151 | * |
| 152 | * @relates Gst::ClockOverlay |
| 153 | */ |
| 154 | Glib::RefPtr<Gst::ClockOverlay> wrap(GstClockOverlay* object, bool take_copy = false); |
| 155 | } |
| 156 | |
| 157 | |
| 158 | #endif // GSTREAMERMM_DISABLE_DEPRECATED |
| 159 | |
| 160 | |
| 161 | #endif /* _GSTREAMERMM_CLOCKOVERLAY_H */ |
| 162 |