summaryrefslogtreecommitdiffstats
path: root/comm/mail/components/preferences/actionsshared.js
diff options
context:
space:
mode:
Diffstat (limited to 'comm/mail/components/preferences/actionsshared.js')
-rw-r--r--comm/mail/components/preferences/actionsshared.js23
1 files changed, 23 insertions, 0 deletions
diff --git a/comm/mail/components/preferences/actionsshared.js b/comm/mail/components/preferences/actionsshared.js
new file mode 100644
index 0000000000..aae709d957
--- /dev/null
+++ b/comm/mail/components/preferences/actionsshared.js
@@ -0,0 +1,23 @@
+/* -*- Mode: Javascript; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
+
+var FILEACTION_SAVE_TO_DISK = 1;
+var FILEACTION_OPEN_INTERNALLY = 2;
+var FILEACTION_OPEN_DEFAULT = 3;
+var FILEACTION_OPEN_CUSTOM = 4;
+function FileAction() {}
+FileAction.prototype = {
+ type: "",
+ extension: "",
+ hasExtension: true,
+ editable: true,
+ smallIcon: "",
+ bigIcon: "",
+ typeName: "",
+ action: "",
+ mimeInfo: null,
+ customHandler: "",
+ handleMode: false,
+};