summaryrefslogtreecommitdiff
path: root/teledactyl/components
diff options
context:
space:
mode:
authorKris Maglione <maglione.k@gmail.com>2010-09-19 02:23:49 -0400
committerKris Maglione <maglione.k@gmail.com>2010-09-19 02:23:49 -0400
commit952bb90f356d82d25048965edafe5bb3033d87b1 (patch)
tree6a3c8931c9c79be0f17f68bd034ba6972ee566bd /teledactyl/components
parent72be646c5bafbfbf749e9a75496a43b70b3fefa9 (diff)
downloadpentadactyl-952bb90f356d82d25048965edafe5bb3033d87b1.tar.gz
Fix make_jar.sh; add missing components.
Diffstat (limited to 'teledactyl/components')
-rw-r--r--teledactyl/components/dactyl.js32
1 files changed, 32 insertions, 0 deletions
diff --git a/teledactyl/components/dactyl.js b/teledactyl/components/dactyl.js
new file mode 100644
index 00000000..b80d5739
--- /dev/null
+++ b/teledactyl/components/dactyl.js
@@ -0,0 +1,32 @@
+// Copyright (c) 2008-2010 Kris Maglione <maglione.k at Gmail>
+//
+// This work is licensed for reuse under an MIT license. Details are
+// given in the LICENSE.txt file included with this file.
+"use strict";
+
+const Ci = Components.interfaces, Cc = Components.classes;
+
+Components.utils.import("resource://gre/modules/XPCOMUtils.jsm");
+
+function Dactyl() {
+ this.wrappedJSObject = this;
+}
+Dactyl.prototype = {
+ contractID: "@dactyl.googlecode.com/base/dactyl",
+ classID: Components.ID("{8e4a8e2f-95a0-4d8f-90ac-fc9d7d8f5468}"),
+
+ classDescription: "Dactyl component base definitions",
+ QueryInterface: XPCOMUtils.generateQI([]),
+
+ appname: "Teledactyl",
+ name: "teledactyl",
+ idname: "TELEDACTYL",
+ host: "Thunderbird"
+};
+
+if (XPCOMUtils.generateNSGetFactory)
+ const NSGetFactory = XPCOMUtils.generateNSGetFactory([Dactyl]);
+else
+ const NSGetModule = XPCOMUtils.generateNSGetModule([Dactyl]);
+
+// vim: set fdm=marker sw=4 ts=4 et: