Plugin stuff

I;m thinking of making a plugin, but I have a couple of questions:

1. Does someone have a codewarrior version of the sample plugin project, or at least know what it would have in it?

2. Is there any documentation, official or otherwise about making plugins?

3. Can a plugin access a runtime library?

any help whould be greatly appreciated.

"What do you want for Chrismas?"
"World peace"
"how about a ducky?"
"That was my second Choice."
—a car commercial