Deterministically order plugins, create cross-plugin call mechanism
authorChip Black <bytex64@bytex64.net>
Tue, 9 Jun 2009 08:49:59 +0000 (03:49 -0500)
committerChip Black <bytex64@bytex64.net>
Tue, 9 Jun 2009 08:49:59 +0000 (03:49 -0500)
commit02acfc22dbfa3d145d265157fdf616a950fa30c6
tree02ef4337cc5cc4837eb1c62975bed53d6fc4eaf0
parentac127998500aa775484054cffa889098b3fd6a7b
Deterministically order plugins, create cross-plugin call mechanism

Added a PluginManager.Call(function_name, ...) that allows plugins to
call functions by name.  The plugin manager searches all plugins for
functions matching the name and signature of the arguments, then calls
each in turn.  It in effect creates a simple message-passing system
where callers and callees are anonymous.

Added DeleteSession() to Session, and modified Vimish's command-line to
use the above Call system for non-internal functions.
PluginManager.cs
plugins/Session.cs
plugins/Vimish.cs