// -*- c++ -*- // Generated by gtkmmproc -- DO NOT MODIFY! #ifndef _BONOBOMM_SERVERS_LISTENER_H #define _BONOBOMM_SERVERS_LISTENER_H #include /* $Id: listener.hg,v 1.5 2002/10/12 21:53:18 murrayc Exp $ */ /* color.h * * Copyright (C) 1998-1999 The gtkmm Development Team * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License as published by the Free Software Foundation; either * version 2 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Library General Public License for more details. * * You should have received a copy of the GNU Library General Public * License along with this library; if not, write to the Free * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #include #include #include #ifndef DOXYGEN_SHOULD_SKIP_THIS #endif /* DOXYGEN_SHOULD_SKIP_THIS */ namespace Gnome { namespace Bonobo { namespace Servers { class Listener_Class; } // namespace Servers } // namespace Bonobo } // namespace Gnome namespace Gnome { namespace Bonobo { namespace Servers { class Listener : public Bonobo::Servers::Unknown_CImpl, public virtual ::POA_Bonobo::Listener { public: #ifndef DOXYGEN_SHOULD_SKIP_THIS typedef Listener CppObjectType; typedef Listener_Class CppClassType; typedef BonoboListener BaseObjectType; typedef BonoboListenerClass BaseClassType; private: friend class Listener_Class; static CppClassType listener_class_; Listener(const Listener&); Listener& operator=(const Listener&); // not implemented protected: explicit Listener(BonoboListener* castitem); #endif /* DOXYGEN_SHOULD_SKIP_THIS */ ::Bonobo::Listener_var corbaref_; public: virtual ~Listener(); static Glib::RefPtr wrap_specific_type(BonoboListener* gobject, bool take_copy = false); //Re-uses the existing wrapper, if it exists. #ifndef DOXYGEN_SHOULD_SKIP_THIS static GType get_type() G_GNUC_CONST; static GType get_base_type() G_GNUC_CONST; #endif /* DOXYGEN_SHOULD_SKIP_THIS */ BonoboListener* gobj() { return (BonoboListener*)(gobject_); } const BonoboListener* gobj() const { return (BonoboListener*)(gobject_); } BonoboListener* gobj_copy(); public: //C++ methods used to invoke GTK+ virtual functions: protected: //GTK+ Virtual Functions (override these to change behaviour): //Default Signal Handlers:: private: public: void event(char const * event_name, const CORBA::Any & args) throw(CORBA::SystemException); void unImplemented() throw(CORBA::SystemException); void unImplemented2() throw(CORBA::SystemException); }; } //namespace Servers } //namespace Bonobo } //namespace Gnome namespace Glib { /** @relates Gnome::Bonobo::Servers::Listener */ Glib::RefPtr wrap(BonoboListener* object, bool take_copy = false); } #endif /* _BONOBOMM_SERVERS_LISTENER_H */