00001
00002
00003 #ifndef _GSTREAMERBASEMM_GIOSRC_H
00004 #define _GSTREAMERBASEMM_GIOSRC_H
00005
00006
00007 #include <glibmm.h>
00008
00009 #include <gstreamermm/basesrc.h>
00010 #include <giomm/file.h>
00011
00012
00013 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00014 typedef struct _GstGioSrc GstGioSrc;
00015 typedef struct _GstGioSrcClass GstGioSrcClass;
00016 #endif
00017
00018
00019 namespace GstBase
00020 { class GioSrc_Class; }
00021 namespace GstBase
00022 {
00023
00024
00034 class GioSrc
00035 : public Gst::BaseSrc
00036 {
00037
00038 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00039
00040 public:
00041 typedef GioSrc CppObjectType;
00042 typedef GioSrc_Class CppClassType;
00043 typedef GstGioSrc BaseObjectType;
00044 typedef GstGioSrcClass BaseClassType;
00045
00046 private: friend class GioSrc_Class;
00047 static CppClassType giosrc_class_;
00048
00049 private:
00050
00051 GioSrc(const GioSrc&);
00052 GioSrc& operator=(const GioSrc&);
00053
00054 protected:
00055 explicit GioSrc(const Glib::ConstructParams& construct_params);
00056 explicit GioSrc(GstGioSrc* castitem);
00057
00058 #endif
00059
00060 public:
00061 virtual ~GioSrc();
00062
00063 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00064 static GType get_type() G_GNUC_CONST;
00065 static GType get_base_type() G_GNUC_CONST;
00066 #endif
00067
00069 GstGioSrc* gobj() { return reinterpret_cast<GstGioSrc*>(gobject_); }
00070
00072 const GstGioSrc* gobj() const { return reinterpret_cast<GstGioSrc*>(gobject_); }
00073
00075 GstGioSrc* gobj_copy();
00076
00077 private:
00078
00079
00080 protected:
00081 GioSrc();
00082 GioSrc(const Glib::ustring& name);
00083
00084 public:
00088 static Glib::RefPtr<GioSrc> create();
00089
00090
00094 static Glib::RefPtr<GioSrc> create(const Glib::ustring& name);
00095
00096
00097 #ifdef GLIBMM_PROPERTIES_ENABLED
00098
00104 Glib::PropertyProxy<Glib::ustring> property_location() ;
00105 #endif //#GLIBMM_PROPERTIES_ENABLED
00106
00107 #ifdef GLIBMM_PROPERTIES_ENABLED
00108
00114 Glib::PropertyProxy_ReadOnly<Glib::ustring> property_location() const;
00115 #endif //#GLIBMM_PROPERTIES_ENABLED
00116
00117 #ifdef GLIBMM_PROPERTIES_ENABLED
00118
00124 Glib::PropertyProxy< Glib::RefPtr<Gio::File> > property_file() ;
00125 #endif //#GLIBMM_PROPERTIES_ENABLED
00126
00127 #ifdef GLIBMM_PROPERTIES_ENABLED
00128
00134 Glib::PropertyProxy_ReadOnly< Glib::RefPtr<Gio::File> > property_file() const;
00135 #endif //#GLIBMM_PROPERTIES_ENABLED
00136
00137
00138 public:
00139
00140 public:
00141
00142 #ifdef GLIBMM_VFUNCS_ENABLED
00143 #endif //GLIBMM_VFUNCS_ENABLED
00144
00145 protected:
00146
00147 #ifdef GLIBMM_VFUNCS_ENABLED
00148 #endif //GLIBMM_VFUNCS_ENABLED
00149
00150
00151 #ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00152 #endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00153
00154
00155 };
00156
00157 }
00158
00159
00160 namespace Glib
00161 {
00170 Glib::RefPtr<GstBase::GioSrc> wrap(GstGioSrc* object, bool take_copy = false);
00171 }
00172
00173
00174 #endif
00175