2
from zope.interface import implements
4
from twisted.lore.scripts.lore import IProcessor
5
from twisted.plugin import IPlugin
7
class _LorePlugin(object):
8
implements(IPlugin, IProcessor)
10
def __init__(self, name, moduleName, description):
12
self.moduleName = moduleName
13
self.description = description
15
DefaultProcessor = _LorePlugin(
17
"twisted.lore.default",
20
MathProcessor = _LorePlugin(
23
"Lore format with LaTeX formula")
25
SlideProcessor = _LorePlugin(
27
"twisted.lore.slides",
30
ManProcessor = _LorePlugin(
32
"twisted.lore.man2lore",
35
NevowProcessor = _LorePlugin(
37
"twisted.lore.nevowlore",