1 /* See license.txt for terms of usage */ 2 3 define([ 4 "firebug/lib/deprecated", 5 ], 6 function(Deprecated) { 7 8 // ********************************************************************************************* // 9 10 // xxxFlorent: used in extension/content/firebug/bti/inProcess/javascripttool.js 11 // so it should be moved in that file since that is only used there (I hope :s) 12 13 var FirebugTool = function(name) 14 { 15 this.toolName = name; 16 this.active = false; 17 }; 18 19 FirebugTool.prototype = 20 { 21 getName: function() 22 { 23 return this.toolName; 24 }, 25 getActive: function() 26 { 27 return this.active; 28 }, 29 setActive: function(active) 30 { 31 this.active = !!active; 32 } 33 } 34 // ********************************************************************************************* // 35 36 return FirebugTool; 37 38 // ********************************************************************************************* // 39 }); 40