diff options
author | Kris Maglione <kris@vimperator.org> | 2009-11-09 01:27:08 -0500 |
---|---|---|
committer | Kris Maglione <kris@vimperator.org> | 2009-11-09 01:27:08 -0500 |
commit | a11cb93fa83d0681dd69d400fdee5b95b4af6e73 (patch) | |
tree | c3d86e8573e7650b5fb90c0f732967056555ca84 /common/modules | |
parent | a7925705d71f65509e897f84b56219b9b3fda86e (diff) | |
download | pentadactyl-a11cb93fa83d0681dd69d400fdee5b95b4af6e73.tar.gz |
Remove some dead files.
Diffstat (limited to 'common/modules')
-rw-r--r-- | common/modules/commandline-handler.jsm | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/common/modules/commandline-handler.jsm b/common/modules/commandline-handler.jsm deleted file mode 100644 index 87c7529f..00000000 --- a/common/modules/commandline-handler.jsm +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright (c) 2009 by Doug Kearns -// -// This work is licensed for reuse under an MIT license. Details are -// given in the LICENSE.txt file included with this file. - -var EXPORTED_SYMBOLS = ["CommandLineHandler", "NSGetModule"]; -Components.utils.import("resource://gre/modules/XPCOMUtils.jsm"); -var CommandLineHandler; - -function initCommandLineHandler(Name) { - var name = Name.toLowerCase(); - CommandLineHandler = function CommandLineHandler() { - this.wrappedJSObject = this; - } - CommandLineHandler.prototype = { - - classDescription: Name + " Command-line Handler", - - classID: Components.ID("{16dc34f7-6d22-4aa4-a67f-2921fb5dcb69}"), - - contractID: "@mozilla.org/commandlinehandler/general-startup;1?type=" + name, - - _xpcom_categories: [{ - category: "command-line-handler", - entry: "m-" + name - }], - - QueryInterface: XPCOMUtils.generateQI([Components.interfaces.nsICommandLineHandler]), - - handle: function (commandLine) { - // TODO: handle remote launches differently? - try { - this.optionValue = commandLine.handleFlagWithParam(name, false); - } - catch (e) { - //"vimperator: option -vimperator requires an argument" - } - } - }; -} - -function NSGetModule(compMgr, fileSpec) XPCOMUtils.generateModule([CommandLineHandler]) - -// vim: set ft=javascript fdm=marker sw=4 ts=4 et: |