GObject-Plugin/test/loader_test-iface/LoaderTestInterface.vala

35 lines
520 B
Vala
Raw Normal View History

2014-09-19 11:04:31 +04:00
using GObject.Plugins;
2014-10-16 16:11:28 +04:00
/**
* Loader Host Interface.
*/
public interface IHostLoaderTest : IHost {
/**
* Any Host Method.
*/
public abstract void method_host ();
}
2014-09-19 11:04:31 +04:00
/**
* Abstract plugin of type A.
*/
public abstract class PluginTypeA: Plugin {
/**
2014-10-16 16:11:28 +04:00
* Any abstract method for PluginTypeA.
2014-09-19 11:04:31 +04:00
*/
2014-10-16 16:11:28 +04:00
public abstract void method_a ();
2014-09-19 11:04:31 +04:00
}
/**
* Abstract plugin of type B.
*/
public abstract class PluginTypeB : Plugin {
/**
2014-10-16 16:11:28 +04:00
* Any abstract method for PluginTypeB.
2014-09-19 11:04:31 +04:00
*/
2014-10-16 16:11:28 +04:00
public abstract string method_b ();
2014-09-19 11:04:31 +04:00
}