1
0
Fork 0

In progress...

This commit is contained in:
Kolan Sh 2016-02-14 14:27:32 +03:00
parent 5113716084
commit 3a7ac54b8d
1 changed files with 3 additions and 2 deletions

View File

@ -33,8 +33,9 @@ public class PluginObjectExample : PluginObject {
*/ */
public override string get_readable_name () { public override string get_readable_name () {
stdout.puts ("PluginObjectExample.get_readable_name () called\n"); stdout.puts ("PluginObjectExample.get_readable_name () called\n");
stdout.puts ("Call IHostCore.any_host_method () from PluginObjectExample:\n "); stdout.puts ("Call IHostCore.get_cache_dir () from PluginObjectExample:\n ");
(host as IHostCore).any_host_method (); var cache_dir = (host as IHostCore).get_cache_dir ();
stdout.printf ("cache dir = %s\n", cache_dir);
return _("Protocol Object Example"); return _("Protocol Object Example");
} }
} }