Coverage Report

Created: 2018-09-25 14:53

/work/obj-fuzz/dist/include/nsIInterfaceRequestor.h
Line
Count
Source (jump to first uncovered line)
1
/*
2
 * DO NOT EDIT.  THIS FILE IS GENERATED FROM /src/mozilla-central/xpcom/base/nsIInterfaceRequestor.idl
3
 */
4
5
#ifndef __gen_nsIInterfaceRequestor_h__
6
#define __gen_nsIInterfaceRequestor_h__
7
8
9
#ifndef __gen_nsISupports_h__
10
#include "nsISupports.h"
11
#endif
12
13
#include "js/GCAnnotations.h"
14
15
/* For IDL files that don't want to include root IDL files. */
16
#ifndef NS_NO_VTABLE
17
#define NS_NO_VTABLE
18
#endif
19
20
/* starting interface:    nsIInterfaceRequestor */
21
#define NS_IINTERFACEREQUESTOR_IID_STR "033a1470-8b2a-11d3-af88-00a024ffc08c"
22
23
#define NS_IINTERFACEREQUESTOR_IID \
24
  {0x033a1470, 0x8b2a, 0x11d3, \
25
    { 0xaf, 0x88, 0x00, 0xa0, 0x24, 0xff, 0xc0, 0x8c }}
26
27
class NS_NO_VTABLE nsIInterfaceRequestor : public nsISupports {
28
 public:
29
30
  NS_DECLARE_STATIC_IID_ACCESSOR(NS_IINTERFACEREQUESTOR_IID)
31
32
  /* void getInterface (in nsIIDRef uuid, [iid_is (uuid), retval] out nsQIResult result); */
33
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetInterface(const nsIID & uuid, void * * result) = 0;
34
35
};
36
37
  NS_DEFINE_STATIC_IID_ACCESSOR(nsIInterfaceRequestor, NS_IINTERFACEREQUESTOR_IID)
38
39
/* Use this macro when declaring classes that implement this interface. */
40
#define NS_DECL_NSIINTERFACEREQUESTOR \
41
  NS_IMETHOD GetInterface(const nsIID & uuid, void * * result) override; 
42
43
/* Use this macro when declaring the members of this interface when the
44
   class doesn't implement the interface. This is useful for forwarding. */
45
#define NS_DECL_NON_VIRTUAL_NSIINTERFACEREQUESTOR \
46
  nsresult GetInterface(const nsIID & uuid, void * * result); 
47
48
/* Use this macro to declare functions that forward the behavior of this interface to another object. */
49
#define NS_FORWARD_NSIINTERFACEREQUESTOR(_to) \
50
0
  NS_IMETHOD GetInterface(const nsIID & uuid, void * * result) override { return _to GetInterface(uuid, result); } 
Unexecuted instantiation: nsExternalResourceMap::LoadgroupCallbacks::nsILoadContextShim::GetInterface(nsID const&, void**)
Unexecuted instantiation: nsExternalResourceMap::LoadgroupCallbacks::nsIProgressEventSinkShim::GetInterface(nsID const&, void**)
Unexecuted instantiation: nsExternalResourceMap::LoadgroupCallbacks::nsIChannelEventSinkShim::GetInterface(nsID const&, void**)
Unexecuted instantiation: nsExternalResourceMap::LoadgroupCallbacks::nsISecurityEventSinkShim::GetInterface(nsID const&, void**)
Unexecuted instantiation: nsExternalResourceMap::LoadgroupCallbacks::nsIApplicationCacheContainerShim::GetInterface(nsID const&, void**)
51
52
/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
53
#define NS_FORWARD_SAFE_NSIINTERFACEREQUESTOR(_to) \
54
0
  NS_IMETHOD GetInterface(const nsIID & uuid, void * * result) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetInterface(uuid, result); } 
55
56
57
#endif /* __gen_nsIInterfaceRequestor_h__ */