29 const Cc = Components.classes;
30 const Ci = Components.interfaces;
31 const Cr = Components.results
55 function SBTimer(aFunc,
aDelay, aType) {
57 this.
_timer =
Cc[
"@mozilla.org/timer;1"].createInstance(
Ci.nsITimer);
60 this._timerFunc = aFunc;
88 cancel:
function SBTimer_cancel() {
91 this._timerFunc =
null;
101 setDelay:
function SBTimer_setDelay(
aDelay) {
116 observe:
function SBTimer_observe(aSubject, aTopic,
aData) {
118 this._timerFunc.apply(
null);
sbDeviceFirmwareAutoCheckForUpdate prototype _timer
_updateTextAndScrollDataForFrame aData
sbDeviceFirmwareAutoCheckForUpdate prototype observe