1
0
Fork 0

In progress...

This commit is contained in:
Kolan Sh 2016-04-01 04:07:20 +03:00
parent 5fb2b09bbc
commit d403ba88e0
2 changed files with 7 additions and 5 deletions

@ -1 +1 @@
Subproject commit 53f0f093c4f1332154d792891ef645d036473302
Subproject commit 355033400ccb74b433aca1ec0dfb2b68b1902c17

View File

@ -11,6 +11,7 @@ public class PluginDataExample : PluginData {
* Constructs a new ``PluginDataExample``.
*/
construct {
// Initialize the data object, open database connection for example.
stdout.puts ("PluginDataExample init () called\n");
}
@ -18,6 +19,7 @@ public class PluginDataExample : PluginData {
* Destroys the ``PluginDataExample``.
*/
~PluginDataExample () {
// Deinitialize the data object, close database connection for example.
stdout.puts ("PluginDataExample deinit () called\n");
}
@ -32,10 +34,10 @@ public class PluginDataExample : PluginData {
* Any abstract method realization for PluginData.
*/
public override string get_readable_name () {
stdout.puts ("PluginDataExample.get_readable_name () called\n");
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);
//stdout.puts ("PluginDataExample.get_readable_name () called\n");
//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");
}
}