blob: 26f87661bc793c7958783684534d68b13fc20212 [file] [log] [blame]
/*
* weinre is available under *either* the terms of the modified BSD license *or* the
* MIT License (2008). See http://opensource.org/licenses/alphabetical for full text.
*
* Copyright (c) 2010, 2011 IBM Corporation
*/
require ./IDLTools
//-----------------------------------------------------------------------------
//
//-----------------------------------------------------------------------------
class Weinre
throw new Error("this class is not intended to be instantiated")
//-----------------------------------------------------------------------------
//
//-----------------------------------------------------------------------------
static method addIDLs(idls)
IDLTools.addIDLs(idls)
//-----------------------------------------------------------------------------
//
//-----------------------------------------------------------------------------
static
var _notImplemented = {}
var _showNotImplemented = false
//-----------------------------------------------------------------------------
//
//-----------------------------------------------------------------------------
static method notImplemented(thing)
if (_notImplemented[thing]) return
_notImplemented[thing] = true
if (!_showNotImplemented) return
console.log(thing + " not implemented")
//-----------------------------------------------------------------------------
//
//-----------------------------------------------------------------------------
static method showNotImplemented()
_showNotImplemented = true
for (var key in _notImplemented) {
console.log(key + " not implemented")
}