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


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

/* applicationaddin.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/application.h>

#include <glibmm/interface.h>

#include <ide.h>


#ifndef DOXYGEN_SHOULD_SKIP_THIS
using IdeApplicationAddin = struct _IdeApplicationAddin;
using IdeApplicationAddinClass = struct _IdeApplicationAddinClass;
#endif /* DOXYGEN_SHOULD_SKIP_THIS */


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

namespace Ide {


class ApplicationAddin : public Glib::Interface
{
  
#ifndef DOXYGEN_SHOULD_SKIP_THIS

public:
  using CppObjectType = ApplicationAddin;
  using CppClassType = ApplicationAddin_Class;
  using BaseObjectType = IdeApplicationAddin;
  using BaseClassType = IdeApplicationAddinInterface;

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

private:
  friend class ApplicationAddin_Class;
  static CppClassType applicationaddin_class_;

#endif /* DOXYGEN_SHOULD_SKIP_THIS */
protected:
  /**
   * You should derive from this class to use it.
   */
  ApplicationAddin();

#ifndef DOXYGEN_SHOULD_SKIP_THIS
  /** Called by constructors of derived classes. Provide the result of
   * the Class init() function to ensure that it is properly
   * initialized.
   *
   * @param interface_class The Class object for the derived type.
   */
  explicit ApplicationAddin(const Glib::Interface_Class& interface_class);

public:
  // This is public so that C++ wrapper instances can be
  // created for C instances of unwrapped types.
  // For instance, if an unexpected C type implements the C interface.
  explicit ApplicationAddin(IdeApplicationAddin* castitem);

protected:
#endif /* DOXYGEN_SHOULD_SKIP_THIS */

public:

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

  ~ApplicationAddin() noexcept override;

  static void add_interface(GType gtype_implementer);

  /** 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.
  IdeApplicationAddin*       gobj()       { return reinterpret_cast<IdeApplicationAddin*>(gobject_); }

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

private:


public:
  
  /** This interface method is called when the application is started or
   * the plugin has just been activated.
   * 
   * Use this to setup code in your plugin that needs to be loaded once
   * per application process.
   * 
   * @param application An Ide::Application.
   */
  void load(const Glib::RefPtr<Ide::Application>& application);
  
  /** This interface method is called when the application is started or
   * the plugin has just been activated.
   * 
   * Use this to setup code in your plugin that needs to be loaded once
   * per application process.
   * 
   * @param application An Ide::Application.
   */
  void unload(const Glib::RefPtr<Ide::Application>& application);

    virtual void load_vfunc(const Glib::RefPtr<Ide::Application>& application);

    virtual void unload_vfunc(const Glib::RefPtr<Ide::Application>& application);


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

} // namespace Glib


#endif /* _IDEMM_APPLICATIONADDIN_H */

