/usr/include/firefox/nsICMSMessage2.h is in firefox-dev 11.0+build1-0ubuntu4.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 | /*
* DO NOT EDIT. THIS FILE IS GENERATED FROM /build/buildd/firefox-11.0+build1/build-tree/mozilla/security/manager/ssl/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 "a99a3203-39e3-45e1-909c-175b0e471c2b"
#define NS_ICMSMESSAGE2_IID \
{0xa99a3203, 0x39e3, 0x45e1, \
{ 0x90, 0x9c, 0x17, 0x5b, 0x0e, 0x47, 0x1c, 0x2b }}
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, PRUint32 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); \
NS_IMETHOD AsyncVerifyDetachedSignature(nsISMimeVerificationListener *listener, unsigned char *aDigestData, PRUint32 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) { return _to AsyncVerifySignature(listener); } \
NS_IMETHOD AsyncVerifyDetachedSignature(nsISMimeVerificationListener *listener, unsigned char *aDigestData, PRUint32 aDigestDataLen) { 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) { return !_to ? NS_ERROR_NULL_POINTER : _to->AsyncVerifySignature(listener); } \
NS_IMETHOD AsyncVerifyDetachedSignature(nsISMimeVerificationListener *listener, unsigned char *aDigestData, PRUint32 aDigestDataLen) { return !_to ? NS_ERROR_NULL_POINTER : _to->AsyncVerifyDetachedSignature(listener, aDigestData, aDigestDataLen); }
#if 0
/* Use the code below as a template for the implementation class for this interface. */
/* Header file */
class nsCMSMessage2 : public nsICMSMessage2
{
public:
NS_DECL_ISUPPORTS
NS_DECL_NSICMSMESSAGE2
nsCMSMessage2();
private:
~nsCMSMessage2();
protected:
/* additional members */
};
/* Implementation file */
NS_IMPL_ISUPPORTS1(nsCMSMessage2, nsICMSMessage2)
nsCMSMessage2::nsCMSMessage2()
{
/* member initializers and constructor code */
}
nsCMSMessage2::~nsCMSMessage2()
{
/* destructor code */
}
/* void asyncVerifySignature (in nsISMimeVerificationListener listener); */
NS_IMETHODIMP nsCMSMessage2::AsyncVerifySignature(nsISMimeVerificationListener *listener)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void asyncVerifyDetachedSignature (in nsISMimeVerificationListener listener, in UnsignedCharPtr aDigestData, in unsigned long aDigestDataLen); */
NS_IMETHODIMP nsCMSMessage2::AsyncVerifyDetachedSignature(nsISMimeVerificationListener *listener, unsigned char *aDigestData, PRUint32 aDigestDataLen)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* End of implementation class template. */
#endif
/* starting interface: nsISMimeVerificationListener */
#define NS_ISMIMEVERIFICATIONLISTENER_IID_STR "56310af6-dffc-48b4-abca-85eae4059064"
#define NS_ISMIMEVERIFICATIONLISTENER_IID \
{0x56310af6, 0xdffc, 0x48b4, \
{ 0xab, 0xca, 0x85, 0xea, 0xe4, 0x05, 0x90, 0x64 }}
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);
/* 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) { 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) { return !_to ? NS_ERROR_NULL_POINTER : _to->Notify(verifiedMessage, verificationResultCode); }
#if 0
/* Use the code below as a template for the implementation class for this interface. */
/* Header file */
class nsSMimeVerificationListener : public nsISMimeVerificationListener
{
public:
NS_DECL_ISUPPORTS
NS_DECL_NSISMIMEVERIFICATIONLISTENER
nsSMimeVerificationListener();
private:
~nsSMimeVerificationListener();
protected:
/* additional members */
};
/* Implementation file */
NS_IMPL_ISUPPORTS1(nsSMimeVerificationListener, nsISMimeVerificationListener)
nsSMimeVerificationListener::nsSMimeVerificationListener()
{
/* member initializers and constructor code */
}
nsSMimeVerificationListener::~nsSMimeVerificationListener()
{
/* destructor code */
}
/* void notify (in nsICMSMessage2 verifiedMessage, in nsresult verificationResultCode); */
NS_IMETHODIMP nsSMimeVerificationListener::Notify(nsICMSMessage2 *verifiedMessage, nsresult verificationResultCode)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* End of implementation class template. */
#endif
#endif /* __gen_nsICMSMessage2_h__ */
|