ocarina/src/core/tools/library.py

31 lines
597 B
Python

# This is a simple test plugin, to make sure everything is working
__author__="bjschuma"
__date__ ="$Dec 21, 2009 8:43:01 PM$"
global name, app, type, path, opt
name = "library"
app = "ocarina"
type = "core"
path = ""
opt = []
from bt.message import write
# Called every time the plugin is enabled
def open():
write("Example plugin has been started",True)
#write("Example plugin has been changed",True)
# Called every time the plugin is stopped
def close():
write("Example plugin has been stopped",True)
# Called when the plugin needs to perform some action
def run(args=None):
pass