/usr/include/thunderbird/mozIAsyncLivemarks.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 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 | /*
* DO NOT EDIT. THIS FILE IS GENERATED FROM ../../../dist/idl/mozIAsyncLivemarks.idl
*/
#ifndef __gen_mozIAsyncLivemarks_h__
#define __gen_mozIAsyncLivemarks_h__
#ifndef __gen_nsISupports_h__
#include "nsISupports.h"
#endif
#include "js/Value.h"
/* For IDL files that don't want to include root IDL files. */
#ifndef NS_NO_VTABLE
#define NS_NO_VTABLE
#endif
class nsIURI; /* forward declaration */
class mozILivemarkCallback; /* forward declaration */
class mozILivemarkInfo; /* forward declaration */
class mozILivemark; /* forward declaration */
class nsINavHistoryResultObserver; /* forward declaration */
/* starting interface: mozIAsyncLivemarks */
#define MOZIASYNCLIVEMARKS_IID_STR "5b48e5a2-f07a-4e64-a935-c722a3d60b65"
#define MOZIASYNCLIVEMARKS_IID \
{0x5b48e5a2, 0xf07a, 0x4e64, \
{ 0xa9, 0x35, 0xc7, 0x22, 0xa3, 0xd6, 0x0b, 0x65 }}
class NS_NO_VTABLE mozIAsyncLivemarks : public nsISupports {
public:
NS_DECLARE_STATIC_IID_ACCESSOR(MOZIASYNCLIVEMARKS_IID)
/* jsval addLivemark (in jsval aLivemarkInfo, [optional] in mozILivemarkCallback aCallback); */
NS_IMETHOD AddLivemark(JS::HandleValue aLivemarkInfo, mozILivemarkCallback *aCallback, JS::MutableHandleValue _retval) = 0;
/* jsval removeLivemark (in jsval aLivemarkInfo, [optional] in mozILivemarkCallback aCallback); */
NS_IMETHOD RemoveLivemark(JS::HandleValue aLivemarkInfo, mozILivemarkCallback *aCallback, JS::MutableHandleValue _retval) = 0;
/* jsval getLivemark (in jsval aLivemarkInfo, [optional] in mozILivemarkCallback aCallback); */
NS_IMETHOD GetLivemark(JS::HandleValue aLivemarkInfo, mozILivemarkCallback *aCallback, JS::MutableHandleValue _retval) = 0;
/* void reloadLivemarks ([optional] in boolean aForceUpdate); */
NS_IMETHOD ReloadLivemarks(bool aForceUpdate) = 0;
};
NS_DEFINE_STATIC_IID_ACCESSOR(mozIAsyncLivemarks, MOZIASYNCLIVEMARKS_IID)
/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_MOZIASYNCLIVEMARKS \
NS_IMETHOD AddLivemark(JS::HandleValue aLivemarkInfo, mozILivemarkCallback *aCallback, JS::MutableHandleValue _retval) override; \
NS_IMETHOD RemoveLivemark(JS::HandleValue aLivemarkInfo, mozILivemarkCallback *aCallback, JS::MutableHandleValue _retval) override; \
NS_IMETHOD GetLivemark(JS::HandleValue aLivemarkInfo, mozILivemarkCallback *aCallback, JS::MutableHandleValue _retval) override; \
NS_IMETHOD ReloadLivemarks(bool aForceUpdate) override;
/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_MOZIASYNCLIVEMARKS(_to) \
NS_IMETHOD AddLivemark(JS::HandleValue aLivemarkInfo, mozILivemarkCallback *aCallback, JS::MutableHandleValue _retval) override { return _to AddLivemark(aLivemarkInfo, aCallback, _retval); } \
NS_IMETHOD RemoveLivemark(JS::HandleValue aLivemarkInfo, mozILivemarkCallback *aCallback, JS::MutableHandleValue _retval) override { return _to RemoveLivemark(aLivemarkInfo, aCallback, _retval); } \
NS_IMETHOD GetLivemark(JS::HandleValue aLivemarkInfo, mozILivemarkCallback *aCallback, JS::MutableHandleValue _retval) override { return _to GetLivemark(aLivemarkInfo, aCallback, _retval); } \
NS_IMETHOD ReloadLivemarks(bool aForceUpdate) override { return _to ReloadLivemarks(aForceUpdate); }
/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_MOZIASYNCLIVEMARKS(_to) \
NS_IMETHOD AddLivemark(JS::HandleValue aLivemarkInfo, mozILivemarkCallback *aCallback, JS::MutableHandleValue _retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->AddLivemark(aLivemarkInfo, aCallback, _retval); } \
NS_IMETHOD RemoveLivemark(JS::HandleValue aLivemarkInfo, mozILivemarkCallback *aCallback, JS::MutableHandleValue _retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->RemoveLivemark(aLivemarkInfo, aCallback, _retval); } \
NS_IMETHOD GetLivemark(JS::HandleValue aLivemarkInfo, mozILivemarkCallback *aCallback, JS::MutableHandleValue _retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLivemark(aLivemarkInfo, aCallback, _retval); } \
NS_IMETHOD ReloadLivemarks(bool aForceUpdate) override { return !_to ? NS_ERROR_NULL_POINTER : _to->ReloadLivemarks(aForceUpdate); }
#if 0
/* Use the code below as a template for the implementation class for this interface. */
/* Header file */
class _MYCLASS_ : public mozIAsyncLivemarks
{
public:
NS_DECL_ISUPPORTS
NS_DECL_MOZIASYNCLIVEMARKS
_MYCLASS_();
private:
~_MYCLASS_();
protected:
/* additional members */
};
/* Implementation file */
NS_IMPL_ISUPPORTS(_MYCLASS_, mozIAsyncLivemarks)
_MYCLASS_::_MYCLASS_()
{
/* member initializers and constructor code */
}
_MYCLASS_::~_MYCLASS_()
{
/* destructor code */
}
/* jsval addLivemark (in jsval aLivemarkInfo, [optional] in mozILivemarkCallback aCallback); */
NS_IMETHODIMP _MYCLASS_::AddLivemark(JS::HandleValue aLivemarkInfo, mozILivemarkCallback *aCallback, JS::MutableHandleValue _retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* jsval removeLivemark (in jsval aLivemarkInfo, [optional] in mozILivemarkCallback aCallback); */
NS_IMETHODIMP _MYCLASS_::RemoveLivemark(JS::HandleValue aLivemarkInfo, mozILivemarkCallback *aCallback, JS::MutableHandleValue _retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* jsval getLivemark (in jsval aLivemarkInfo, [optional] in mozILivemarkCallback aCallback); */
NS_IMETHODIMP _MYCLASS_::GetLivemark(JS::HandleValue aLivemarkInfo, mozILivemarkCallback *aCallback, JS::MutableHandleValue _retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void reloadLivemarks ([optional] in boolean aForceUpdate); */
NS_IMETHODIMP _MYCLASS_::ReloadLivemarks(bool aForceUpdate)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* End of implementation class template. */
#endif
/* starting interface: mozILivemarkCallback */
#define MOZILIVEMARKCALLBACK_IID_STR "62a426f9-39a6-42f0-ad48-b7404d48188f"
#define MOZILIVEMARKCALLBACK_IID \
{0x62a426f9, 0x39a6, 0x42f0, \
{ 0xad, 0x48, 0xb7, 0x40, 0x4d, 0x48, 0x18, 0x8f }}
class NS_NO_VTABLE mozILivemarkCallback : public nsISupports {
public:
NS_DECLARE_STATIC_IID_ACCESSOR(MOZILIVEMARKCALLBACK_IID)
/* void onCompletion (in nsresult aStatus, in mozILivemark aLivemark); */
NS_IMETHOD OnCompletion(nsresult aStatus, mozILivemark *aLivemark) = 0;
};
NS_DEFINE_STATIC_IID_ACCESSOR(mozILivemarkCallback, MOZILIVEMARKCALLBACK_IID)
/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_MOZILIVEMARKCALLBACK \
NS_IMETHOD OnCompletion(nsresult aStatus, mozILivemark *aLivemark) override;
/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_MOZILIVEMARKCALLBACK(_to) \
NS_IMETHOD OnCompletion(nsresult aStatus, mozILivemark *aLivemark) override { return _to OnCompletion(aStatus, aLivemark); }
/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_MOZILIVEMARKCALLBACK(_to) \
NS_IMETHOD OnCompletion(nsresult aStatus, mozILivemark *aLivemark) override { return !_to ? NS_ERROR_NULL_POINTER : _to->OnCompletion(aStatus, aLivemark); }
#if 0
/* Use the code below as a template for the implementation class for this interface. */
/* Header file */
class _MYCLASS_ : public mozILivemarkCallback
{
public:
NS_DECL_ISUPPORTS
NS_DECL_MOZILIVEMARKCALLBACK
_MYCLASS_();
private:
~_MYCLASS_();
protected:
/* additional members */
};
/* Implementation file */
NS_IMPL_ISUPPORTS(_MYCLASS_, mozILivemarkCallback)
_MYCLASS_::_MYCLASS_()
{
/* member initializers and constructor code */
}
_MYCLASS_::~_MYCLASS_()
{
/* destructor code */
}
/* void onCompletion (in nsresult aStatus, in mozILivemark aLivemark); */
NS_IMETHODIMP _MYCLASS_::OnCompletion(nsresult aStatus, mozILivemark *aLivemark)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* End of implementation class template. */
#endif
/* starting interface: mozILivemarkInfo */
#define MOZILIVEMARKINFO_IID_STR "e52b2273-729d-4ebc-a039-e9cd9e18ff86"
#define MOZILIVEMARKINFO_IID \
{0xe52b2273, 0x729d, 0x4ebc, \
{ 0xa0, 0x39, 0xe9, 0xcd, 0x9e, 0x18, 0xff, 0x86 }}
class NS_NO_VTABLE mozILivemarkInfo : public nsISupports {
public:
NS_DECLARE_STATIC_IID_ACCESSOR(MOZILIVEMARKINFO_IID)
/* readonly attribute long long id; */
NS_IMETHOD GetId(int64_t *aId) = 0;
/* readonly attribute ACString guid; */
NS_IMETHOD GetGuid(nsACString & aGuid) = 0;
/* readonly attribute AString title; */
NS_IMETHOD GetTitle(nsAString & aTitle) = 0;
/* readonly attribute long long parentId; */
NS_IMETHOD GetParentId(int64_t *aParentId) = 0;
/* readonly attribute long index; */
NS_IMETHOD GetIndex(int32_t *aIndex) = 0;
/* readonly attribute PRTime dateAdded; */
NS_IMETHOD GetDateAdded(PRTime *aDateAdded) = 0;
/* readonly attribute PRTime lastModified; */
NS_IMETHOD GetLastModified(PRTime *aLastModified) = 0;
/* readonly attribute nsIURI feedURI; */
NS_IMETHOD GetFeedURI(nsIURI * *aFeedURI) = 0;
/* readonly attribute nsIURI siteURI; */
NS_IMETHOD GetSiteURI(nsIURI * *aSiteURI) = 0;
};
NS_DEFINE_STATIC_IID_ACCESSOR(mozILivemarkInfo, MOZILIVEMARKINFO_IID)
/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_MOZILIVEMARKINFO \
NS_IMETHOD GetId(int64_t *aId) override; \
NS_IMETHOD GetGuid(nsACString & aGuid) override; \
NS_IMETHOD GetTitle(nsAString & aTitle) override; \
NS_IMETHOD GetParentId(int64_t *aParentId) override; \
NS_IMETHOD GetIndex(int32_t *aIndex) override; \
NS_IMETHOD GetDateAdded(PRTime *aDateAdded) override; \
NS_IMETHOD GetLastModified(PRTime *aLastModified) override; \
NS_IMETHOD GetFeedURI(nsIURI * *aFeedURI) override; \
NS_IMETHOD GetSiteURI(nsIURI * *aSiteURI) override;
/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_MOZILIVEMARKINFO(_to) \
NS_IMETHOD GetId(int64_t *aId) override { return _to GetId(aId); } \
NS_IMETHOD GetGuid(nsACString & aGuid) override { return _to GetGuid(aGuid); } \
NS_IMETHOD GetTitle(nsAString & aTitle) override { return _to GetTitle(aTitle); } \
NS_IMETHOD GetParentId(int64_t *aParentId) override { return _to GetParentId(aParentId); } \
NS_IMETHOD GetIndex(int32_t *aIndex) override { return _to GetIndex(aIndex); } \
NS_IMETHOD GetDateAdded(PRTime *aDateAdded) override { return _to GetDateAdded(aDateAdded); } \
NS_IMETHOD GetLastModified(PRTime *aLastModified) override { return _to GetLastModified(aLastModified); } \
NS_IMETHOD GetFeedURI(nsIURI * *aFeedURI) override { return _to GetFeedURI(aFeedURI); } \
NS_IMETHOD GetSiteURI(nsIURI * *aSiteURI) override { return _to GetSiteURI(aSiteURI); }
/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_MOZILIVEMARKINFO(_to) \
NS_IMETHOD GetId(int64_t *aId) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetId(aId); } \
NS_IMETHOD GetGuid(nsACString & aGuid) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetGuid(aGuid); } \
NS_IMETHOD GetTitle(nsAString & aTitle) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetTitle(aTitle); } \
NS_IMETHOD GetParentId(int64_t *aParentId) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetParentId(aParentId); } \
NS_IMETHOD GetIndex(int32_t *aIndex) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetIndex(aIndex); } \
NS_IMETHOD GetDateAdded(PRTime *aDateAdded) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDateAdded(aDateAdded); } \
NS_IMETHOD GetLastModified(PRTime *aLastModified) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLastModified(aLastModified); } \
NS_IMETHOD GetFeedURI(nsIURI * *aFeedURI) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetFeedURI(aFeedURI); } \
NS_IMETHOD GetSiteURI(nsIURI * *aSiteURI) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSiteURI(aSiteURI); }
#if 0
/* Use the code below as a template for the implementation class for this interface. */
/* Header file */
class _MYCLASS_ : public mozILivemarkInfo
{
public:
NS_DECL_ISUPPORTS
NS_DECL_MOZILIVEMARKINFO
_MYCLASS_();
private:
~_MYCLASS_();
protected:
/* additional members */
};
/* Implementation file */
NS_IMPL_ISUPPORTS(_MYCLASS_, mozILivemarkInfo)
_MYCLASS_::_MYCLASS_()
{
/* member initializers and constructor code */
}
_MYCLASS_::~_MYCLASS_()
{
/* destructor code */
}
/* readonly attribute long long id; */
NS_IMETHODIMP _MYCLASS_::GetId(int64_t *aId)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute ACString guid; */
NS_IMETHODIMP _MYCLASS_::GetGuid(nsACString & aGuid)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute AString title; */
NS_IMETHODIMP _MYCLASS_::GetTitle(nsAString & aTitle)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute long long parentId; */
NS_IMETHODIMP _MYCLASS_::GetParentId(int64_t *aParentId)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute long index; */
NS_IMETHODIMP _MYCLASS_::GetIndex(int32_t *aIndex)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute PRTime dateAdded; */
NS_IMETHODIMP _MYCLASS_::GetDateAdded(PRTime *aDateAdded)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute PRTime lastModified; */
NS_IMETHODIMP _MYCLASS_::GetLastModified(PRTime *aLastModified)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute nsIURI feedURI; */
NS_IMETHODIMP _MYCLASS_::GetFeedURI(nsIURI * *aFeedURI)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute nsIURI siteURI; */
NS_IMETHODIMP _MYCLASS_::GetSiteURI(nsIURI * *aSiteURI)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* End of implementation class template. */
#endif
/* starting interface: mozILivemark */
#define MOZILIVEMARK_IID_STR "9f6fdfae-db9a-4bd8-bde1-148758cf1b18"
#define MOZILIVEMARK_IID \
{0x9f6fdfae, 0xdb9a, 0x4bd8, \
{ 0xbd, 0xe1, 0x14, 0x87, 0x58, 0xcf, 0x1b, 0x18 }}
class NS_NO_VTABLE mozILivemark : public mozILivemarkInfo {
public:
NS_DECLARE_STATIC_IID_ACCESSOR(MOZILIVEMARK_IID)
enum {
STATUS_READY = 0U,
STATUS_LOADING = 1U,
STATUS_FAILED = 2U
};
/* readonly attribute unsigned short status; */
NS_IMETHOD GetStatus(uint16_t *aStatus) = 0;
/* void reload ([optional] in boolean aForceUpdate); */
NS_IMETHOD Reload(bool aForceUpdate) = 0;
/* jsval getNodesForContainer (in jsval aContainerNode); */
NS_IMETHOD GetNodesForContainer(JS::HandleValue aContainerNode, JS::MutableHandleValue _retval) = 0;
/* void registerForUpdates (in jsval aContainerNode, in nsINavHistoryResultObserver aResultObserver); */
NS_IMETHOD RegisterForUpdates(JS::HandleValue aContainerNode, nsINavHistoryResultObserver *aResultObserver) = 0;
/* void unregisterForUpdates (in jsval aContainerNode); */
NS_IMETHOD UnregisterForUpdates(JS::HandleValue aContainerNode) = 0;
};
NS_DEFINE_STATIC_IID_ACCESSOR(mozILivemark, MOZILIVEMARK_IID)
/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_MOZILIVEMARK \
NS_IMETHOD GetStatus(uint16_t *aStatus) override; \
NS_IMETHOD Reload(bool aForceUpdate) override; \
NS_IMETHOD GetNodesForContainer(JS::HandleValue aContainerNode, JS::MutableHandleValue _retval) override; \
NS_IMETHOD RegisterForUpdates(JS::HandleValue aContainerNode, nsINavHistoryResultObserver *aResultObserver) override; \
NS_IMETHOD UnregisterForUpdates(JS::HandleValue aContainerNode) override;
/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_MOZILIVEMARK(_to) \
NS_IMETHOD GetStatus(uint16_t *aStatus) override { return _to GetStatus(aStatus); } \
NS_IMETHOD Reload(bool aForceUpdate) override { return _to Reload(aForceUpdate); } \
NS_IMETHOD GetNodesForContainer(JS::HandleValue aContainerNode, JS::MutableHandleValue _retval) override { return _to GetNodesForContainer(aContainerNode, _retval); } \
NS_IMETHOD RegisterForUpdates(JS::HandleValue aContainerNode, nsINavHistoryResultObserver *aResultObserver) override { return _to RegisterForUpdates(aContainerNode, aResultObserver); } \
NS_IMETHOD UnregisterForUpdates(JS::HandleValue aContainerNode) override { return _to UnregisterForUpdates(aContainerNode); }
/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_MOZILIVEMARK(_to) \
NS_IMETHOD GetStatus(uint16_t *aStatus) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetStatus(aStatus); } \
NS_IMETHOD Reload(bool aForceUpdate) override { return !_to ? NS_ERROR_NULL_POINTER : _to->Reload(aForceUpdate); } \
NS_IMETHOD GetNodesForContainer(JS::HandleValue aContainerNode, JS::MutableHandleValue _retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetNodesForContainer(aContainerNode, _retval); } \
NS_IMETHOD RegisterForUpdates(JS::HandleValue aContainerNode, nsINavHistoryResultObserver *aResultObserver) override { return !_to ? NS_ERROR_NULL_POINTER : _to->RegisterForUpdates(aContainerNode, aResultObserver); } \
NS_IMETHOD UnregisterForUpdates(JS::HandleValue aContainerNode) override { return !_to ? NS_ERROR_NULL_POINTER : _to->UnregisterForUpdates(aContainerNode); }
#if 0
/* Use the code below as a template for the implementation class for this interface. */
/* Header file */
class _MYCLASS_ : public mozILivemark
{
public:
NS_DECL_ISUPPORTS
NS_DECL_MOZILIVEMARK
_MYCLASS_();
private:
~_MYCLASS_();
protected:
/* additional members */
};
/* Implementation file */
NS_IMPL_ISUPPORTS(_MYCLASS_, mozILivemark)
_MYCLASS_::_MYCLASS_()
{
/* member initializers and constructor code */
}
_MYCLASS_::~_MYCLASS_()
{
/* destructor code */
}
/* readonly attribute unsigned short status; */
NS_IMETHODIMP _MYCLASS_::GetStatus(uint16_t *aStatus)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void reload ([optional] in boolean aForceUpdate); */
NS_IMETHODIMP _MYCLASS_::Reload(bool aForceUpdate)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* jsval getNodesForContainer (in jsval aContainerNode); */
NS_IMETHODIMP _MYCLASS_::GetNodesForContainer(JS::HandleValue aContainerNode, JS::MutableHandleValue _retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void registerForUpdates (in jsval aContainerNode, in nsINavHistoryResultObserver aResultObserver); */
NS_IMETHODIMP _MYCLASS_::RegisterForUpdates(JS::HandleValue aContainerNode, nsINavHistoryResultObserver *aResultObserver)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void unregisterForUpdates (in jsval aContainerNode); */
NS_IMETHODIMP _MYCLASS_::UnregisterForUpdates(JS::HandleValue aContainerNode)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* End of implementation class template. */
#endif
#endif /* __gen_mozIAsyncLivemarks_h__ */
|