/usr/include/thunderbird/nsIMsgAsyncPrompter.h is in thunderbird-dev 1:52.8.0-1~deb8u1.
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 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 | /*
* DO NOT EDIT. THIS FILE IS GENERATED FROM ../../../dist/idl/nsIMsgAsyncPrompter.idl
*/
#ifndef __gen_nsIMsgAsyncPrompter_h__
#define __gen_nsIMsgAsyncPrompter_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 nsIMsgAsyncPromptListener; /* forward declaration */
/* starting interface: nsIMsgAsyncPrompter */
#define NS_IMSGASYNCPROMPTER_IID_STR "15f67d0f-947a-4a1e-8f72-6ab7162b4b9c"
#define NS_IMSGASYNCPROMPTER_IID \
{0x15f67d0f, 0x947a, 0x4a1e, \
{ 0x8f, 0x72, 0x6a, 0xb7, 0x16, 0x2b, 0x4b, 0x9c }}
class NS_NO_VTABLE nsIMsgAsyncPrompter : public nsISupports {
public:
NS_DECLARE_STATIC_IID_ACCESSOR(NS_IMSGASYNCPROMPTER_IID)
/* void queueAsyncAuthPrompt (in ACString aKey, in boolean aPromptImmediately, in nsIMsgAsyncPromptListener aCaller); */
NS_IMETHOD QueueAsyncAuthPrompt(const nsACString & aKey, bool aPromptImmediately, nsIMsgAsyncPromptListener *aCaller) = 0;
};
NS_DEFINE_STATIC_IID_ACCESSOR(nsIMsgAsyncPrompter, NS_IMSGASYNCPROMPTER_IID)
/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIMSGASYNCPROMPTER \
NS_IMETHOD QueueAsyncAuthPrompt(const nsACString & aKey, bool aPromptImmediately, nsIMsgAsyncPromptListener *aCaller) 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_NSIMSGASYNCPROMPTER \
NS_METHOD QueueAsyncAuthPrompt(const nsACString & aKey, bool aPromptImmediately, nsIMsgAsyncPromptListener *aCaller);
/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIMSGASYNCPROMPTER(_to) \
NS_IMETHOD QueueAsyncAuthPrompt(const nsACString & aKey, bool aPromptImmediately, nsIMsgAsyncPromptListener *aCaller) override { return _to QueueAsyncAuthPrompt(aKey, aPromptImmediately, aCaller); }
/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSIMSGASYNCPROMPTER(_to) \
NS_IMETHOD QueueAsyncAuthPrompt(const nsACString & aKey, bool aPromptImmediately, nsIMsgAsyncPromptListener *aCaller) override { return !_to ? NS_ERROR_NULL_POINTER : _to->QueueAsyncAuthPrompt(aKey, aPromptImmediately, aCaller); }
#if 0
/* Use the code below as a template for the implementation class for this interface. */
/* Header file */
class nsMsgAsyncPrompter : public nsIMsgAsyncPrompter
{
public:
NS_DECL_ISUPPORTS
NS_DECL_NSIMSGASYNCPROMPTER
nsMsgAsyncPrompter();
private:
~nsMsgAsyncPrompter();
protected:
/* additional members */
};
/* Implementation file */
NS_IMPL_ISUPPORTS(nsMsgAsyncPrompter, nsIMsgAsyncPrompter)
nsMsgAsyncPrompter::nsMsgAsyncPrompter()
{
/* member initializers and constructor code */
}
nsMsgAsyncPrompter::~nsMsgAsyncPrompter()
{
/* destructor code */
}
/* void queueAsyncAuthPrompt (in ACString aKey, in boolean aPromptImmediately, in nsIMsgAsyncPromptListener aCaller); */
NS_IMETHODIMP nsMsgAsyncPrompter::QueueAsyncAuthPrompt(const nsACString & aKey, bool aPromptImmediately, nsIMsgAsyncPromptListener *aCaller)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* End of implementation class template. */
#endif
/* starting interface: nsIMsgAsyncPromptListener */
#define NS_IMSGASYNCPROMPTLISTENER_IID_STR "fb5307a3-39d0-462e-92c8-c5c288a2612f"
#define NS_IMSGASYNCPROMPTLISTENER_IID \
{0xfb5307a3, 0x39d0, 0x462e, \
{ 0x92, 0xc8, 0xc5, 0xc2, 0x88, 0xa2, 0x61, 0x2f }}
class NS_NO_VTABLE nsIMsgAsyncPromptListener : public nsISupports {
public:
NS_DECLARE_STATIC_IID_ACCESSOR(NS_IMSGASYNCPROMPTLISTENER_IID)
/* boolean onPromptStart (); */
NS_IMETHOD OnPromptStart(bool *_retval) = 0;
/* void onPromptAuthAvailable (); */
NS_IMETHOD OnPromptAuthAvailable(void) = 0;
/* void onPromptCanceled (); */
NS_IMETHOD OnPromptCanceled(void) = 0;
};
NS_DEFINE_STATIC_IID_ACCESSOR(nsIMsgAsyncPromptListener, NS_IMSGASYNCPROMPTLISTENER_IID)
/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIMSGASYNCPROMPTLISTENER \
NS_IMETHOD OnPromptStart(bool *_retval) override; \
NS_IMETHOD OnPromptAuthAvailable(void) override; \
NS_IMETHOD OnPromptCanceled(void) 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_NSIMSGASYNCPROMPTLISTENER \
NS_METHOD OnPromptStart(bool *_retval); \
NS_METHOD OnPromptAuthAvailable(void); \
NS_METHOD OnPromptCanceled(void);
/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIMSGASYNCPROMPTLISTENER(_to) \
NS_IMETHOD OnPromptStart(bool *_retval) override { return _to OnPromptStart(_retval); } \
NS_IMETHOD OnPromptAuthAvailable(void) override { return _to OnPromptAuthAvailable(); } \
NS_IMETHOD OnPromptCanceled(void) override { return _to OnPromptCanceled(); }
/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSIMSGASYNCPROMPTLISTENER(_to) \
NS_IMETHOD OnPromptStart(bool *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->OnPromptStart(_retval); } \
NS_IMETHOD OnPromptAuthAvailable(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->OnPromptAuthAvailable(); } \
NS_IMETHOD OnPromptCanceled(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->OnPromptCanceled(); }
#if 0
/* Use the code below as a template for the implementation class for this interface. */
/* Header file */
class nsMsgAsyncPromptListener : public nsIMsgAsyncPromptListener
{
public:
NS_DECL_ISUPPORTS
NS_DECL_NSIMSGASYNCPROMPTLISTENER
nsMsgAsyncPromptListener();
private:
~nsMsgAsyncPromptListener();
protected:
/* additional members */
};
/* Implementation file */
NS_IMPL_ISUPPORTS(nsMsgAsyncPromptListener, nsIMsgAsyncPromptListener)
nsMsgAsyncPromptListener::nsMsgAsyncPromptListener()
{
/* member initializers and constructor code */
}
nsMsgAsyncPromptListener::~nsMsgAsyncPromptListener()
{
/* destructor code */
}
/* boolean onPromptStart (); */
NS_IMETHODIMP nsMsgAsyncPromptListener::OnPromptStart(bool *_retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void onPromptAuthAvailable (); */
NS_IMETHODIMP nsMsgAsyncPromptListener::OnPromptAuthAvailable()
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void onPromptCanceled (); */
NS_IMETHODIMP nsMsgAsyncPromptListener::OnPromptCanceled()
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* End of implementation class template. */
#endif
#endif /* __gen_nsIMsgAsyncPrompter_h__ */
|