DXR is a code search and navigation tool aimed at making sense of large projects. It supports full-text and regex searches as well as structural queries.

Untracked file

Line Code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101
/*
 * DO NOT EDIT.  THIS FILE IS GENERATED FROM /home/jenkins/src/releases/comm-beta/mailnews/mime/public/nsICMSMessage2.idl
 */

#ifndef __gen_nsICMSMessage2_h__
#define __gen_nsICMSMessage2_h__


#ifndef __gen_nsISupports_h__
#include "nsISupports.h"
#endif

/* For IDL files that don't want to include root IDL files. */
#ifndef NS_NO_VTABLE
#define NS_NO_VTABLE
#endif
class nsISMimeVerificationListener; /* forward declaration */


/* starting interface:    nsICMSMessage2 */
#define NS_ICMSMESSAGE2_IID_STR "b21a3636-2287-4b9f-9a22-25f245981ef0"

#define NS_ICMSMESSAGE2_IID \
  {0xb21a3636, 0x2287, 0x4b9f, \
    { 0x9a, 0x22, 0x25, 0xf2, 0x45, 0x98, 0x1e, 0xf0 }}

class NS_NO_VTABLE nsICMSMessage2 : public nsISupports {
 public:

  NS_DECLARE_STATIC_IID_ACCESSOR(NS_ICMSMESSAGE2_IID)

  /* void asyncVerifySignature (in nsISMimeVerificationListener listener); */
  NS_IMETHOD AsyncVerifySignature(nsISMimeVerificationListener *listener) = 0;

  /* void asyncVerifyDetachedSignature (in nsISMimeVerificationListener listener, in UnsignedCharPtr aDigestData, in unsigned long aDigestDataLen); */
  NS_IMETHOD AsyncVerifyDetachedSignature(nsISMimeVerificationListener *listener, unsigned char * aDigestData, uint32_t aDigestDataLen) = 0;

};

  NS_DEFINE_STATIC_IID_ACCESSOR(nsICMSMessage2, NS_ICMSMESSAGE2_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSICMSMESSAGE2 \
  NS_IMETHOD AsyncVerifySignature(nsISMimeVerificationListener *listener) override; \
  NS_IMETHOD AsyncVerifyDetachedSignature(nsISMimeVerificationListener *listener, unsigned char * aDigestData, uint32_t aDigestDataLen) override; 

/* Use this macro when declaring the members of this interface when the
   class doesn't implement the interface. This is useful for forwarding. */
#define NS_DECL_NON_VIRTUAL_NSICMSMESSAGE2 \
  nsresult AsyncVerifySignature(nsISMimeVerificationListener *listener); \
  nsresult AsyncVerifyDetachedSignature(nsISMimeVerificationListener *listener, unsigned char * aDigestData, uint32_t aDigestDataLen); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSICMSMESSAGE2(_to) \
  NS_IMETHOD AsyncVerifySignature(nsISMimeVerificationListener *listener) override { return _to AsyncVerifySignature(listener); } \
  NS_IMETHOD AsyncVerifyDetachedSignature(nsISMimeVerificationListener *listener, unsigned char * aDigestData, uint32_t aDigestDataLen) override { return _to AsyncVerifyDetachedSignature(listener, aDigestData, aDigestDataLen); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSICMSMESSAGE2(_to) \
  NS_IMETHOD AsyncVerifySignature(nsISMimeVerificationListener *listener) override { return !_to ? NS_ERROR_NULL_POINTER : _to->AsyncVerifySignature(listener); } \
  NS_IMETHOD AsyncVerifyDetachedSignature(nsISMimeVerificationListener *listener, unsigned char * aDigestData, uint32_t aDigestDataLen) override { return !_to ? NS_ERROR_NULL_POINTER : _to->AsyncVerifyDetachedSignature(listener, aDigestData, aDigestDataLen); } 


/* starting interface:    nsISMimeVerificationListener */
#define NS_ISMIMEVERIFICATIONLISTENER_IID_STR "5226d698-0773-4f25-b94c-7944b3fc01d3"

#define NS_ISMIMEVERIFICATIONLISTENER_IID \
  {0x5226d698, 0x0773, 0x4f25, \
    { 0xb9, 0x4c, 0x79, 0x44, 0xb3, 0xfc, 0x01, 0xd3 }}

class NS_NO_VTABLE nsISMimeVerificationListener : public nsISupports {
 public:

  NS_DECLARE_STATIC_IID_ACCESSOR(NS_ISMIMEVERIFICATIONLISTENER_IID)

  /* void notify (in nsICMSMessage2 verifiedMessage, in nsresult verificationResultCode); */
  NS_IMETHOD Notify(nsICMSMessage2 *verifiedMessage, nsresult verificationResultCode) = 0;

};

  NS_DEFINE_STATIC_IID_ACCESSOR(nsISMimeVerificationListener, NS_ISMIMEVERIFICATIONLISTENER_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSISMIMEVERIFICATIONLISTENER \
  NS_IMETHOD Notify(nsICMSMessage2 *verifiedMessage, nsresult verificationResultCode) override; 

/* Use this macro when declaring the members of this interface when the
   class doesn't implement the interface. This is useful for forwarding. */
#define NS_DECL_NON_VIRTUAL_NSISMIMEVERIFICATIONLISTENER \
  nsresult Notify(nsICMSMessage2 *verifiedMessage, nsresult verificationResultCode); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSISMIMEVERIFICATIONLISTENER(_to) \
  NS_IMETHOD Notify(nsICMSMessage2 *verifiedMessage, nsresult verificationResultCode) override { return _to Notify(verifiedMessage, verificationResultCode); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSISMIMEVERIFICATIONLISTENER(_to) \
  NS_IMETHOD Notify(nsICMSMessage2 *verifiedMessage, nsresult verificationResultCode) override { return !_to ? NS_ERROR_NULL_POINTER : _to->Notify(verifiedMessage, verificationResultCode); } 


#endif /* __gen_nsICMSMessage2_h__ */