ocarina/src/core/example.py

31 lines
591 B
Python

# This is a simple test plugin, to make sure everything is working
__author__="bjschuma"
__date__ ="$Dec 7, 2009 9:12:00 AM$"
global name, app, type, path, opt
name = "test"
app = "scion"
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