summaryrefslogtreecommitdiff
path: root/common/modules/services.jsm
diff options
context:
space:
mode:
authorKris Maglione <maglione.k@gmail.com>2011-09-19 15:39:21 -0400
committerKris Maglione <maglione.k@gmail.com>2011-09-19 15:39:21 -0400
commitf247d9d01b401474540b2ecf1a62245597180c8d (patch)
tree4e7d7a0151616763b3fda5918765f4f167a4b4e2 /common/modules/services.jsm
parente99660f57080ed19e81fb86f3f31122f9ac4bad5 (diff)
downloadpentadactyl-f247d9d01b401474540b2ecf1a62245597180c8d.tar.gz
Add third argument to dactyl.clipboardWrite.
Diffstat (limited to 'common/modules/services.jsm')
-rw-r--r--common/modules/services.jsm3
1 files changed, 3 insertions, 0 deletions
diff --git a/common/modules/services.jsm b/common/modules/services.jsm
index 8d9273bb..b69522c0 100644
--- a/common/modules/services.jsm
+++ b/common/modules/services.jsm
@@ -29,6 +29,8 @@ var Services = Module("Services", {
this.add("cache", "@mozilla.org/network/cache-service;1", "nsICacheService");
this.add("charset", "@mozilla.org/charset-converter-manager;1", "nsICharsetConverterManager");
this.add("chromeRegistry", "@mozilla.org/chrome/chrome-registry;1", "nsIXULChromeRegistry");
+ this.add("clipboard", "@mozilla.org/widget/clipboard;1", "nsIClipboard");
+ this.add("clipboardHelper", "@mozilla.org/widget/clipboardhelper;1", "nsIClipboardHelper");
this.add("commandLineHandler", "@mozilla.org/commandlinehandler/general-startup;1?type=dactyl");
this.add("console", "@mozilla.org/consoleservice;1", "nsIConsoleService");
this.add("dactyl:", "@mozilla.org/network/protocol;1?name=dactyl");
@@ -93,6 +95,7 @@ var Services = Module("Services", {
this.addClass("String", "@mozilla.org/supports-string;1", "nsISupportsString", "data");
this.addClass("StringStream", "@mozilla.org/io/string-input-stream;1", "nsIStringInputStream", "data");
this.addClass("Transfer", "@mozilla.org/transfer;1", "nsITransfer", "init");
+ this.addClass("Transferable", "@mozilla.org/widget/transferable;1", "nsITransferable");
this.addClass("Timer", "@mozilla.org/timer;1", "nsITimer", "initWithCallback");
this.addClass("URL", "@mozilla.org/network/standard-url;1", ["nsIStandardURL", "nsIURL"], "init");
this.addClass("Xmlhttp", "@mozilla.org/xmlextras/xmlhttprequest;1", "nsIXMLHttpRequest", "open");