In progress...
This commit is contained in:
parent
1c6ac9a6d3
commit
c13853fb4a
|
@ -21,13 +21,21 @@ public class PluginDataExample : PluginData {
|
|||
stdout.puts ("PluginDataExample deinit () called\n");
|
||||
}
|
||||
|
||||
/**
|
||||
* Get plugin name.
|
||||
*/
|
||||
public override string get_name () {
|
||||
return "DataExample";
|
||||
}
|
||||
|
||||
/**
|
||||
* Any abstract method realization for PluginData.
|
||||
*/
|
||||
public override string get_readable_name () {
|
||||
stdout.puts ("PluginDataExample.get_readable_name () called\n");
|
||||
stdout.puts ("Call IHostCore.any_host_method () from PluginDataExample:\n ");
|
||||
(host as IHostCore).any_host_method ();
|
||||
stdout.puts ("Call IHostCore.get_cache_dir () from PluginDataExample:\n ");
|
||||
var cache_dir = (host as IHostCore).get_cache_dir ();
|
||||
stdout.printf ("cache_dir = %s\n", cache_dir);
|
||||
return _("Data Example");
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue