// -*- c++ -*-
// Generated by gtkmmproc -- DO NOT MODIFY!
#ifndef _CLUTTERMM_CHILDMETA_H
#define _CLUTTERMM_CHILDMETA_H


#include <glibmm.h>

/*
 * Copyright (c) 2009  The cluttermm Development Team
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser 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
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library. If not, see <http://www.gnu.org/licenses/>.
 */

#include <glibmm/object.h>
#include <glibmm/refptr.h>


#ifndef DOXYGEN_SHOULD_SKIP_THIS
typedef struct _ClutterChildMeta ClutterChildMeta;
typedef struct _ClutterChildMetaClass ClutterChildMetaClass;
#endif /* DOXYGEN_SHOULD_SKIP_THIS */


namespace Clutter
{ class ChildMeta_Class; } // namespace Clutter
namespace Clutter
{

class Actor;
class Container;


class ChildMeta : public Glib::Object
{
  
#ifndef DOXYGEN_SHOULD_SKIP_THIS

public:
  typedef ChildMeta CppObjectType;
  typedef ChildMeta_Class CppClassType;
  typedef ClutterChildMeta BaseObjectType;
  typedef ClutterChildMetaClass BaseClassType;

private:  friend class ChildMeta_Class;
  static CppClassType childmeta_class_;

private:
  // noncopyable
  ChildMeta(const ChildMeta&);
  ChildMeta& operator=(const ChildMeta&);

protected:
  explicit ChildMeta(const Glib::ConstructParams& construct_params);
  explicit ChildMeta(ClutterChildMeta* castitem);

#endif /* DOXYGEN_SHOULD_SKIP_THIS */

public:
  virtual ~ChildMeta();

#ifndef DOXYGEN_SHOULD_SKIP_THIS
  static GType get_type()      G_GNUC_CONST;


  static GType get_base_type() G_GNUC_CONST;
#endif

  ///Provides access to the underlying C GObject.
  ClutterChildMeta*       gobj()       { return reinterpret_cast<ClutterChildMeta*>(gobject_); }

  ///Provides access to the underlying C GObject.
  const ClutterChildMeta* gobj() const { return reinterpret_cast<ClutterChildMeta*>(gobject_); }

  ///Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs.
  ClutterChildMeta* gobj_copy();

private:

protected:
  ChildMeta(const Glib::RefPtr<Container>& container, const Glib::RefPtr<Actor>& actor);

public:
  
  /** Retrieves the container using @a data
   * 
   * @newin{0,8}
   * @return A Clutter::Container.
   */
  Glib::RefPtr<Container> get_container();
  
  /** Retrieves the container using @a data
   * 
   * @newin{0,8}
   * @return A Clutter::Container.
   */
  Glib::RefPtr<const Container> get_container() const;
  
  /** Retrieves the actor wrapped by @a data
   * 
   * @newin{0,8}
   * @return A Clutter::Actor.
   */
  Glib::RefPtr<Actor> get_actor();
  
  /** Retrieves the actor wrapped by @a data
   * 
   * @newin{0,8}
   * @return A Clutter::Actor.
   */
  Glib::RefPtr<const Actor> get_actor() const;

  #ifdef GLIBMM_PROPERTIES_ENABLED
/** The container that created this data.
   *
   * You rarely need to use properties because there are get_ and set_ methods for almost all of them.
   * @return A PropertyProxy that allows you to get or set the property of the value, or receive notification when
   * the value of the property changes.
   */
  Glib::PropertyProxy_ReadOnly< Glib::RefPtr<Container> > property_container() const;
#endif //#GLIBMM_PROPERTIES_ENABLED


  #ifdef GLIBMM_PROPERTIES_ENABLED
/** The actor wrapped by this data.
   *
   * You rarely need to use properties because there are get_ and set_ methods for almost all of them.
   * @return A PropertyProxy that allows you to get or set the property of the value, or receive notification when
   * the value of the property changes.
   */
  Glib::PropertyProxy_ReadOnly< Glib::RefPtr<Actor> > property_actor() const;
#endif //#GLIBMM_PROPERTIES_ENABLED


public:

public:
  //C++ methods used to invoke GTK+ virtual functions:

protected:
  //GTK+ Virtual Functions (override these to change behaviour):

  //Default Signal Handlers::


};

} // namespace Clutter


namespace Glib
{
  /** A Glib::wrap() method for this object.
   * 
   * @param object The C instance.
   * @param take_copy False if the result should take ownership of the C instance. True if it should take a new copy or ref.
   * @result A C++ instance that wraps this C instance.
   *
   * @relates Clutter::ChildMeta
   */
  Glib::RefPtr<Clutter::ChildMeta> wrap(ClutterChildMeta* object, bool take_copy = false);
}


#endif /* _CLUTTERMM_CHILDMETA_H */

