#!/usr/bin/env python #**************************************************************************** # globalref.py, provides accessible global variables for TreeLine # # TreeLine, an information storage program # Copyright (C) 2005, Douglas W. Bell # # This is free software; you can redistribute it and/or modify it under the # terms of the GNU General Public License, Version 2. This program is # distributed in the hope that it will be useful, but WITTHOUT ANY WARRANTY. #**************************************************************************** docRef = None options = None treeIcons = None pluginInterface = None lang = '' def dummyFunction(*args, **kw): """Placeholder for update callbacks, generally replaced with a real function reference""" pass updateViewAll = dummyFunction updateViewSelection = dummyFunction updateViewTree = dummyFunction updateViewTreeItem = dummyFunction # called with item parameter updateViewMenuStat = dummyFunction setStatusBar = dummyFunction # called with text and optional duration (ms)