00001
00002
00003 #ifndef _GSTREAMERMM_GIOSRC_H
00004 #define _GSTREAMERMM_GIOSRC_H
00005
00006
00007 #include <glibmm.h>
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028 #include <gstreamermm/basesrc.h>
00029 #include <giomm/file.h>
00030 #include <gstreamermm/urihandler.h>
00031
00032
00033 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00034 typedef struct _GstGioSrc GstGioSrc;
00035 typedef struct _GstGioSrcClass GstGioSrcClass;
00036 #endif
00037
00038
00039 namespace Gst
00040 { class GioSrc_Class; }
00041 namespace Gst
00042 {
00043
00044
00055 class GioSrc
00056 : public Gst::BaseSrc, public Gst::URIHandler
00057 {
00058
00059 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00060
00061 public:
00062 typedef GioSrc CppObjectType;
00063 typedef GioSrc_Class CppClassType;
00064 typedef GstGioSrc BaseObjectType;
00065 typedef GstGioSrcClass BaseClassType;
00066
00067 private: friend class GioSrc_Class;
00068 static CppClassType giosrc_class_;
00069
00070 private:
00071
00072 GioSrc(const GioSrc&);
00073 GioSrc& operator=(const GioSrc&);
00074
00075 protected:
00076 explicit GioSrc(const Glib::ConstructParams& construct_params);
00077 explicit GioSrc(GstGioSrc* castitem);
00078
00079 #endif
00080
00081 public:
00082 virtual ~GioSrc();
00083
00084 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00085 static GType get_type() G_GNUC_CONST;
00086 static GType get_base_type() G_GNUC_CONST;
00087 #endif
00088
00090 GstGioSrc* gobj() { return reinterpret_cast<GstGioSrc*>(gobject_); }
00091
00093 const GstGioSrc* gobj() const { return reinterpret_cast<GstGioSrc*>(gobject_); }
00094
00096 GstGioSrc* gobj_copy();
00097
00098 private:
00099
00100
00101 protected:
00102 GioSrc();
00103 GioSrc(const Glib::ustring& name);
00104
00105 public:
00109 static Glib::RefPtr<GioSrc> create();
00110
00111
00115 static Glib::RefPtr<GioSrc> create(const Glib::ustring& name);
00116
00117
00118 #ifdef GLIBMM_PROPERTIES_ENABLED
00119
00125 Glib::PropertyProxy<Glib::ustring> property_location() ;
00126 #endif //#GLIBMM_PROPERTIES_ENABLED
00127
00128 #ifdef GLIBMM_PROPERTIES_ENABLED
00129
00135 Glib::PropertyProxy_ReadOnly<Glib::ustring> property_location() const;
00136 #endif //#GLIBMM_PROPERTIES_ENABLED
00137
00138 #ifdef GLIBMM_PROPERTIES_ENABLED
00139
00145 Glib::PropertyProxy< Glib::RefPtr<Gio::File> > property_file() ;
00146 #endif //#GLIBMM_PROPERTIES_ENABLED
00147
00148 #ifdef GLIBMM_PROPERTIES_ENABLED
00149
00155 Glib::PropertyProxy_ReadOnly< Glib::RefPtr<Gio::File> > property_file() const;
00156 #endif //#GLIBMM_PROPERTIES_ENABLED
00157
00158
00159 public:
00160
00161 public:
00162
00163 #ifdef GLIBMM_VFUNCS_ENABLED
00164 #endif //GLIBMM_VFUNCS_ENABLED
00165
00166 protected:
00167
00168 #ifdef GLIBMM_VFUNCS_ENABLED
00169 #endif //GLIBMM_VFUNCS_ENABLED
00170
00171
00172 #ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00173 #endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00174
00175
00176 };
00177
00178 }
00179
00180
00181 namespace Glib
00182 {
00191 Glib::RefPtr<Gst::GioSrc> wrap(GstGioSrc* object, bool take_copy = false);
00192 }
00193
00194
00195 #endif
00196