/usr/include/thunderbird/nsIWorkerDebuggerManager.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 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 | /*
* DO NOT EDIT. THIS FILE IS GENERATED FROM ../../../dist/idl/nsIWorkerDebuggerManager.idl
*/
#ifndef __gen_nsIWorkerDebuggerManager_h__
#define __gen_nsIWorkerDebuggerManager_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 nsISimpleEnumerator; /* forward declaration */
class nsIWorkerDebugger; /* forward declaration */
/* starting interface: nsIWorkerDebuggerManagerListener */
#define NS_IWORKERDEBUGGERMANAGERLISTENER_IID_STR "d2aa74ee-6b98-4d5d-8173-4e23422daf1e"
#define NS_IWORKERDEBUGGERMANAGERLISTENER_IID \
{0xd2aa74ee, 0x6b98, 0x4d5d, \
{ 0x81, 0x73, 0x4e, 0x23, 0x42, 0x2d, 0xaf, 0x1e }}
class NS_NO_VTABLE nsIWorkerDebuggerManagerListener : public nsISupports {
public:
NS_DECLARE_STATIC_IID_ACCESSOR(NS_IWORKERDEBUGGERMANAGERLISTENER_IID)
/* void onRegister (in nsIWorkerDebugger debugger); */
NS_IMETHOD OnRegister(nsIWorkerDebugger *debugger) = 0;
/* void onUnregister (in nsIWorkerDebugger debugger); */
NS_IMETHOD OnUnregister(nsIWorkerDebugger *debugger) = 0;
};
NS_DEFINE_STATIC_IID_ACCESSOR(nsIWorkerDebuggerManagerListener, NS_IWORKERDEBUGGERMANAGERLISTENER_IID)
/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIWORKERDEBUGGERMANAGERLISTENER \
NS_IMETHOD OnRegister(nsIWorkerDebugger *debugger) override; \
NS_IMETHOD OnUnregister(nsIWorkerDebugger *debugger) 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_NSIWORKERDEBUGGERMANAGERLISTENER \
NS_METHOD OnRegister(nsIWorkerDebugger *debugger); \
NS_METHOD OnUnregister(nsIWorkerDebugger *debugger);
/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIWORKERDEBUGGERMANAGERLISTENER(_to) \
NS_IMETHOD OnRegister(nsIWorkerDebugger *debugger) override { return _to OnRegister(debugger); } \
NS_IMETHOD OnUnregister(nsIWorkerDebugger *debugger) override { return _to OnUnregister(debugger); }
/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSIWORKERDEBUGGERMANAGERLISTENER(_to) \
NS_IMETHOD OnRegister(nsIWorkerDebugger *debugger) override { return !_to ? NS_ERROR_NULL_POINTER : _to->OnRegister(debugger); } \
NS_IMETHOD OnUnregister(nsIWorkerDebugger *debugger) override { return !_to ? NS_ERROR_NULL_POINTER : _to->OnUnregister(debugger); }
#if 0
/* Use the code below as a template for the implementation class for this interface. */
/* Header file */
class nsWorkerDebuggerManagerListener : public nsIWorkerDebuggerManagerListener
{
public:
NS_DECL_ISUPPORTS
NS_DECL_NSIWORKERDEBUGGERMANAGERLISTENER
nsWorkerDebuggerManagerListener();
private:
~nsWorkerDebuggerManagerListener();
protected:
/* additional members */
};
/* Implementation file */
NS_IMPL_ISUPPORTS(nsWorkerDebuggerManagerListener, nsIWorkerDebuggerManagerListener)
nsWorkerDebuggerManagerListener::nsWorkerDebuggerManagerListener()
{
/* member initializers and constructor code */
}
nsWorkerDebuggerManagerListener::~nsWorkerDebuggerManagerListener()
{
/* destructor code */
}
/* void onRegister (in nsIWorkerDebugger debugger); */
NS_IMETHODIMP nsWorkerDebuggerManagerListener::OnRegister(nsIWorkerDebugger *debugger)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void onUnregister (in nsIWorkerDebugger debugger); */
NS_IMETHODIMP nsWorkerDebuggerManagerListener::OnUnregister(nsIWorkerDebugger *debugger)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* End of implementation class template. */
#endif
/* starting interface: nsIWorkerDebuggerManager */
#define NS_IWORKERDEBUGGERMANAGER_IID_STR "056d7918-dc86-452a-b4e6-86da3405f015"
#define NS_IWORKERDEBUGGERMANAGER_IID \
{0x056d7918, 0xdc86, 0x452a, \
{ 0xb4, 0xe6, 0x86, 0xda, 0x34, 0x05, 0xf0, 0x15 }}
class NS_NO_VTABLE nsIWorkerDebuggerManager : public nsISupports {
public:
NS_DECLARE_STATIC_IID_ACCESSOR(NS_IWORKERDEBUGGERMANAGER_IID)
/* nsISimpleEnumerator getWorkerDebuggerEnumerator (); */
NS_IMETHOD GetWorkerDebuggerEnumerator(nsISimpleEnumerator * *_retval) = 0;
/* void addListener (in nsIWorkerDebuggerManagerListener listener); */
NS_IMETHOD AddListener(nsIWorkerDebuggerManagerListener *listener) = 0;
/* void removeListener (in nsIWorkerDebuggerManagerListener listener); */
NS_IMETHOD RemoveListener(nsIWorkerDebuggerManagerListener *listener) = 0;
};
NS_DEFINE_STATIC_IID_ACCESSOR(nsIWorkerDebuggerManager, NS_IWORKERDEBUGGERMANAGER_IID)
/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIWORKERDEBUGGERMANAGER \
NS_IMETHOD GetWorkerDebuggerEnumerator(nsISimpleEnumerator * *_retval) override; \
NS_IMETHOD AddListener(nsIWorkerDebuggerManagerListener *listener) override; \
NS_IMETHOD RemoveListener(nsIWorkerDebuggerManagerListener *listener) 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_NSIWORKERDEBUGGERMANAGER \
NS_METHOD GetWorkerDebuggerEnumerator(nsISimpleEnumerator * *_retval); \
NS_METHOD AddListener(nsIWorkerDebuggerManagerListener *listener); \
NS_METHOD RemoveListener(nsIWorkerDebuggerManagerListener *listener);
/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIWORKERDEBUGGERMANAGER(_to) \
NS_IMETHOD GetWorkerDebuggerEnumerator(nsISimpleEnumerator * *_retval) override { return _to GetWorkerDebuggerEnumerator(_retval); } \
NS_IMETHOD AddListener(nsIWorkerDebuggerManagerListener *listener) override { return _to AddListener(listener); } \
NS_IMETHOD RemoveListener(nsIWorkerDebuggerManagerListener *listener) override { return _to RemoveListener(listener); }
/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSIWORKERDEBUGGERMANAGER(_to) \
NS_IMETHOD GetWorkerDebuggerEnumerator(nsISimpleEnumerator * *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetWorkerDebuggerEnumerator(_retval); } \
NS_IMETHOD AddListener(nsIWorkerDebuggerManagerListener *listener) override { return !_to ? NS_ERROR_NULL_POINTER : _to->AddListener(listener); } \
NS_IMETHOD RemoveListener(nsIWorkerDebuggerManagerListener *listener) override { return !_to ? NS_ERROR_NULL_POINTER : _to->RemoveListener(listener); }
#if 0
/* Use the code below as a template for the implementation class for this interface. */
/* Header file */
class nsWorkerDebuggerManager : public nsIWorkerDebuggerManager
{
public:
NS_DECL_ISUPPORTS
NS_DECL_NSIWORKERDEBUGGERMANAGER
nsWorkerDebuggerManager();
private:
~nsWorkerDebuggerManager();
protected:
/* additional members */
};
/* Implementation file */
NS_IMPL_ISUPPORTS(nsWorkerDebuggerManager, nsIWorkerDebuggerManager)
nsWorkerDebuggerManager::nsWorkerDebuggerManager()
{
/* member initializers and constructor code */
}
nsWorkerDebuggerManager::~nsWorkerDebuggerManager()
{
/* destructor code */
}
/* nsISimpleEnumerator getWorkerDebuggerEnumerator (); */
NS_IMETHODIMP nsWorkerDebuggerManager::GetWorkerDebuggerEnumerator(nsISimpleEnumerator * *_retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void addListener (in nsIWorkerDebuggerManagerListener listener); */
NS_IMETHODIMP nsWorkerDebuggerManager::AddListener(nsIWorkerDebuggerManagerListener *listener)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void removeListener (in nsIWorkerDebuggerManagerListener listener); */
NS_IMETHODIMP nsWorkerDebuggerManager::RemoveListener(nsIWorkerDebuggerManagerListener *listener)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* End of implementation class template. */
#endif
#endif /* __gen_nsIWorkerDebuggerManager_h__ */
|