2008-02-07 20:02:16 +00:00
|
|
|
"""
|
|
|
|
|
2008-03-04 01:08:01 +00:00
|
|
|
Base Plugin class
|
2008-02-07 20:02:16 +00:00
|
|
|
|
|
|
|
"""
|
|
|
|
|
2008-03-04 01:08:01 +00:00
|
|
|
class Plugin(Interface):
|
2008-02-07 20:02:16 +00:00
|
|
|
"Plugin type"
|
|
|
|
|
2008-03-04 01:08:01 +00:00
|
|
|
def __init__(self, mediaManager, *args, **kwargs):
|
|
|
|
"Plugin constructor called with mediaManager argument which allows adding to the
|
|
|
|
mediaManager - generally adding a page to mediaManager.Notebook"
|
|
|
|
|
|
|
|
def GetName():
|
|
|
|
"Return the plugins name for future plugin manager"
|
2008-02-07 20:02:16 +00:00
|
|
|
|
2008-03-04 01:08:01 +00:00
|
|
|
|
|
|
|
|
2008-02-07 20:02:16 +00:00
|
|
|
# vim: autoindent shiftwidth=4 expandtab textwidth=80
|