In progress...
This commit is contained in:
parent
773a15105c
commit
2a59b86a60
@ -1,6 +1,7 @@
|
|||||||
SET (PluginName laview-plugin-object-example-${MAJOR})
|
SET (PluginName laview-plugin-object-example-${MAJOR})
|
||||||
FILE (GLOB_RECURSE PluginSources RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} *.vala)
|
FILE (GLOB_RECURSE PluginSources RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} *.vala)
|
||||||
SET (PluginPackages gtk+-3.0 gee-0.8 gobject-plugin-iface-0 laview-core-iface-0 laview-core-0)
|
SET (PluginPackages gtk+-3.0 gee-0.8 gobject-plugin-iface-0 laview-core-iface-0 laview-core-0
|
||||||
|
laview-plugin-data-example-0)
|
||||||
SET (PluginPkgModules gtk+-3.0 gee-0.8 gobject-plugin-0 laview-core-0)
|
SET (PluginPkgModules gtk+-3.0 gee-0.8 gobject-plugin-0 laview-core-0)
|
||||||
SET (PluginCustomVapis ${CMAKE_SOURCE_DIR}/config/Config.vapi)
|
SET (PluginCustomVapis ${CMAKE_SOURCE_DIR}/config/Config.vapi)
|
||||||
INCLUDE_DIRECTORIES ("${CMAKE_BINARY_DIR}/config")
|
INCLUDE_DIRECTORIES ("${CMAKE_BINARY_DIR}/config")
|
||||||
|
@ -7,11 +7,14 @@ extern const string GETTEXT_PACKAGE;
|
|||||||
*/
|
*/
|
||||||
public class PluginObjectExample : PluginObject {
|
public class PluginObjectExample : PluginObject {
|
||||||
|
|
||||||
|
PluginDataExample data_obj_ex = null;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Constructs a new ``PluginObjectExample``.
|
* Constructs a new ``PluginObjectExample``.
|
||||||
*/
|
*/
|
||||||
construct {
|
construct {
|
||||||
stdout.puts ("PluginObjectExample init () called\n");
|
stdout.puts ("PluginObjectExample init () called\n");
|
||||||
|
data_obj_ex = (host as IHostCore).get_data_object ("DataExample") as PluginDataExample;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user