00001
00002
00003 #ifndef _GSTREAMERMM_NAVIGATION_H
00004 #define _GSTREAMERMM_NAVIGATION_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 <gst/interfaces/navigation.h>
00029 #include <glibmm/interface.h>
00030
00031
00032 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00033 typedef struct _GstNavigation GstNavigation;
00034 typedef struct _GstNavigationClass GstNavigationClass;
00035 #endif
00036
00037
00038 namespace Gst
00039 { class Navigation_Class; }
00040 namespace Gst
00041 {
00042
00043 class Structure;
00044
00050 class Navigation : public Glib::Interface
00051 {
00052
00053 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00054
00055 public:
00056 typedef Navigation CppObjectType;
00057 typedef Navigation_Class CppClassType;
00058 typedef GstNavigation BaseObjectType;
00059 typedef GstNavigationInterface BaseClassType;
00060
00061 private:
00062 friend class Navigation_Class;
00063 static CppClassType navigation_class_;
00064
00065
00066 Navigation(const Navigation&);
00067 Navigation& operator=(const Navigation&);
00068
00069 protected:
00070 Navigation();
00071
00078 explicit Navigation(const Glib::Interface_Class& interface_class);
00079
00080 public:
00081
00082
00083
00084 explicit Navigation(GstNavigation* castitem);
00085
00086 protected:
00087 #endif
00088
00089 public:
00090 virtual ~Navigation();
00091
00092 static void add_interface(GType gtype_implementer);
00093
00094 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00095 static GType get_type() G_GNUC_CONST;
00096 static GType get_base_type() G_GNUC_CONST;
00097 #endif
00098
00100 GstNavigation* gobj() { return reinterpret_cast<GstNavigation*>(gobject_); }
00101
00103 const GstNavigation* gobj() const { return reinterpret_cast<GstNavigation*>(gobject_); }
00104
00105 private:
00106
00107
00108 public:
00109
00110 void send_event(Gst::Structure& structure);
00111
00112 void send_key_event(const Glib::ustring& event, const Glib::ustring& key);
00113
00125 void send_mouse_event(const Glib::ustring& event, int button, double x, double y);
00126
00127 #ifdef GLIBMM_VFUNCS_ENABLED
00128
00130 virtual void send_event_vfunc(Gst::Structure& structure);
00131 #endif //GLIBMM_VFUNCS_ENABLED
00132
00133 protected:
00134
00135
00136 public:
00137
00138 public:
00139
00140 #ifdef GLIBMM_VFUNCS_ENABLED
00141 #endif //GLIBMM_VFUNCS_ENABLED
00142
00143 protected:
00144
00145 #ifdef GLIBMM_VFUNCS_ENABLED
00146 #endif //GLIBMM_VFUNCS_ENABLED
00147
00148
00149 #ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00150 #endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00151
00152
00153 };
00154
00155 }
00156
00157
00158 namespace Glib
00159 {
00168 Glib::RefPtr<Gst::Navigation> wrap(GstNavigation* object, bool take_copy = false);
00169
00170 }
00171
00172
00173 #endif
00174