Re: External "so" module.



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



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]