00001
00002
00003 #ifndef _GSTREAMERMM_VORBISTAG_H
00004 #define _GSTREAMERMM_VORBISTAG_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/vorbisparse.h>
00029 #include <gstreamermm/tagsetter.h>
00030
00031
00032 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00033 typedef struct _GstVorbisTag GstVorbisTag;
00034 typedef struct _GstVorbisTagClass GstVorbisTagClass;
00035 #endif
00036
00037
00038 namespace Gst
00039 { class VorbisTag_Class; }
00040 namespace Gst
00041 {
00042
00053 class VorbisTag
00054 : public Gst::VorbisParse, public Gst::TagSetter
00055 {
00056
00057 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00058
00059 public:
00060 typedef VorbisTag CppObjectType;
00061 typedef VorbisTag_Class CppClassType;
00062 typedef GstVorbisTag BaseObjectType;
00063 typedef GstVorbisTagClass BaseClassType;
00064
00065 private: friend class VorbisTag_Class;
00066 static CppClassType vorbistag_class_;
00067
00068 private:
00069
00070 VorbisTag(const VorbisTag&);
00071 VorbisTag& operator=(const VorbisTag&);
00072
00073 protected:
00074 explicit VorbisTag(const Glib::ConstructParams& construct_params);
00075 explicit VorbisTag(GstVorbisTag* castitem);
00076
00077 #endif
00078
00079 public:
00080 virtual ~VorbisTag();
00081
00082 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00083 static GType get_type() G_GNUC_CONST;
00084 static GType get_base_type() G_GNUC_CONST;
00085 #endif
00086
00088 GstVorbisTag* gobj() { return reinterpret_cast<GstVorbisTag*>(gobject_); }
00089
00091 const GstVorbisTag* gobj() const { return reinterpret_cast<GstVorbisTag*>(gobject_); }
00092
00094 GstVorbisTag* gobj_copy();
00095
00096 private:
00097
00098
00099 protected:
00100 VorbisTag();
00101 VorbisTag(const Glib::ustring& name);
00102
00103 public:
00107 static Glib::RefPtr<VorbisTag> create();
00108
00109
00113 static Glib::RefPtr<VorbisTag> create(const Glib::ustring& name);
00114
00115
00116 public:
00117
00118 public:
00119
00120 #ifdef GLIBMM_VFUNCS_ENABLED
00121 #endif //GLIBMM_VFUNCS_ENABLED
00122
00123 protected:
00124
00125 #ifdef GLIBMM_VFUNCS_ENABLED
00126 #endif //GLIBMM_VFUNCS_ENABLED
00127
00128
00129 #ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00130 #endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00131
00132
00133 };
00134
00135 }
00136
00137
00138 namespace Glib
00139 {
00148 Glib::RefPtr<Gst::VorbisTag> wrap(GstVorbisTag* object, bool take_copy = false);
00149 }
00150
00151
00152 #endif
00153