Revision: 14561 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=14561&view=rev Author: vszakats Date: 2010-05-24 07:50:59 +0000 (Mon, 24 May 2010)
Log Message: ----------- 2010-05-24 09:48 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * utils/hbmk2/hbmk2.prg + utils/hbmk2/examples/plug_moc.prg + Added experimental plugin system. Plugins are written in .prg or .hrb and can be passed using '-plug=<.prg|.hrb>' option or simply by passing '.hrb' filename from cmdline or .hbp/.hbm files. Plugin names without dir component will be searched in local dir, hbmk2 dir then PATH. For the details of the calling protocol and available hbmk2 API calls and variables, pls check the example and hbmk2 source code. Plugin is called from several build stages, in case of multiple plugins all of them are called at each stage. The plugin receives the stage name, hbmk2 context and a hash table for custom variables. The variables are shared between stages and plugins. Notice that hbmk2 isn't hbrun, so there is a limited set of the Harbour language which you can use, this also ensures that the plugins will behave like hbmk2 itself for the most part. Nothing is finalized. ; The example is the working replica of moc detection logic found inside hbqt. Modified Paths: -------------- trunk/harbour/ChangeLog trunk/harbour/utils/hbmk2/hbmk2.prg Added Paths: ----------- trunk/harbour/utils/hbmk2/examples/plug_moc.prg This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. _______________________________________________ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour