Thank you Pierre-Louis.
Is there any sample project that provide an external lib (to see how it deals
with finding the dia source tree... or is there any way to install dia headers)
?
Paul.
On 09/01/2011 07:26 PM, Pierre-Louis Bonicoli wrote:
On 01/09/2011 20:59, Paul Chavent wrote:
Hi
Is it possible to write an external "so" module, that could be
automatically loaded in dia if present in
/lib/dia/ ?
Thank you.
Paul.
Hi,
See dia_register_plugins function in lib/plug-ins.c file: you could use
$HOME/.dia/objects directory.
If environnement variable DIA_LIB_PATH is not defined Dia searches
plugins in /usr/lib/dia (see dia_get_lib_directory in lib/dia_dirs.c),
else Dia searches plugins in $DIA_LIB_PATH.
The built-in standard plugin ("libstandard_objects.so") is mandatory and
must always be loaded.
Pierre-Louis
_______________________________________________
dia-list mailing list
dia-list@gnome.org
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://live.gnome.org/Dia/Faq
Main page at http://live.gnome.org/Dia
_______________________________________________
dia-list mailing list
dia-list@gnome.org
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://live.gnome.org/Dia/Faq
Main page at http://live.gnome.org/Dia