| libdexterplugin Reference Manual |
|---|
Below are some guidelines for implementing plugins for Libdexter.
dexterplugin.pc pkg-config file:
pkg-config --cflags --libs dexterplugin.
pkg-config --variable=plugin_libdir dexterplugin.
pkg-config --variable=plugin_includedir dexterplugin.
dxt-<yourplugin>.
dexter_plugin_init () - registers the plugin's services (types)
with the GType system.
dexter_plugin_exit () - performs any cleanup that may be required
when the module unloads.dexter_plugin_get_services () - returns a
DexterPluginServiceGroup describing all services that this plugin registers.
dxt-<yourplugin>-public.h and install it in the directory indicated by
pkg-config --variable=plugin_includedir dexterplugin. For example:
/usr/include/
./dexterpublic/
./dxt-yourplugin-public.h
dxt-<yourplugin> under the directory indicated by
pkg-config --variable=plugin_includedir dexterplugin and install your headers
there. For example:
/usr/include/
./dexterpublic/
./dxt-yourplugin/
./service1-public.h
./service2-public.h