/usr/include/thunderbird/nsISlowScriptDebug.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 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 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 | /*
* DO NOT EDIT. THIS FILE IS GENERATED FROM ../../../dist/idl/nsISlowScriptDebug.idl
*/
#ifndef __gen_nsISlowScriptDebug_h__
#define __gen_nsISlowScriptDebug_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 nsIDOMWindow; /* forward declaration */
class nsIDOMEventTarget; /* forward declaration */
/* starting interface: nsISlowScriptDebugCallback */
#define NS_ISLOWSCRIPTDEBUGCALLBACK_IID_STR "f7dbb80c-5d1e-4fd9-b55c-a9ffda4a75b1"
#define NS_ISLOWSCRIPTDEBUGCALLBACK_IID \
{0xf7dbb80c, 0x5d1e, 0x4fd9, \
{ 0xb5, 0x5c, 0xa9, 0xff, 0xda, 0x4a, 0x75, 0xb1 }}
class NS_NO_VTABLE nsISlowScriptDebugCallback : public nsISupports {
public:
NS_DECLARE_STATIC_IID_ACCESSOR(NS_ISLOWSCRIPTDEBUGCALLBACK_IID)
/* void handleSlowScriptDebug (in nsIDOMWindow aWindow); */
NS_IMETHOD HandleSlowScriptDebug(nsIDOMWindow *aWindow) = 0;
};
NS_DEFINE_STATIC_IID_ACCESSOR(nsISlowScriptDebugCallback, NS_ISLOWSCRIPTDEBUGCALLBACK_IID)
/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSISLOWSCRIPTDEBUGCALLBACK \
NS_IMETHOD HandleSlowScriptDebug(nsIDOMWindow *aWindow) override;
/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSISLOWSCRIPTDEBUGCALLBACK(_to) \
NS_IMETHOD HandleSlowScriptDebug(nsIDOMWindow *aWindow) override { return _to HandleSlowScriptDebug(aWindow); }
/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSISLOWSCRIPTDEBUGCALLBACK(_to) \
NS_IMETHOD HandleSlowScriptDebug(nsIDOMWindow *aWindow) override { return !_to ? NS_ERROR_NULL_POINTER : _to->HandleSlowScriptDebug(aWindow); }
#if 0
/* Use the code below as a template for the implementation class for this interface. */
/* Header file */
class nsSlowScriptDebugCallback : public nsISlowScriptDebugCallback
{
public:
NS_DECL_ISUPPORTS
NS_DECL_NSISLOWSCRIPTDEBUGCALLBACK
nsSlowScriptDebugCallback();
private:
~nsSlowScriptDebugCallback();
protected:
/* additional members */
};
/* Implementation file */
NS_IMPL_ISUPPORTS(nsSlowScriptDebugCallback, nsISlowScriptDebugCallback)
nsSlowScriptDebugCallback::nsSlowScriptDebugCallback()
{
/* member initializers and constructor code */
}
nsSlowScriptDebugCallback::~nsSlowScriptDebugCallback()
{
/* destructor code */
}
/* void handleSlowScriptDebug (in nsIDOMWindow aWindow); */
NS_IMETHODIMP nsSlowScriptDebugCallback::HandleSlowScriptDebug(nsIDOMWindow *aWindow)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* End of implementation class template. */
#endif
/* starting interface: nsISlowScriptDebuggerStartupCallback */
#define NS_ISLOWSCRIPTDEBUGGERSTARTUPCALLBACK_IID_STR "b1c6ecd0-8fa4-11e4-b4a9-0800200c9a66"
#define NS_ISLOWSCRIPTDEBUGGERSTARTUPCALLBACK_IID \
{0xb1c6ecd0, 0x8fa4, 0x11e4, \
{ 0xb4, 0xa9, 0x08, 0x00, 0x20, 0x0c, 0x9a, 0x66 }}
class NS_NO_VTABLE nsISlowScriptDebuggerStartupCallback : public nsISupports {
public:
NS_DECLARE_STATIC_IID_ACCESSOR(NS_ISLOWSCRIPTDEBUGGERSTARTUPCALLBACK_IID)
/* void finishDebuggerStartup (); */
NS_IMETHOD FinishDebuggerStartup(void) = 0;
};
NS_DEFINE_STATIC_IID_ACCESSOR(nsISlowScriptDebuggerStartupCallback, NS_ISLOWSCRIPTDEBUGGERSTARTUPCALLBACK_IID)
/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSISLOWSCRIPTDEBUGGERSTARTUPCALLBACK \
NS_IMETHOD FinishDebuggerStartup(void) override;
/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSISLOWSCRIPTDEBUGGERSTARTUPCALLBACK(_to) \
NS_IMETHOD FinishDebuggerStartup(void) override { return _to FinishDebuggerStartup(); }
/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSISLOWSCRIPTDEBUGGERSTARTUPCALLBACK(_to) \
NS_IMETHOD FinishDebuggerStartup(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->FinishDebuggerStartup(); }
#if 0
/* Use the code below as a template for the implementation class for this interface. */
/* Header file */
class nsSlowScriptDebuggerStartupCallback : public nsISlowScriptDebuggerStartupCallback
{
public:
NS_DECL_ISUPPORTS
NS_DECL_NSISLOWSCRIPTDEBUGGERSTARTUPCALLBACK
nsSlowScriptDebuggerStartupCallback();
private:
~nsSlowScriptDebuggerStartupCallback();
protected:
/* additional members */
};
/* Implementation file */
NS_IMPL_ISUPPORTS(nsSlowScriptDebuggerStartupCallback, nsISlowScriptDebuggerStartupCallback)
nsSlowScriptDebuggerStartupCallback::nsSlowScriptDebuggerStartupCallback()
{
/* member initializers and constructor code */
}
nsSlowScriptDebuggerStartupCallback::~nsSlowScriptDebuggerStartupCallback()
{
/* destructor code */
}
/* void finishDebuggerStartup (); */
NS_IMETHODIMP nsSlowScriptDebuggerStartupCallback::FinishDebuggerStartup()
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* End of implementation class template. */
#endif
/* starting interface: nsISlowScriptDebugRemoteCallback */
#define NS_ISLOWSCRIPTDEBUGREMOTECALLBACK_IID_STR "dbee14b0-8fa0-11e4-b4a9-0800200c9a66"
#define NS_ISLOWSCRIPTDEBUGREMOTECALLBACK_IID \
{0xdbee14b0, 0x8fa0, 0x11e4, \
{ 0xb4, 0xa9, 0x08, 0x00, 0x20, 0x0c, 0x9a, 0x66 }}
class NS_NO_VTABLE nsISlowScriptDebugRemoteCallback : public nsISupports {
public:
NS_DECLARE_STATIC_IID_ACCESSOR(NS_ISLOWSCRIPTDEBUGREMOTECALLBACK_IID)
/* void handleSlowScriptDebug (in nsIDOMEventTarget aBrowser, in nsISlowScriptDebuggerStartupCallback aCallback); */
NS_IMETHOD HandleSlowScriptDebug(nsIDOMEventTarget *aBrowser, nsISlowScriptDebuggerStartupCallback *aCallback) = 0;
};
NS_DEFINE_STATIC_IID_ACCESSOR(nsISlowScriptDebugRemoteCallback, NS_ISLOWSCRIPTDEBUGREMOTECALLBACK_IID)
/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSISLOWSCRIPTDEBUGREMOTECALLBACK \
NS_IMETHOD HandleSlowScriptDebug(nsIDOMEventTarget *aBrowser, nsISlowScriptDebuggerStartupCallback *aCallback) override;
/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSISLOWSCRIPTDEBUGREMOTECALLBACK(_to) \
NS_IMETHOD HandleSlowScriptDebug(nsIDOMEventTarget *aBrowser, nsISlowScriptDebuggerStartupCallback *aCallback) override { return _to HandleSlowScriptDebug(aBrowser, aCallback); }
/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSISLOWSCRIPTDEBUGREMOTECALLBACK(_to) \
NS_IMETHOD HandleSlowScriptDebug(nsIDOMEventTarget *aBrowser, nsISlowScriptDebuggerStartupCallback *aCallback) override { return !_to ? NS_ERROR_NULL_POINTER : _to->HandleSlowScriptDebug(aBrowser, aCallback); }
#if 0
/* Use the code below as a template for the implementation class for this interface. */
/* Header file */
class nsSlowScriptDebugRemoteCallback : public nsISlowScriptDebugRemoteCallback
{
public:
NS_DECL_ISUPPORTS
NS_DECL_NSISLOWSCRIPTDEBUGREMOTECALLBACK
nsSlowScriptDebugRemoteCallback();
private:
~nsSlowScriptDebugRemoteCallback();
protected:
/* additional members */
};
/* Implementation file */
NS_IMPL_ISUPPORTS(nsSlowScriptDebugRemoteCallback, nsISlowScriptDebugRemoteCallback)
nsSlowScriptDebugRemoteCallback::nsSlowScriptDebugRemoteCallback()
{
/* member initializers and constructor code */
}
nsSlowScriptDebugRemoteCallback::~nsSlowScriptDebugRemoteCallback()
{
/* destructor code */
}
/* void handleSlowScriptDebug (in nsIDOMEventTarget aBrowser, in nsISlowScriptDebuggerStartupCallback aCallback); */
NS_IMETHODIMP nsSlowScriptDebugRemoteCallback::HandleSlowScriptDebug(nsIDOMEventTarget *aBrowser, nsISlowScriptDebuggerStartupCallback *aCallback)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* End of implementation class template. */
#endif
/* starting interface: nsISlowScriptDebug */
#define NS_ISLOWSCRIPTDEBUG_IID_STR "f75d4164-3aa7-4395-ba44-a5f95b2e8427"
#define NS_ISLOWSCRIPTDEBUG_IID \
{0xf75d4164, 0x3aa7, 0x4395, \
{ 0xba, 0x44, 0xa5, 0xf9, 0x5b, 0x2e, 0x84, 0x27 }}
class NS_NO_VTABLE nsISlowScriptDebug : public nsISupports {
public:
NS_DECLARE_STATIC_IID_ACCESSOR(NS_ISLOWSCRIPTDEBUG_IID)
/* attribute nsISlowScriptDebugCallback activationHandler; */
NS_IMETHOD GetActivationHandler(nsISlowScriptDebugCallback * *aActivationHandler) = 0;
NS_IMETHOD SetActivationHandler(nsISlowScriptDebugCallback *aActivationHandler) = 0;
/* attribute nsISlowScriptDebugRemoteCallback remoteActivationHandler; */
NS_IMETHOD GetRemoteActivationHandler(nsISlowScriptDebugRemoteCallback * *aRemoteActivationHandler) = 0;
NS_IMETHOD SetRemoteActivationHandler(nsISlowScriptDebugRemoteCallback *aRemoteActivationHandler) = 0;
};
NS_DEFINE_STATIC_IID_ACCESSOR(nsISlowScriptDebug, NS_ISLOWSCRIPTDEBUG_IID)
/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSISLOWSCRIPTDEBUG \
NS_IMETHOD GetActivationHandler(nsISlowScriptDebugCallback * *aActivationHandler) override; \
NS_IMETHOD SetActivationHandler(nsISlowScriptDebugCallback *aActivationHandler) override; \
NS_IMETHOD GetRemoteActivationHandler(nsISlowScriptDebugRemoteCallback * *aRemoteActivationHandler) override; \
NS_IMETHOD SetRemoteActivationHandler(nsISlowScriptDebugRemoteCallback *aRemoteActivationHandler) override;
/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSISLOWSCRIPTDEBUG(_to) \
NS_IMETHOD GetActivationHandler(nsISlowScriptDebugCallback * *aActivationHandler) override { return _to GetActivationHandler(aActivationHandler); } \
NS_IMETHOD SetActivationHandler(nsISlowScriptDebugCallback *aActivationHandler) override { return _to SetActivationHandler(aActivationHandler); } \
NS_IMETHOD GetRemoteActivationHandler(nsISlowScriptDebugRemoteCallback * *aRemoteActivationHandler) override { return _to GetRemoteActivationHandler(aRemoteActivationHandler); } \
NS_IMETHOD SetRemoteActivationHandler(nsISlowScriptDebugRemoteCallback *aRemoteActivationHandler) override { return _to SetRemoteActivationHandler(aRemoteActivationHandler); }
/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSISLOWSCRIPTDEBUG(_to) \
NS_IMETHOD GetActivationHandler(nsISlowScriptDebugCallback * *aActivationHandler) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetActivationHandler(aActivationHandler); } \
NS_IMETHOD SetActivationHandler(nsISlowScriptDebugCallback *aActivationHandler) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetActivationHandler(aActivationHandler); } \
NS_IMETHOD GetRemoteActivationHandler(nsISlowScriptDebugRemoteCallback * *aRemoteActivationHandler) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetRemoteActivationHandler(aRemoteActivationHandler); } \
NS_IMETHOD SetRemoteActivationHandler(nsISlowScriptDebugRemoteCallback *aRemoteActivationHandler) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetRemoteActivationHandler(aRemoteActivationHandler); }
#if 0
/* Use the code below as a template for the implementation class for this interface. */
/* Header file */
class nsSlowScriptDebug : public nsISlowScriptDebug
{
public:
NS_DECL_ISUPPORTS
NS_DECL_NSISLOWSCRIPTDEBUG
nsSlowScriptDebug();
private:
~nsSlowScriptDebug();
protected:
/* additional members */
};
/* Implementation file */
NS_IMPL_ISUPPORTS(nsSlowScriptDebug, nsISlowScriptDebug)
nsSlowScriptDebug::nsSlowScriptDebug()
{
/* member initializers and constructor code */
}
nsSlowScriptDebug::~nsSlowScriptDebug()
{
/* destructor code */
}
/* attribute nsISlowScriptDebugCallback activationHandler; */
NS_IMETHODIMP nsSlowScriptDebug::GetActivationHandler(nsISlowScriptDebugCallback * *aActivationHandler)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsSlowScriptDebug::SetActivationHandler(nsISlowScriptDebugCallback *aActivationHandler)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute nsISlowScriptDebugRemoteCallback remoteActivationHandler; */
NS_IMETHODIMP nsSlowScriptDebug::GetRemoteActivationHandler(nsISlowScriptDebugRemoteCallback * *aRemoteActivationHandler)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsSlowScriptDebug::SetRemoteActivationHandler(nsISlowScriptDebugRemoteCallback *aRemoteActivationHandler)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* End of implementation class template. */
#endif
#endif /* __gen_nsISlowScriptDebug_h__ */
|