00001 // -*- c++ -*- 00002 // Generated by gtkmmproc -- DO NOT MODIFY! 00003 #ifndef _GSTMM_FORMAT_H 00004 #define _GSTMM_FORMAT_H 00005 00006 00007 #include <glibmm.h> 00008 00009 #include <gstreamermm/enums.h> 00010 00011 00012 namespace Gst 00013 { 00014 struct FormatDefinition 00015 { 00016 Format value; 00017 Glib::ustring nick; 00018 Glib::ustring description; 00019 Glib::QueryQuark quark; 00020 }; 00021 00022 //Note that GstFormat is an enum. That's why these are not member functions of a class. 00023 00024 Format register_format(const Glib::ustring& nick, const Glib::ustring&description); 00025 Format get_format(const Glib::ustring& nick); 00026 00027 //TODO: first arg is an array of Formats 00028 //TODO: bool formats_contain_format(const Format& formats, Format format); 00029 00030 bool get_details(Format format, FormatDefinition& def); 00031 00032 } //namespace Gst 00033 00034 00035 #endif /* _GSTMM_FORMAT_H */ 00036