/usr/include/thunderbird/nsIVisualEventTracer.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 | /*
* DO NOT EDIT. THIS FILE IS GENERATED FROM ../../../dist/idl/nsIVisualEventTracer.idl
*/
#ifndef __gen_nsIVisualEventTracer_h__
#define __gen_nsIVisualEventTracer_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 nsIVisualEventTracerLog; /* forward declaration */
/* starting interface: nsIVisualEventTracer */
#define NS_IVISUALEVENTTRACER_IID_STR "713ee3ca-95e0-4085-8616-f6d64a9508ad"
#define NS_IVISUALEVENTTRACER_IID \
{0x713ee3ca, 0x95e0, 0x4085, \
{ 0x86, 0x16, 0xf6, 0xd6, 0x4a, 0x95, 0x08, 0xad }}
class NS_NO_VTABLE nsIVisualEventTracer : public nsISupports {
public:
NS_DECLARE_STATIC_IID_ACCESSOR(NS_IVISUALEVENTTRACER_IID)
/* void start (in unsigned long minBacklogSeconds); */
NS_IMETHOD Start(uint32_t minBacklogSeconds) = 0;
/* void stop (); */
NS_IMETHOD Stop(void) = 0;
/* nsIVisualEventTracerLog snapshot (); */
NS_IMETHOD Snapshot(nsIVisualEventTracerLog * *_retval) = 0;
};
NS_DEFINE_STATIC_IID_ACCESSOR(nsIVisualEventTracer, NS_IVISUALEVENTTRACER_IID)
/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIVISUALEVENTTRACER \
NS_IMETHOD Start(uint32_t minBacklogSeconds) override; \
NS_IMETHOD Stop(void) override; \
NS_IMETHOD Snapshot(nsIVisualEventTracerLog * *_retval) override;
/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIVISUALEVENTTRACER(_to) \
NS_IMETHOD Start(uint32_t minBacklogSeconds) override { return _to Start(minBacklogSeconds); } \
NS_IMETHOD Stop(void) override { return _to Stop(); } \
NS_IMETHOD Snapshot(nsIVisualEventTracerLog * *_retval) override { return _to Snapshot(_retval); }
/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSIVISUALEVENTTRACER(_to) \
NS_IMETHOD Start(uint32_t minBacklogSeconds) override { return !_to ? NS_ERROR_NULL_POINTER : _to->Start(minBacklogSeconds); } \
NS_IMETHOD Stop(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->Stop(); } \
NS_IMETHOD Snapshot(nsIVisualEventTracerLog * *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->Snapshot(_retval); }
#if 0
/* Use the code below as a template for the implementation class for this interface. */
/* Header file */
class nsVisualEventTracer : public nsIVisualEventTracer
{
public:
NS_DECL_ISUPPORTS
NS_DECL_NSIVISUALEVENTTRACER
nsVisualEventTracer();
private:
~nsVisualEventTracer();
protected:
/* additional members */
};
/* Implementation file */
NS_IMPL_ISUPPORTS(nsVisualEventTracer, nsIVisualEventTracer)
nsVisualEventTracer::nsVisualEventTracer()
{
/* member initializers and constructor code */
}
nsVisualEventTracer::~nsVisualEventTracer()
{
/* destructor code */
}
/* void start (in unsigned long minBacklogSeconds); */
NS_IMETHODIMP nsVisualEventTracer::Start(uint32_t minBacklogSeconds)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void stop (); */
NS_IMETHODIMP nsVisualEventTracer::Stop()
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* nsIVisualEventTracerLog snapshot (); */
NS_IMETHODIMP nsVisualEventTracer::Snapshot(nsIVisualEventTracerLog * *_retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* End of implementation class template. */
#endif
/* starting interface: nsIVisualEventTracerLog */
#define NS_IVISUALEVENTTRACERLOG_IID_STR "8ec6e36d-6cba-400b-bcd6-454679f5f75a"
#define NS_IVISUALEVENTTRACERLOG_IID \
{0x8ec6e36d, 0x6cba, 0x400b, \
{ 0xbc, 0xd6, 0x45, 0x46, 0x79, 0xf5, 0xf7, 0x5a }}
class NS_NO_VTABLE nsIVisualEventTracerLog : public nsISupports {
public:
NS_DECLARE_STATIC_IID_ACCESSOR(NS_IVISUALEVENTTRACERLOG_IID)
/* readonly attribute ACString JSONString; */
NS_IMETHOD GetJSONString(nsACString & aJSONString) = 0;
/* void writeToProfilingFile (); */
NS_IMETHOD WriteToProfilingFile(void) = 0;
};
NS_DEFINE_STATIC_IID_ACCESSOR(nsIVisualEventTracerLog, NS_IVISUALEVENTTRACERLOG_IID)
/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIVISUALEVENTTRACERLOG \
NS_IMETHOD GetJSONString(nsACString & aJSONString) override; \
NS_IMETHOD WriteToProfilingFile(void) override;
/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIVISUALEVENTTRACERLOG(_to) \
NS_IMETHOD GetJSONString(nsACString & aJSONString) override { return _to GetJSONString(aJSONString); } \
NS_IMETHOD WriteToProfilingFile(void) override { return _to WriteToProfilingFile(); }
/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSIVISUALEVENTTRACERLOG(_to) \
NS_IMETHOD GetJSONString(nsACString & aJSONString) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetJSONString(aJSONString); } \
NS_IMETHOD WriteToProfilingFile(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->WriteToProfilingFile(); }
#if 0
/* Use the code below as a template for the implementation class for this interface. */
/* Header file */
class nsVisualEventTracerLog : public nsIVisualEventTracerLog
{
public:
NS_DECL_ISUPPORTS
NS_DECL_NSIVISUALEVENTTRACERLOG
nsVisualEventTracerLog();
private:
~nsVisualEventTracerLog();
protected:
/* additional members */
};
/* Implementation file */
NS_IMPL_ISUPPORTS(nsVisualEventTracerLog, nsIVisualEventTracerLog)
nsVisualEventTracerLog::nsVisualEventTracerLog()
{
/* member initializers and constructor code */
}
nsVisualEventTracerLog::~nsVisualEventTracerLog()
{
/* destructor code */
}
/* readonly attribute ACString JSONString; */
NS_IMETHODIMP nsVisualEventTracerLog::GetJSONString(nsACString & aJSONString)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void writeToProfilingFile (); */
NS_IMETHODIMP nsVisualEventTracerLog::WriteToProfilingFile()
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* End of implementation class template. */
#endif
#endif /* __gen_nsIVisualEventTracer_h__ */
|