summaryrefslogtreecommitdiffstats
path: root/comm/mail/components/preferences/actionsshared.js
blob: aae709d957dcbda2bdf7910214f120d9d6937cd2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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,
};