31 lines
564 B
Python
31 lines
564 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, type, path, opt
|
|
name = "test"
|
|
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")
|
|
pass
|
|
|
|
|
|
# Called when the plugin needs to perform some action
|
|
def run():
|
|
pass
|