From 3a7ac54b8d3a97d09aab64d20d0f3f6f8b1c65c6 Mon Sep 17 00:00:00 2001 From: Kolan Sh Date: Sun, 14 Feb 2016 14:27:32 +0300 Subject: [PATCH] In progress... --- src/main.vala | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main.vala b/src/main.vala index d8a520f..7d7fd00 100644 --- a/src/main.vala +++ b/src/main.vala @@ -33,8 +33,9 @@ public class PluginObjectExample : PluginObject { */ public override string get_readable_name () { stdout.puts ("PluginObjectExample.get_readable_name () called\n"); - stdout.puts ("Call IHostCore.any_host_method () from PluginObjectExample:\n "); - (host as IHostCore).any_host_method (); + stdout.puts ("Call IHostCore.get_cache_dir () from PluginObjectExample:\n "); + var cache_dir = (host as IHostCore).get_cache_dir (); + stdout.printf ("cache dir = %s\n", cache_dir); return _("Protocol Object Example"); } }