In progress...
This commit is contained in:
parent
74be658bab
commit
5113716084
|
@ -5,20 +5,20 @@ extern const string GETTEXT_PACKAGE;
|
||||||
/**
|
/**
|
||||||
* Plugin of type A1.
|
* Plugin of type A1.
|
||||||
*/
|
*/
|
||||||
public class PluginProtocolObjectExample : PluginProtocolObject {
|
public class PluginObjectExample : PluginObject {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Constructs a new ``PluginProtocolObjectExample``.
|
* Constructs a new ``PluginObjectExample``.
|
||||||
*/
|
*/
|
||||||
construct {
|
construct {
|
||||||
stdout.puts ("PluginProtocolObjectExample init () called\n");
|
stdout.puts ("PluginObjectExample init () called\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Destroys the ``PluginProtocolExample``.
|
* Destroys the ``PluginProtocolExample``.
|
||||||
*/
|
*/
|
||||||
~PluginProtocolObjectExample () {
|
~PluginObjectExample () {
|
||||||
stdout.puts ("PluginProtocolObjectExample deinit () called\n");
|
stdout.puts ("PluginObjectExample deinit () called\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -32,8 +32,8 @@ public class PluginProtocolObjectExample : PluginProtocolObject {
|
||||||
* Gets readable name of the plugin.
|
* Gets readable name of the plugin.
|
||||||
*/
|
*/
|
||||||
public override string get_readable_name () {
|
public override string get_readable_name () {
|
||||||
stdout.puts ("PluginProtocolObjectExample.get_readable_name () called\n");
|
stdout.puts ("PluginObjectExample.get_readable_name () called\n");
|
||||||
stdout.puts ("Call IHostCore.any_host_method () from PluginProtocolObjectExample:\n ");
|
stdout.puts ("Call IHostCore.any_host_method () from PluginObjectExample:\n ");
|
||||||
(host as IHostCore).any_host_method ();
|
(host as IHostCore).any_host_method ();
|
||||||
return _("Protocol Object Example");
|
return _("Protocol Object Example");
|
||||||
}
|
}
|
||||||
|
@ -41,5 +41,5 @@ public class PluginProtocolObjectExample : PluginProtocolObject {
|
||||||
|
|
||||||
[ModuleInit]
|
[ModuleInit]
|
||||||
Type plugin_init (GLib.TypeModule type_module) {
|
Type plugin_init (GLib.TypeModule type_module) {
|
||||||
return typeof (PluginProtocolObjectExample);
|
return typeof (PluginObjectExample);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue