ocarina/src/core/ocarina.py

38 lines
716 B
Python

#! /usr/bin/python
# To change this template, choose Tools | Templates
# and open the template in the editor.
__author__="bjschuma"
__date__ ="$Dec 21, 2009 9:18:52 PM$"
global name, app, type, path, opt
name = "ocarina"
app = "ocarina"
type = "core"
path = ""
opt = []
import settings
from bt.message import write
import bt.proc
from manager import manager
# Called every time the plugin is enabled
def open():
write("Ocarina has been started",True)
bt.proc.setname("Ocarina 2")
#write("Example plugin has been changed",True)
# Called every time the plugin is stopped
def close():
write("Ocarina has been stopped",True)
# Called when the plugin needs to perform some action
def run(args=None):
pass