Class: GOffice::PluginService

Inherits:
Object
  • Object
show all
Defined in:
(unknown)

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(plugin, tree, ret_error) ⇒ GOffice::PluginService

Parameters:

  • plugin (GOffice::Plugin)
  • tree (libxml2::Node)
  • ret_error (GOffice::ErrorInfo)

Class Method Details

.define(type_str, ctor) ⇒ nil

Allow the definition of new service types

Parameters:

  • type_str (String) —

    char const *

  • ctor (GOffice::PluginServiceCreate) —

    GOPlugin::ServiceCreate

Returns:

  • (nil)

Instance Method Details

#activate(ret_error) ⇒ nil

Parameters:

  • ret_error (GOffice::ErrorInfo)

Returns:

  • (nil)

#cbs ⇒ GObject

Returns the callbacks for the service.

Returns:

  • (GObject) —

    the callbacks for the service

#deactivate(ret_error) ⇒ nil

Parameters:

  • ret_error (GOffice::ErrorInfo)

Returns:

  • (nil)

#description ⇒ String

Returns:

  • (String)

#id ⇒ String

Returns:

  • (String)

#load(ret_error) ⇒ nil

Parameters:

  • ret_error (GOffice::ErrorInfo)

Returns:

  • (nil)

#plugin ⇒ GOffice::Plugin

Returns the plugin offering service.

Returns:

#plugin_loader_generate_type(ret_error) ⇒ GLib::Type

Parameters:

  • ret_error (GOffice::ErrorInfo)

Returns:

  • (GLib::Type)

#unload(ret_error) ⇒ nil

Parameters:

  • ret_error (GOffice::ErrorInfo)

Returns:

  • (nil)