/usr/include/thunderbird/nsISMimeJSHelper.h is in thunderbird-dev 1:38.6.0+build1-0ubuntu1.
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 | /*
* DO NOT EDIT. THIS FILE IS GENERATED FROM ../../../dist/idl/nsISMimeJSHelper.idl
*/
#ifndef __gen_nsISMimeJSHelper_h__
#define __gen_nsISMimeJSHelper_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 nsIMsgCompFields; /* forward declaration */
class nsIX509Cert; /* forward declaration */
/* starting interface: nsISMimeJSHelper */
#define NS_ISMIMEJSHELPER_IID_STR "a54e3c8f-a000-4901-898f-fafb297b1546"
#define NS_ISMIMEJSHELPER_IID \
{0xa54e3c8f, 0xa000, 0x4901, \
{ 0x89, 0x8f, 0xfa, 0xfb, 0x29, 0x7b, 0x15, 0x46 }}
class NS_NO_VTABLE nsISMimeJSHelper : public nsISupports {
public:
NS_DECLARE_STATIC_IID_ACCESSOR(NS_ISMIMEJSHELPER_IID)
/* void getRecipientCertsInfo (in nsIMsgCompFields compFields, out unsigned long count, [array, size_is (count)] out wstring emailAddresses, [array, size_is (count)] out long certVerification, [array, size_is (count)] out wstring certIssuedInfos, [array, size_is (count)] out wstring certExpiresInfos, [array, size_is (count)] out nsIX509Cert certs, out boolean canEncrypt); */
NS_IMETHOD GetRecipientCertsInfo(nsIMsgCompFields *compFields, uint32_t *count, char16_t * **emailAddresses, int32_t **certVerification, char16_t * **certIssuedInfos, char16_t * **certExpiresInfos, nsIX509Cert * **certs, bool *canEncrypt) = 0;
/* void getNoCertAddresses (in nsIMsgCompFields compFields, out unsigned long count, [array, size_is (count)] out wstring emailAddresses); */
NS_IMETHOD GetNoCertAddresses(nsIMsgCompFields *compFields, uint32_t *count, char16_t * **emailAddresses) = 0;
};
NS_DEFINE_STATIC_IID_ACCESSOR(nsISMimeJSHelper, NS_ISMIMEJSHELPER_IID)
/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSISMIMEJSHELPER \
NS_IMETHOD GetRecipientCertsInfo(nsIMsgCompFields *compFields, uint32_t *count, char16_t * **emailAddresses, int32_t **certVerification, char16_t * **certIssuedInfos, char16_t * **certExpiresInfos, nsIX509Cert * **certs, bool *canEncrypt) override; \
NS_IMETHOD GetNoCertAddresses(nsIMsgCompFields *compFields, uint32_t *count, char16_t * **emailAddresses) override;
/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSISMIMEJSHELPER(_to) \
NS_IMETHOD GetRecipientCertsInfo(nsIMsgCompFields *compFields, uint32_t *count, char16_t * **emailAddresses, int32_t **certVerification, char16_t * **certIssuedInfos, char16_t * **certExpiresInfos, nsIX509Cert * **certs, bool *canEncrypt) override { return _to GetRecipientCertsInfo(compFields, count, emailAddresses, certVerification, certIssuedInfos, certExpiresInfos, certs, canEncrypt); } \
NS_IMETHOD GetNoCertAddresses(nsIMsgCompFields *compFields, uint32_t *count, char16_t * **emailAddresses) override { return _to GetNoCertAddresses(compFields, count, emailAddresses); }
/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSISMIMEJSHELPER(_to) \
NS_IMETHOD GetRecipientCertsInfo(nsIMsgCompFields *compFields, uint32_t *count, char16_t * **emailAddresses, int32_t **certVerification, char16_t * **certIssuedInfos, char16_t * **certExpiresInfos, nsIX509Cert * **certs, bool *canEncrypt) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetRecipientCertsInfo(compFields, count, emailAddresses, certVerification, certIssuedInfos, certExpiresInfos, certs, canEncrypt); } \
NS_IMETHOD GetNoCertAddresses(nsIMsgCompFields *compFields, uint32_t *count, char16_t * **emailAddresses) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetNoCertAddresses(compFields, count, emailAddresses); }
#if 0
/* Use the code below as a template for the implementation class for this interface. */
/* Header file */
class nsSMimeJSHelper : public nsISMimeJSHelper
{
public:
NS_DECL_ISUPPORTS
NS_DECL_NSISMIMEJSHELPER
nsSMimeJSHelper();
private:
~nsSMimeJSHelper();
protected:
/* additional members */
};
/* Implementation file */
NS_IMPL_ISUPPORTS(nsSMimeJSHelper, nsISMimeJSHelper)
nsSMimeJSHelper::nsSMimeJSHelper()
{
/* member initializers and constructor code */
}
nsSMimeJSHelper::~nsSMimeJSHelper()
{
/* destructor code */
}
/* void getRecipientCertsInfo (in nsIMsgCompFields compFields, out unsigned long count, [array, size_is (count)] out wstring emailAddresses, [array, size_is (count)] out long certVerification, [array, size_is (count)] out wstring certIssuedInfos, [array, size_is (count)] out wstring certExpiresInfos, [array, size_is (count)] out nsIX509Cert certs, out boolean canEncrypt); */
NS_IMETHODIMP nsSMimeJSHelper::GetRecipientCertsInfo(nsIMsgCompFields *compFields, uint32_t *count, char16_t * **emailAddresses, int32_t **certVerification, char16_t * **certIssuedInfos, char16_t * **certExpiresInfos, nsIX509Cert * **certs, bool *canEncrypt)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void getNoCertAddresses (in nsIMsgCompFields compFields, out unsigned long count, [array, size_is (count)] out wstring emailAddresses); */
NS_IMETHODIMP nsSMimeJSHelper::GetNoCertAddresses(nsIMsgCompFields *compFields, uint32_t *count, char16_t * **emailAddresses)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* End of implementation class template. */
#endif
#endif /* __gen_nsISMimeJSHelper_h__ */
|