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
00054 class GioSrc
00055 : public Gst::BaseSrc, public Gst::URIHandler
00056 {
00057
00058 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00059
00060 public:
00061 typedef GioSrc CppObjectType;
00062 typedef GioSrc_Class CppClassType;
00063 typedef GstGioSrc BaseObjectType;
00064 typedef GstGioSrcClass BaseClassType;
00065
00066 private: friend class GioSrc_Class;
00067 static CppClassType giosrc_class_;
00068
00069 private:
00070
00071 GioSrc(const GioSrc&);
00072 GioSrc& operator=(const GioSrc&);
00073
00074 protected:
00075 explicit GioSrc(const Glib::ConstructParams& construct_params);
00076 explicit GioSrc(GstGioSrc* castitem);
00077
00078 #endif
00079
00080 public:
00081 virtual ~GioSrc();
00082
00083 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00084 static GType get_type() G_GNUC_CONST;
00085 static GType get_base_type() G_GNUC_CONST;
00086 #endif
00087
00089 GstGioSrc* gobj() { return reinterpret_cast<GstGioSrc*>(gobject_); }
00090
00092 const GstGioSrc* gobj() const { return reinterpret_cast<GstGioSrc*>(gobject_); }
00093
00095 GstGioSrc* gobj_copy();
00096
00097 private:
00098
00099
00100 protected:
00101 GioSrc();
00102 GioSrc(const Glib::ustring& name);
00103
00104 public:
00108 static Glib::RefPtr<GioSrc> create();
00109
00110
00114 static Glib::RefPtr<GioSrc> create(const Glib::ustring& name);
00115
00116
00117 #ifdef GLIBMM_PROPERTIES_ENABLED
00118
00124 Glib::PropertyProxy<Glib::ustring> property_location() ;
00125 #endif //#GLIBMM_PROPERTIES_ENABLED
00126
00127 #ifdef GLIBMM_PROPERTIES_ENABLED
00128
00134 Glib::PropertyProxy_ReadOnly<Glib::ustring> property_location() const;
00135 #endif //#GLIBMM_PROPERTIES_ENABLED
00136
00137 #ifdef GLIBMM_PROPERTIES_ENABLED
00138
00144 Glib::PropertyProxy< Glib::RefPtr<Gio::File> > property_file() ;
00145 #endif //#GLIBMM_PROPERTIES_ENABLED
00146
00147 #ifdef GLIBMM_PROPERTIES_ENABLED
00148
00154 Glib::PropertyProxy_ReadOnly< Glib::RefPtr<Gio::File> > property_file() const;
00155 #endif //#GLIBMM_PROPERTIES_ENABLED
00156
00157
00158 public:
00159
00160 public:
00161
00162 #ifdef GLIBMM_VFUNCS_ENABLED
00163 #endif //GLIBMM_VFUNCS_ENABLED
00164
00165 protected:
00166
00167 #ifdef GLIBMM_VFUNCS_ENABLED
00168 #endif //GLIBMM_VFUNCS_ENABLED
00169
00170
00171 #ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00172 #endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00173
00174
00175 };
00176
00177 }
00178
00179
00180 namespace Glib
00181 {
00190 Glib::RefPtr<Gst::GioSrc> wrap(GstGioSrc* object, bool take_copy = false);
00191 }
00192
00193
00194 #endif
00195