Added base class AIStateMachine.

This is the skeleton needed to implement classes that can be reused and
work together, which can perform asynchronous tasks (read: need to wait
for certain events before they can continue).

An example would be the task of waiting for a given inventory folder to
be read. This could then be used to improve the builtin AO
(automatically reading that folder when a notecard is dropped, and
continuing when the whole folder is read).

It's first use will be communication with a filepicker that runs
in a plugin.
This commit is contained in:
Aleric Inglewood
2011-05-05 16:34:38 +02:00
parent 474acdbff9
commit f6b57d956d
12 changed files with 757 additions and 6 deletions

View File

@@ -116,6 +116,7 @@ extern CWD_API channel_ct primbackup;
extern CWD_API channel_ct gtk;
extern CWD_API channel_ct sdl;
extern CWD_API channel_ct backtrace;
extern CWD_API channel_ct statemachine;
#endif