1 : /*
2 : * DO NOT EDIT. THIS FILE IS GENERATED FROM /builds/slave/m-beta-lnx-codecoverage/build/js/xpconnect/idl/nsIJSEngineTelemetryStats.idl
3 : */
4 :
5 : #ifndef __gen_nsIJSEngineTelemetryStats_h__
6 : #define __gen_nsIJSEngineTelemetryStats_h__
7 :
8 :
9 : #ifndef __gen_nsISupports_h__
10 : #include "nsISupports.h"
11 : #endif
12 :
13 : #include "jspubtd.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: nsIJSEngineTelemetryStats */
21 : #define NS_IJSENGINETELEMETRYSTATS_IID_STR "5a6ea52b-4e23-402f-93e3-59f29b2f1a88"
22 :
23 : #define NS_IJSENGINETELEMETRYSTATS_IID \
24 : {0x5a6ea52b, 0x4e23, 0x402f, \
25 : { 0x93, 0xe3, 0x59, 0xf2, 0x9b, 0x2f, 0x1a, 0x88 }}
26 :
27 1404 : class NS_NO_VTABLE NS_SCRIPTABLE nsIJSEngineTelemetryStats : public nsISupports {
28 : public:
29 :
30 : NS_DECLARE_STATIC_IID_ACCESSOR(NS_IJSENGINETELEMETRYSTATS_IID)
31 :
32 : /* [implicit_jscontext] readonly attribute jsval telemetryValue; */
33 : NS_SCRIPTABLE NS_IMETHOD GetTelemetryValue(JSContext* cx, JS::Value *aTelemetryValue) = 0;
34 :
35 : };
36 :
37 : NS_DEFINE_STATIC_IID_ACCESSOR(nsIJSEngineTelemetryStats, NS_IJSENGINETELEMETRYSTATS_IID)
38 :
39 : /* Use this macro when declaring classes that implement this interface. */
40 : #define NS_DECL_NSIJSENGINETELEMETRYSTATS \
41 : NS_SCRIPTABLE NS_IMETHOD GetTelemetryValue(JSContext* cx, JS::Value *aTelemetryValue);
42 :
43 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
44 : #define NS_FORWARD_NSIJSENGINETELEMETRYSTATS(_to) \
45 : NS_SCRIPTABLE NS_IMETHOD GetTelemetryValue(JSContext* cx, JS::Value *aTelemetryValue) { return _to GetTelemetryValue(cx, aTelemetryValue); }
46 :
47 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
48 : #define NS_FORWARD_SAFE_NSIJSENGINETELEMETRYSTATS(_to) \
49 : NS_SCRIPTABLE NS_IMETHOD GetTelemetryValue(JSContext* cx, JS::Value *aTelemetryValue) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetTelemetryValue(cx, aTelemetryValue); }
50 :
51 : #if 0
52 : /* Use the code below as a template for the implementation class for this interface. */
53 :
54 : /* Header file */
55 : class nsJSEngineTelemetryStats : public nsIJSEngineTelemetryStats
56 : {
57 : public:
58 : NS_DECL_ISUPPORTS
59 : NS_DECL_NSIJSENGINETELEMETRYSTATS
60 :
61 : nsJSEngineTelemetryStats();
62 :
63 : private:
64 : ~nsJSEngineTelemetryStats();
65 :
66 : protected:
67 : /* additional members */
68 : };
69 :
70 : /* Implementation file */
71 : NS_IMPL_ISUPPORTS1(nsJSEngineTelemetryStats, nsIJSEngineTelemetryStats)
72 :
73 : nsJSEngineTelemetryStats::nsJSEngineTelemetryStats()
74 : {
75 : /* member initializers and constructor code */
76 : }
77 :
78 : nsJSEngineTelemetryStats::~nsJSEngineTelemetryStats()
79 : {
80 : /* destructor code */
81 : }
82 :
83 : /* [implicit_jscontext] readonly attribute jsval telemetryValue; */
84 : NS_IMETHODIMP nsJSEngineTelemetryStats::GetTelemetryValue(JSContext* cx, JS::Value *aTelemetryValue)
85 : {
86 : return NS_ERROR_NOT_IMPLEMENTED;
87 : }
88 :
89 : /* End of implementation class template. */
90 : #endif
91 :
92 :
93 : #endif /* __gen_nsIJSEngineTelemetryStats_h__ */
|