>
> Hi all,
>
> I would like to write a Mac OS X plugin for AbiWord. Where can I
> find documentation about this?
>
> Best Regards,
>
> Serge Thibault
src/abiword-plugins
//
-----------------------------------------------------------------------
//
// Abiword Plugin Interface
//
//
-----------------------------------------------------------------------
ABI_PLUGIN_DECLARE ("AbiMyPlug")
ABI_FAR_CALL
int abi_plugin_register (XAP_ModuleInfo * mi)
{
mi->name = "MyPlug plugin";
mi->desc = "MyPlug for AbiWord";
mi->version = ABI_VERSION_STRING;
mi->author = "MyPlug MyPlug";
mi->usage = "No Usage";
//your code ->>
return 1;
}
ABI_FAR_CALL
int abi_plugin_unregister (XAP_ModuleInfo * mi)
{
mi->name = 0;
mi->desc = 0;
mi->version = 0;
mi->author = 0;
mi->usage = 0;
//your code ->>
return 1;
}
ABI_FAR_CALL
int abi_plugin_supports_version (UT_uint32 major, UT_uint32 minor,
UT_uint32 release)
{
return 1;
}
Received on Mon Dec 12 17:12:57 2005
This archive was generated by hypermail 2.1.8 : Mon Dec 12 2005 - 17:12:57 CET