mailnews/mime/public/nsIMimeObjectClassAccess.h
author Mozilla Releng Treescript <release+treescript@mozilla.org>
Sat, 27 Feb 2021 08:40:38 +0000
changeset 41363 5b72fa23013e2b677a3ae8131f2b252aed4940d4
parent 38786 06085479b24375af086fd0000cc00b5ce78d1d61
permissions -rw-r--r--
no bug - Bumping Thunderbird l10n changesets r=release a=l10n-bump DONTBUILD ar -> d7a50d5a1c8aa828009518d3113b55a08245ed01 ast -> 6d3ee90322efbc5449080d991e7705a58a5956ec be -> 090a85917845e6dd5e95ce9ef34208d63b7b1358 bg -> 863f689989b642097b9d45b9950c8d3b2fe895c5 br -> d0ada71b2068daf1654dd96a49348ab37790a52b ca -> bc19eb8f0b957eb806e59f20539512c408735419 cak -> df5ac8ecaedea765d80fa121b24d7f7311814ec6 cs -> 0f7693dbec8b50a34a148b9208771bda4155d192 cy -> 60bd85096d77cd0b0af3d270f2a7f88272ed1c77 da -> 0d0259d746e9cd18806a4ee037276cde15df1abf de -> 8988653924571f1fdcc08fb6d51f651ec893119f dsb -> 70b71cc08aded35d77768ff4302d90dbbec17101 el -> 9d5f13ad83e897a54930a65dac7eae714daf6190 en-CA -> 4fc3f3381b09a2b683b68fb11288927dc3e8f409 en-GB -> 221a11421e2e5ed7ffd4d1e727a68bf4a51336c1 es-AR -> af268fc02be93036e08af40c349b20315ad23333 es-ES -> 23f06ce5103fbf1c0af7c24c4c915128faca7abe et -> 1faba1a5ad137ad4ade3ca7c29b5fe753e51af9d eu -> 712779303af99cb0dbe08aede674c3987be9bd40 fi -> d5dea2f489026506000476781fc6e880223d3f88 fr -> be937f4ca1821860d935ee1ffe39df9331f15190 fy-NL -> 00cb5b397e80d564732375b1afb7dda4de605da1 ga-IE -> 293d004ccfdd8f21cfc14491e259e8639d3089cf gd -> faf5b398a83357f08d39fe3650940e70f17a6e82 gl -> 2f0affcd127d17e8002387607b215588d43c957f he -> df52da4666ec76ba8bfd040f4d1213cbee453be7 hr -> 80a56629725c2c710a02fdb1dcf60aaa8404fbc1 hsb -> ae87537ea92ceed6581d0f6c70d56176f8780492 hu -> 5edc1561e0729a770df20137a2529d2b91546e56 hy-AM -> e374849e364c9142b0dff1aab88feb07e9be25aa id -> 2b579b0341a87edacb36fd4ab7a4be0b484ceb83 is -> 8f39249a078876d1f3c53540478fe201bd4d259c it -> a62af47067bbb0f4d98f2d6bbfaf64fb87564fa7 ja -> 2c3265917614892cdb37bdb8deaa279d4dc304f9 ja-JP-mac -> 76e6a0d30680d1c5dc6c7293b725ee28babfa7f1 ka -> 87af1f5e8e05e23514628762c09fa619ac675a02 kab -> c7163777f5ad0550ba96f8c4c29b893ee48782a7 kk -> 1a5d55f179dc28d71ffe03ea9a86fc139708be99 ko -> b1eb2990b9975586e24e8e0d137f004b616a8762 lt -> c4d85b116b22d89d437063bd02ace6cabcf2c5ce ms -> 05dafa9ad7ce8e8b43cbd373a389f708a517d8c5 nb-NO -> c6edcbc43373a9fc5ff55d12d583dff35c9c84b9 nl -> 17fcbd2014e2b0a49100af82ffad80420be1592b nn-NO -> f29313f5ba9471e55da3ab45de25a3ea3c602fd7 pa-IN -> fb5e6916dc088385101edf9171c40ba04ce8d698 pl -> 33c62295eb5ae2b0b6a692d4d792961f07a9512c pt-BR -> 2af0b8f685aefe8cc4be06637b6128bd6bcc754c pt-PT -> da6d65a41e67858d98e7edf50955d604cbbcb603 rm -> b8970c06bd5001e3c1900cc2a0ca952ae138e63f ro -> 0b92495f565e4e306c756f7ac601faf83aa10922 ru -> 7e60f5ac5d2543d070c2f675242a83614ba22c90 sk -> 28dcfdc98160a1265a8af6cf592b8c30eeca3264 sl -> 14e2877fcc59fa1c07b35ef073480dfbf2c521eb sq -> d98a71a895bcf364e4cbc7e546a227c858249c64 sr -> 9fb5c7102b589494d7ee806ce11b8723b52fdff8 sv-SE -> e4bae584fc2065cafdefcc76d6ef40aa3e711ba0 th -> c71a03db8a0068c45d83f0f6ae5a3ab36b02b9fd tr -> 0a3cdf8d8b2bf8c11338eadd3205b382479af546 uk -> 7b97c750382592dfabde3a6c0b4a9c79d0c6f9e4 uz -> 3b21aaab438b03090ff27faeca179660979efdce vi -> eecce71cc2a0fc5cebb483032d3e6f9230aa2c32 zh-CN -> 54713511796c874a615f3951ebc7f7200cffa82b zh-TW -> fc6579605686376c94e722a64f43354a7dd5f32a

