| 1 | // Generated by gmmproc 2.50.1 -- DO NOT MODIFY! |
| 2 | #ifndef _GSTREAMERMM_CDPARANOIASRC_H |
| 3 | #define _GSTREAMERMM_CDPARANOIASRC_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/pushsrc.h> |
| 17 | |
| 18 | |
| 19 | #ifndef DOXYGEN_SHOULD_SKIP_THIS |
| 20 | using GstCdParanoiaSrc = struct _GstCdParanoiaSrc; |
| 21 | using GstCdParanoiaSrcClass = struct _GstCdParanoiaSrcClass; |
| 22 | #endif /* DOXYGEN_SHOULD_SKIP_THIS */ |
| 23 | |
| 24 | |
| 25 | #ifndef DOXYGEN_SHOULD_SKIP_THIS |
| 26 | namespace Gst |
| 27 | { class CdParanoiaSrc_Class; } // namespace Gst |
| 28 | #endif //DOXYGEN_SHOULD_SKIP_THIS |
| 29 | |
| 30 | namespace Gst |
| 31 | { |
| 32 | |
| 33 | /** @addtogroup gstreamermmEnums gstreamermm Enums and Flags */ |
| 34 | |
| 35 | /** |
| 36 | * |
| 37 | * @ingroup gstreamermmEnums |
| 38 | */ |
| 39 | enum CdParanoiaMode |
| 40 | { |
| 41 | PARANOIA_MODE_DISABLE = 1<<0, |
| 42 | PARANOIA_MODE_FRAGMENT = 1<<1, |
| 43 | PARANOIA_MODE_OVERLAP = 1<<2, |
| 44 | PARANOIA_MODE_SCRATCH = 1<<3, |
| 45 | PARANOIA_MODE_REPAIR = 1<<4, |
| 46 | PARANOIA_MODE_FULL = 0xff |
| 47 | }; |
| 48 | |
| 49 | } // namespace Gst |
| 50 | |
| 51 | #ifndef DOXYGEN_SHOULD_SKIP_THIS |
| 52 | namespace Glib |
| 53 | { |
| 54 | |
| 55 | template <> |
| 56 | class Value<Gst::CdParanoiaMode> : public Glib::Value_Enum<Gst::CdParanoiaMode> |
| 57 | { |
| 58 | public: |
| 59 | static GType value_type() G_GNUC_CONST; |
| 60 | }; |
| 61 | |
| 62 | } // namespace Glib |
| 63 | #endif /* DOXYGEN_SHOULD_SKIP_THIS */ |
| 64 | |
| 65 | namespace Gst |
| 66 | { |
| 67 | |
| 68 | |
| 69 | /** A Wrapper for the cdparanoiasrc plugin. |
| 70 | * Please note that not all plug-ins are available on all systems so care |
| 71 | * must be taken that they exist before they are used otherwise there will |
| 72 | * be errors and possibly a crash. |
| 73 | * |
| 74 | * @ingroup GstPlugins |
| 75 | * @deprecated Plugins API is deprecated, and should not be used in a new code. |
| 76 | */ |
| 77 | |
| 78 | class CdParanoiaSrc |
| 79 | : public Gst::PushSrc |
| 80 | { |
| 81 | |
| 82 | #ifndef DOXYGEN_SHOULD_SKIP_THIS |
| 83 | |
| 84 | public: |
| 85 | using CppObjectType = CdParanoiaSrc; |
| 86 | using CppClassType = CdParanoiaSrc_Class; |
| 87 | using BaseObjectType = GstCdParanoiaSrc; |
| 88 | using BaseClassType = GstCdParanoiaSrcClass; |
| 89 | |
| 90 | // noncopyable |
| 91 | CdParanoiaSrc(const CdParanoiaSrc&) = delete; |
| 92 | CdParanoiaSrc& operator=(const CdParanoiaSrc&) = delete; |
| 93 | |
| 94 | private: friend class CdParanoiaSrc_Class; |
| 95 | static CppClassType cdparanoiasrc_class_; |
| 96 | |
| 97 | protected: |
| 98 | explicit CdParanoiaSrc(const Glib::ConstructParams& construct_params); |
| 99 | explicit CdParanoiaSrc(GstCdParanoiaSrc* castitem); |
| 100 | |
| 101 | #endif /* DOXYGEN_SHOULD_SKIP_THIS */ |
| 102 | |
| 103 | public: |
| 104 | |
| 105 | CdParanoiaSrc(CdParanoiaSrc&& src) noexcept; |
| 106 | CdParanoiaSrc& operator=(CdParanoiaSrc&& src) noexcept; |
| 107 | |
| 108 | ~CdParanoiaSrc() noexcept override; |
| 109 | |
| 110 | /** Get the GType for this class, for use with the underlying GObject type system. |
| 111 | */ |
| 112 | static GType get_type() G_GNUC_CONST; |
| 113 | |
| 114 | #ifndef DOXYGEN_SHOULD_SKIP_THIS |
| 115 | |
| 116 | |
| 117 | static GType get_base_type() G_GNUC_CONST; |
| 118 | #endif |
| 119 | |
| 120 | ///Provides access to the underlying C GObject. |
| 121 | GstCdParanoiaSrc* gobj() { return reinterpret_cast<GstCdParanoiaSrc*>(gobject_); } |
| 122 | |
| 123 | ///Provides access to the underlying C GObject. |
| 124 | const GstCdParanoiaSrc* gobj() const { return reinterpret_cast<GstCdParanoiaSrc*>(gobject_); } |
| 125 | |
| 126 | ///Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. |
| 127 | GstCdParanoiaSrc* gobj_copy(); |
| 128 | |
| 129 | private: |
| 130 | |
| 131 | |
| 132 | protected: |
| 133 | CdParanoiaSrc(); |
| 134 | explicit CdParanoiaSrc(const Glib::ustring& name); |
| 135 | |
| 136 | public: |
| 137 | /** Creates a new cdparanoiasrc plugin with a unique name. |
| 138 | */ |
| 139 | |
| 140 | static Glib::RefPtr<CdParanoiaSrc> create(); |
| 141 | |
| 142 | |
| 143 | /** Creates a new cdparanoiasrc plugin with the given name. |
| 144 | */ |
| 145 | |
| 146 | static Glib::RefPtr<CdParanoiaSrc> create(const Glib::ustring& name); |
| 147 | |
| 148 | |
| 149 | /** Read from device at specified speed (-1 and 0 = full speed). |
| 150 | * |
| 151 | * @return A PropertyProxy that allows you to get or set the value of the property, |
| 152 | * or receive notification when the value of the property changes. |
| 153 | */ |
| 154 | Glib::PropertyProxy< int > property_read_speed() ; |
| 155 | |
| 156 | /** Read from device at specified speed (-1 and 0 = full speed). |
| 157 | * |
| 158 | * @return A PropertyProxy_ReadOnly that allows you to get the value of the property, |
| 159 | * or receive notification when the value of the property changes. |
| 160 | */ |
| 161 | Glib::PropertyProxy_ReadOnly< int > property_read_speed() const; |
| 162 | |
| 163 | /** Type of checking to perform. |
| 164 | * |
| 165 | * @return A PropertyProxy that allows you to get or set the value of the property, |
| 166 | * or receive notification when the value of the property changes. |
| 167 | */ |
| 168 | Glib::PropertyProxy< Gst::CdParanoiaMode > property_paranoia_mode() ; |
| 169 | |
| 170 | /** Type of checking to perform. |
| 171 | * |
| 172 | * @return A PropertyProxy_ReadOnly that allows you to get the value of the property, |
| 173 | * or receive notification when the value of the property changes. |
| 174 | */ |
| 175 | Glib::PropertyProxy_ReadOnly< Gst::CdParanoiaMode > property_paranoia_mode() const; |
| 176 | |
| 177 | /** Force minimum overlap search during verification to n sectors. |
| 178 | * |
| 179 | * @return A PropertyProxy that allows you to get or set the value of the property, |
| 180 | * or receive notification when the value of the property changes. |
| 181 | */ |
| 182 | Glib::PropertyProxy< int > property_search_overlap() ; |
| 183 | |
| 184 | /** Force minimum overlap search during verification to n sectors. |
| 185 | * |
| 186 | * @return A PropertyProxy_ReadOnly that allows you to get the value of the property, |
| 187 | * or receive notification when the value of the property changes. |
| 188 | */ |
| 189 | Glib::PropertyProxy_ReadOnly< int > property_search_overlap() const; |
| 190 | |
| 191 | /** Use specified generic scsi device. |
| 192 | * |
| 193 | * @return A PropertyProxy that allows you to get or set the value of the property, |
| 194 | * or receive notification when the value of the property changes. |
| 195 | */ |
| 196 | Glib::PropertyProxy< Glib::ustring > property_generic_device() ; |
| 197 | |
| 198 | /** Use specified generic scsi device. |
| 199 | * |
| 200 | * @return A PropertyProxy_ReadOnly that allows you to get the value of the property, |
| 201 | * or receive notification when the value of the property changes. |
| 202 | */ |
| 203 | Glib::PropertyProxy_ReadOnly< Glib::ustring > property_generic_device() const; |
| 204 | |
| 205 | /** Set CD cache size to n sectors (-1 = auto). |
| 206 | * |
| 207 | * @return A PropertyProxy that allows you to get or set the value of the property, |
| 208 | * or receive notification when the value of the property changes. |
| 209 | */ |
| 210 | Glib::PropertyProxy< int > property_cache_size() ; |
| 211 | |
| 212 | /** Set CD cache size to n sectors (-1 = auto). |
| 213 | * |
| 214 | * @return A PropertyProxy_ReadOnly that allows you to get the value of the property, |
| 215 | * or receive notification when the value of the property changes. |
| 216 | */ |
| 217 | Glib::PropertyProxy_ReadOnly< int > property_cache_size() const; |
| 218 | |
| 219 | |
| 220 | /** |
| 221 | * @par Slot Prototype: |
| 222 | * <tt>void on_my_%transport_error(int arg0)</tt> |
| 223 | * |
| 224 | */ |
| 225 | |
| 226 | Glib::SignalProxy< void,int > signal_transport_error(); |
| 227 | |
| 228 | |
| 229 | /** |
| 230 | * @par Slot Prototype: |
| 231 | * <tt>void on_my_%uncorrected_error(int arg0)</tt> |
| 232 | * |
| 233 | */ |
| 234 | |
| 235 | Glib::SignalProxy< void,int > signal_uncorrected_error(); |
| 236 | |
| 237 | |
| 238 | public: |
| 239 | |
| 240 | public: |
| 241 | //C++ methods used to invoke GTK+ virtual functions: |
| 242 | |
| 243 | protected: |
| 244 | //GTK+ Virtual Functions (override these to change behaviour): |
| 245 | |
| 246 | //Default Signal Handlers:: |
| 247 | |
| 248 | |
| 249 | }; |
| 250 | |
| 251 | } // namespace Gst |
| 252 | |
| 253 | |
| 254 | namespace Glib |
| 255 | { |
| 256 | /** A Glib::wrap() method for this object. |
| 257 | * |
| 258 | * @param object The C instance. |
| 259 | * @param take_copy False if the result should take ownership of the C instance. True if it should take a new copy or ref. |
| 260 | * @result A C++ instance that wraps this C instance. |
| 261 | * |
| 262 | * @relates Gst::CdParanoiaSrc |
| 263 | */ |
| 264 | Glib::RefPtr<Gst::CdParanoiaSrc> wrap(GstCdParanoiaSrc* object, bool take_copy = false); |
| 265 | } |
| 266 | |
| 267 | |
| 268 | #endif // GSTREAMERMM_DISABLE_DEPRECATED |
| 269 | |
| 270 | |
| 271 | #endif /* _GSTREAMERMM_CDPARANOIASRC_H */ |
| 272 |