// Generated by gmmproc 2.50.0 -- DO NOT MODIFY!
#ifndef _IDEMM_BACKFORWARDLIST_H
#define _IDEMM_BACKFORWARDLIST_H


#include <glibmm/ustring.h>
#include <sigc++/sigc++.h>

/* backforwardlist.hg
 *
 * Copyright (C) 2016 Marcin Kolny <marcin.kolny@gmail.com>
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program 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 General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */

#include <idemm/object.h>

#include <ide.h>


#ifndef DOXYGEN_SHOULD_SKIP_THIS
#endif /* DOXYGEN_SHOULD_SKIP_THIS */


#ifndef DOXYGEN_SHOULD_SKIP_THIS
namespace Ide
{ class BackForwardList_Class; } // namespace Ide
#endif //DOXYGEN_SHOULD_SKIP_THIS

namespace Ide {


class BackForwardList : public Ide::Object
{
protected:
  
#ifndef DOXYGEN_SHOULD_SKIP_THIS

public:
  using CppObjectType = BackForwardList;
  using CppClassType = BackForwardList_Class;
  using BaseObjectType = IdeBackForwardList;
  using BaseClassType = IdeBackForwardListClass;

  // noncopyable
  BackForwardList(const BackForwardList&) = delete;
  BackForwardList& operator=(const BackForwardList&) = delete;

private:  friend class BackForwardList_Class;
  static CppClassType backforwardlist_class_;

protected:
  explicit BackForwardList(const Glib::ConstructParams& construct_params);
  explicit BackForwardList(IdeBackForwardList* castitem);

#endif /* DOXYGEN_SHOULD_SKIP_THIS */

public:

  BackForwardList(BackForwardList&& src) noexcept;
  BackForwardList& operator=(BackForwardList&& src) noexcept;

  ~BackForwardList() noexcept override;

  /** Get the GType for this class, for use with the underlying GObject type system.
   */
  static GType get_type()      G_GNUC_CONST;

#ifndef DOXYGEN_SHOULD_SKIP_THIS


  static GType get_base_type() G_GNUC_CONST;
#endif

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

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

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

private:

  
public:
  
  void go_backward();
  
  void go_forward();
  
  void get_can_go_backward() const;
  
  void get_can_go_forward() const;
  
  /** Branches @a self into a newly created Ide::BackForwardList.
   * 
   * This can be used independently and then merged back into a global
   * Ide::BackForwardList. This can be useful in situations where you have
   * multiple sets of editors.
   * 
   * @return An Ide::BackForwardList.
   */
  Glib::RefPtr<Ide::BackForwardList> branch();
  
  void merge(const Glib::RefPtr<Ide::BackForwardList>& branch);

  /** If there are more backward navigation items.
   *
   * @return A PropertyProxy_ReadOnly that allows you to get the value of the property,
   * or receive notification when the value of the property changes.
   */
  Glib::PropertyProxy_ReadOnly< bool > property_can_go_backward() const;


  /** If there are more forward navigation items.
   *
   * @return A PropertyProxy_ReadOnly that allows you to get the value of the property,
   * or receive notification when the value of the property changes.
   */
  Glib::PropertyProxy_ReadOnly< bool > property_can_go_forward() const;


  /** The current navigation item.
   *
   * @return A PropertyProxy_ReadOnly that allows you to get the value of the property,
   * or receive notification when the value of the property changes.
   */
  Glib::PropertyProxy_ReadOnly< Glib::RefPtr<Ide::Object> > property_current_item() const;


public:

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

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

  //Default Signal Handlers::


};

}


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 Ide::BackForwardList
   */
  Glib::RefPtr<Ide::BackForwardList> wrap(IdeBackForwardList* object, bool take_copy = false);
}


#endif /* _IDEMM_BACKFORWARDLIST_H */

