xoverlay.h

Go to the documentation of this file.
00001 // -*- c++ -*-
00002 // Generated by gtkmmproc -- DO NOT MODIFY!
00003 #ifndef _GSTREAMERBASEMM_XOVERLAY_H
00004 #define _GSTREAMERBASEMM_XOVERLAY_H
00005 
00006 
00007 #include <glibmm.h>
00008 
00009 // -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 2 -*-
00010 
00011 /* gstreamermm - a C++ wrapper for gstreamer
00012  *
00013  * Copyright 2008 The gstreamermm Development Team
00014  *
00015  * This library is free software; you can redistribute it and/or
00016  * modify it under the terms of the GNU Library General Public
00017  * License as published by the Free Software Foundation; either
00018  * version 2 of the License, or (at your option) any later version.
00019  *
00020  * This library is distributed in the hope that it will be useful,
00021  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00022  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00023  * Library General Public License for more details.
00024  *
00025  * You should have received a copy of the GNU Library General Public
00026  * License along with this library; if not, write to the Free
00027  * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
00028  */
00029 
00030 #include <gst/interfaces/xoverlay.h>
00031 #include <glibmm/interface.h>
00032 
00033 
00034 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00035 typedef struct _GstXOverlay GstXOverlay;
00036 typedef struct _GstXOverlayClass GstXOverlayClass;
00037 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
00038 
00039 
00040 namespace GstBase
00041 { class XOverlay_Class; } // namespace GstBase
00042 namespace GstBase
00043 {
00044 
00116 class XOverlay : public Glib::Interface
00117 {
00118   
00119 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00120 
00121 public:
00122   typedef XOverlay CppObjectType;
00123   typedef XOverlay_Class CppClassType;
00124   typedef GstXOverlay BaseObjectType;
00125   typedef GstXOverlayClass BaseClassType;
00126 
00127 private:
00128   friend class XOverlay_Class;
00129   static CppClassType xoverlay_class_;
00130 
00131   // noncopyable
00132   XOverlay(const XOverlay&);
00133   XOverlay& operator=(const XOverlay&);
00134 
00135 protected:
00136   XOverlay(); // you must derive from this class
00137 
00144   explicit XOverlay(const Glib::Interface_Class& interface_class);
00145 
00146 public:
00147   // This is public so that C++ wrapper instances can be
00148   // created for C instances of unwrapped types.
00149   // For instance, if an unexpected C type implements the C interface. 
00150   explicit XOverlay(GstXOverlay* castitem);
00151 
00152 protected:
00153 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
00154 
00155 public:
00156   virtual ~XOverlay();
00157 
00158   static void add_interface(GType gtype_implementer);
00159 
00160 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00161   static GType get_type()      G_GNUC_CONST;
00162   static GType get_base_type() G_GNUC_CONST;
00163 #endif
00164 
00166   GstXOverlay*       gobj()       { return reinterpret_cast<GstXOverlay*>(gobject_); }
00167 
00169   const GstXOverlay* gobj() const { return reinterpret_cast<GstXOverlay*>(gobject_); }
00170 
00171 private:
00172 
00173 
00174 public:
00175   
00182   void set_xwindow_id(gulong xwindow_id);
00183   
00189   void got_xwindow_id(gulong xwindow_id);
00190   
00198   void prepare_xwindow_id();
00199   
00203   void expose();
00204   
00212   void handle_events(bool handle_events);
00213 
00214 
00215 public:
00216 
00217 public:
00218   //C++ methods used to invoke GTK+ virtual functions:
00219 #ifdef GLIBMM_VFUNCS_ENABLED
00220 #endif //GLIBMM_VFUNCS_ENABLED
00221 
00222 protected:
00223   //GTK+ Virtual Functions (override these to change behaviour):
00224 #ifdef GLIBMM_VFUNCS_ENABLED
00225 #endif //GLIBMM_VFUNCS_ENABLED
00226 
00227   //Default Signal Handlers::
00228 #ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00229 #endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00230 
00231 
00232 };
00233 
00234 } // namespace GstBase
00235 
00236 
00237 namespace Glib
00238 {
00247   Glib::RefPtr<GstBase::XOverlay> wrap(GstXOverlay* object, bool take_copy = false);
00248 
00249 } // namespace Glib
00250 
00251 
00252 #endif /* _GSTREAMERBASEMM_XOVERLAY_H */
00253 

Generated on Sun Jul 27 17:07:20 2008 for gstreamermm by  doxygen 1.5.4