Commit:


Subject: Commit:
From: Dom Lachowicz (cinamod@hotmail.com)
Date: Mon Apr 30 2001 - 20:19:44 CDT


1) I've committed Jamie's BeOS stuff. Good work dude!
2) A fix for UT_tmpnam using mkstemp (unix only)
3) I've drawn up and implemented a new module/plugin architecture.

It should work on all of our supported platforms. We now have:

1) A (singleton) module loader/factory/manager class
2) A module class representing a DLL/SO/whatever

To actually make a plugin work inside of abiword, you'll need to define 3
functions with C linkage (extern "C"):

int abi_plugin_register (XAP_ModuleInfo *);
int abi_plugin_unregister (XAP_ModuleInfo *);
int abi_plugin_supports_version (UT_uint32 major, UT_uint32 minor, UT_uint32
release);

I've done almost all of the legwork needed to get plugins working now. If
anyone is serious about this, come talk to me.

Dom

CVS: ----------------------------------------------------------------------
CVS: Enter Log. Lines beginning with `CVS:' are removed automatically
CVS:
CVS: Committing in .
CVS:
CVS: Modified Files:
CVS: src/af/ev/beos/ev_BeOSMenu.cpp
CVS: src/af/ev/beos/ev_BeOSToolbar.cpp
CVS: src/af/ev/beos/ev_BeOSToolbar.h
CVS: src/af/gr/beos/gr_BeOSGraphics.cpp
CVS: src/af/gr/beos/gr_BeOSGraphics.h
CVS: src/af/util/beos/ut_Xpm2Bitmap.cpp
CVS: src/af/util/unix/ut_unixString.cpp src/af/util/xp/ut_string.h
CVS: src/af/xap/Makefile src/af/xap/beos/be_GRDrawView.cpp
CVS: src/af/xap/beos/xap_BeOSApp.h
CVS: src/af/xap/beos/xap_BeOSFrame.cpp
CVS: src/af/xap/beos/xap_BeOSModule.cpp
CVS: src/af/xap/beos/xap_BeOSModule.h src/af/xap/mac/xap_MacApp.h
CVS: src/af/xap/mac/xap_MacModule.cpp
CVS: src/af/xap/mac/xap_MacModule.h src/af/xap/qnx/xap_QNXApp.h
CVS: src/af/xap/qnx/xap_QNXModule.cpp
CVS: src/af/xap/qnx/xap_QNXModule.h src/af/xap/unix/xap_UnixApp.h
CVS: src/af/xap/unix/xap_UnixModule.cpp
CVS: src/af/xap/unix/xap_UnixModule.h
CVS: src/af/xap/win/xap_Win32App.cpp src/af/xap/win/xap_Win32App.h
CVS: src/af/xap/win/xap_Win32Module.cpp
CVS: src/af/xap/win/xap_Win32Module.h src/af/xap/xp/Makefile
CVS: src/af/xap/xp/xap_App.h src/af/xap/xp/xap_Module.h
CVS: src/wp/ap/beos/ap_BeOSDialog_Spell.cpp
CVS: src/wp/ap/beos/ap_BeOSDialog_Tab.h
CVS: src/wp/ap/beos/ap_BeOSFrame.cpp src/wp/ap/beos/ap_BeOSFrame.h
CVS: src/wp/ap/unix/abiwidget.cpp src/wp/ap/xp/ap_EditMethods.cpp
CVS: src/wp/impexp/xp/ie_imp_MsWord_97.cpp
CVS: Added Files:
CVS: src/af/xap/xp/xap_Module.cpp
CVS: src/af/xap/xp/xap_ModuleManager.cpp
CVS: src/af/xap/xp/xap_ModuleManager.h
CVS: ----------------------------------------------------------------------
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com



This archive was generated by hypermail 2b25 : Mon Apr 30 2001 - 20:19:52 CDT