mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-27 02:47:31 +09:00
Issue #1258 - Part 1: Import mailnews, ldap, and mork from comm-esr52.9.1
This commit is contained in:
parent
23e0d82436
commit
e400f4130a
1564 changed files with 510348 additions and 0 deletions
45
mailnews/compose/public/nsIMsgAttachmentHandler.idl
Normal file
45
mailnews/compose/public/nsIMsgAttachmentHandler.idl
Normal file
|
|
@ -0,0 +1,45 @@
|
|||
/* 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/. */
|
||||
|
||||
#include "nsISupports.idl"
|
||||
interface nsIFile;
|
||||
|
||||
// This interface provides minimal XPCONNECT access to objects of type
|
||||
// nsMsgAttachmentHandler. This is primarily for use with new account
|
||||
// types and JsAccount, so this is probably not the interface that you
|
||||
// want if you are working with standard account types.
|
||||
|
||||
[scriptable, uuid(1731283c-60fe-4102-a804-622a84cc1a08)]
|
||||
interface nsIMsgAttachmentHandler : nsISupports
|
||||
{
|
||||
/// The real type, once we know it.
|
||||
readonly attribute ACString type;
|
||||
|
||||
/// URI with link to the attachment.
|
||||
readonly attribute ACString uri;
|
||||
|
||||
/// The temp file to which we save it.
|
||||
readonly attribute nsIFile tmpFile;
|
||||
|
||||
/// The name for the headers, if different from the URL.
|
||||
readonly attribute AUTF8String name;
|
||||
|
||||
/// Size of the attachment, in bytes.
|
||||
readonly attribute unsigned long size;
|
||||
|
||||
/// This is for multipart/related Content-ID's.
|
||||
readonly attribute ACString contentId;
|
||||
|
||||
/// True if this should be sent as a link to a file.
|
||||
readonly attribute boolean sendViaCloud;
|
||||
|
||||
/// Name of the character set for the attachment.
|
||||
readonly attribute ACString charset;
|
||||
|
||||
/// The encoding, once we've decided.
|
||||
readonly attribute ACString encoding;
|
||||
|
||||
/// Whether the attachment has been encoded, for example to base64.
|
||||
readonly attribute boolean alreadyEncoded;
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue