michael@0: /* This Source Code Form is subject to the terms of the Mozilla Public michael@0: * License, v. 2.0. If a copy of the MPL was not distributed with this file, michael@0: * You can obtain one at http://mozilla.org/MPL/2.0/. */ michael@0: michael@0: "use strict"; michael@0: michael@0: const Ci = Components.interfaces; michael@0: const Cu = Components.utils; michael@0: michael@0: Cu.import("resource://gre/modules/XPCOMUtils.jsm"); michael@0: michael@0: function debug(aMsg) { michael@0: // dump("-- ActivityMessageConfigurator.js " + Date.now() + " : " + aMsg + "\n"); michael@0: } michael@0: michael@0: /** michael@0: * nsISystemMessagesConfigurator implementation. michael@0: */ michael@0: function ActivityMessageConfigurator() { michael@0: debug("ActivityMessageConfigurator"); michael@0: } michael@0: michael@0: ActivityMessageConfigurator.prototype = { michael@0: get mustShowRunningApp() { michael@0: debug("mustShowRunningApp returning true"); michael@0: return true; michael@0: }, michael@0: michael@0: classID: Components.ID("{d2296daa-c406-4c5e-b698-e5f2c1715798}"), michael@0: QueryInterface: XPCOMUtils.generateQI([Ci.nsISystemMessagesConfigurator]) michael@0: } michael@0: michael@0: this.NSGetFactory = XPCOMUtils.generateNSGetFactory([ActivityMessageConfigurator]);