/* -*- Mode: C; tab-width: 4; 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/. */

/*
 * This interface is implemented by libmime. This interface is used by
 * a Content-Type handler "Plug In" (i.e. vCard) for accessing various
 * internal information about the object class system of libmime. When
 * libmime progresses to a C++ object class, this would probably change.
 */
#ifndef nsIMimeObjectClassAccess_h_
#define nsIMimeObjectClassAccess_h_

// {C09EDB23-B7AF-11d2-B35E-525400E2D63A}
#define NS_IMIME_OBJECT_CLASS_ACCESS_IID            \
  {                                                 \
    0xc09edb23, 0xb7af, 0x11d2, {                   \
      0xb3, 0x5e, 0x52, 0x54, 0x0, 0xe2, 0xd6, 0x3a \
    }                                               \
  }

#include "nsISupports.h"

class nsIMimeObjectClassAccess : public nsISupports {
 public:
  NS_DECLARE_STATIC_IID_ACCESSOR(NS_IMIME_OBJECT_CLASS_ACCESS_IID)

  // These methods are all implemented by libmime to be used by
  // content type handler plugins for processing stream data.

  // This is the write call for outputting processed stream data.
  NS_IMETHOD MimeObjectWrite(void* mimeObject, char* data, int32_t length,
                             bool user_visible_p) = 0;

  // The following group of calls expose the pointers for the object
  // system within libmime.
  NS_IMETHOD GetmimeInlineTextClass(void** ptr) = 0;
  NS_IMETHOD GetmimeLeafClass(void** ptr) = 0;
  NS_IMETHOD GetmimeObjectClass(void** ptr) = 0;
  NS_IMETHOD GetmimeContainerClass(void** ptr) = 0;
  NS_IMETHOD GetmimeMultipartClass(void** ptr) = 0;
  NS_IMETHOD GetmimeMultipartSignedClass(void** ptr) = 0;
  NS_IMETHOD GetmimeEncryptedClass(void** ptr) = 0;

  NS_IMETHOD MimeCreate(char* content_type, void* hdrs, void* opts,
                        void** ptr) = 0;
};

NS_DEFINE_STATIC_IID_ACCESSOR(nsIMimeObjectClassAccess,
                              NS_IMIME_OBJECT_CLASS_ACCESS_IID)

#endif /* nsIMimeObjectClassAccess_h_ */