DXR is a code search and navigation tool aimed at making sense of large projects. It supports full-text and regex searches as well as structural queries.

Untracked file

Line Code
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
/*
 * DO NOT EDIT.  THIS FILE IS GENERATED FROM ../../../dist/idl/NotXPCOMTest.idl
 */

#ifndef __gen_NotXPCOMTest_h__
#define __gen_NotXPCOMTest_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

/* starting interface:    ScriptableOK */
#define SCRIPTABLEOK_IID_STR "93142a4f-e4cf-424a-b833-e638f87d2607"

#define SCRIPTABLEOK_IID \
  {0x93142a4f, 0xe4cf, 0x424a, \
    { 0xb8, 0x33, 0xe6, 0x38, 0xf8, 0x7d, 0x26, 0x07 }}

class NS_NO_VTABLE ScriptableOK : public nsISupports {
 public:

  NS_DECLARE_STATIC_IID_ACCESSOR(SCRIPTABLEOK_IID)

  /* void method1 (); */
  NS_IMETHOD Method1(void) = 0;

};

  NS_DEFINE_STATIC_IID_ACCESSOR(ScriptableOK, SCRIPTABLEOK_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_SCRIPTABLEOK \
  NS_IMETHOD Method1(void) override; 

/* Use this macro when declaring the members of this interface when the
   class doesn't implement the interface. This is useful for forwarding. */
#define NS_DECL_NON_VIRTUAL_SCRIPTABLEOK \
  nsresult Method1(void); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_SCRIPTABLEOK(_to) \
  NS_IMETHOD Method1(void) override { return _to Method1(); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_SCRIPTABLEOK(_to) \
  NS_IMETHOD Method1(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->Method1(); } 

#if 0
/* Use the code below as a template for the implementation class for this interface. */

/* Header file */
class _MYCLASS_ : public ScriptableOK
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_SCRIPTABLEOK

  _MYCLASS_();

private:
  ~_MYCLASS_();

protected:
  /* additional members */
};

/* Implementation file */
NS_IMPL_ISUPPORTS(_MYCLASS_, ScriptableOK)

_MYCLASS_::_MYCLASS_()
{
  /* member initializers and constructor code */
}

_MYCLASS_::~_MYCLASS_()
{
  /* destructor code */
}

/* void method1 (); */
NS_IMETHODIMP _MYCLASS_::Method1()
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* End of implementation class template. */
#endif


/* starting interface:    ScriptableWithNotXPCOM */
#define SCRIPTABLEWITHNOTXPCOM_IID_STR "237d01a3-771e-4c6e-adf9-c97f9aab2950"

#define SCRIPTABLEWITHNOTXPCOM_IID \
  {0x237d01a3, 0x771e, 0x4c6e, \
    { 0xad, 0xf9, 0xc9, 0x7f, 0x9a, 0xab, 0x29, 0x50 }}

class NS_NO_VTABLE ScriptableWithNotXPCOM : public nsISupports {
 public:

  NS_DECLARE_STATIC_IID_ACCESSOR(SCRIPTABLEWITHNOTXPCOM_IID)

  /* [notxpcom] void method2 (); */
  NS_IMETHOD_(void) Method2(void) = 0;

};

  NS_DEFINE_STATIC_IID_ACCESSOR(ScriptableWithNotXPCOM, SCRIPTABLEWITHNOTXPCOM_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_SCRIPTABLEWITHNOTXPCOM \
  NS_IMETHOD_(void) Method2(void) override; 

/* Use this macro when declaring the members of this interface when the
   class doesn't implement the interface. This is useful for forwarding. */
#define NS_DECL_NON_VIRTUAL_SCRIPTABLEWITHNOTXPCOM \
  nsresult_(void) Method2(void); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_SCRIPTABLEWITHNOTXPCOM(_to) \
  NS_IMETHOD_(void) Method2(void) override { return _to Method2(); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_SCRIPTABLEWITHNOTXPCOM(_to) \
  NS_IMETHOD_(void) Method2(void) override; 

#if 0
/* Use the code below as a template for the implementation class for this interface. */

/* Header file */
class _MYCLASS_ : public ScriptableWithNotXPCOM
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_SCRIPTABLEWITHNOTXPCOM

  _MYCLASS_();

private:
  ~_MYCLASS_();

protected:
  /* additional members */
};

/* Implementation file */
NS_IMPL_ISUPPORTS(_MYCLASS_, ScriptableWithNotXPCOM)

_MYCLASS_::_MYCLASS_()
{
  /* member initializers and constructor code */
}

_MYCLASS_::~_MYCLASS_()
{
  /* destructor code */
}

/* [notxpcom] void method2 (); */
NS_IMETHODIMP_(void) _MYCLASS_::Method2()
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* End of implementation class template. */
#endif


/* starting interface:    ScriptableWithNotXPCOMBase */
#define SCRIPTABLEWITHNOTXPCOMBASE_IID_STR "4f06ec60-3bb3-4712-ab18-b2b595285558"

#define SCRIPTABLEWITHNOTXPCOMBASE_IID \
  {0x4f06ec60, 0x3bb3, 0x4712, \
    { 0xab, 0x18, 0xb2, 0xb5, 0x95, 0x28, 0x55, 0x58 }}

class NS_NO_VTABLE ScriptableWithNotXPCOMBase : public ScriptableWithNotXPCOM {
 public:

  NS_DECLARE_STATIC_IID_ACCESSOR(SCRIPTABLEWITHNOTXPCOMBASE_IID)

  /* void method3 (); */
  NS_IMETHOD Method3(void) = 0;

};

  NS_DEFINE_STATIC_IID_ACCESSOR(ScriptableWithNotXPCOMBase, SCRIPTABLEWITHNOTXPCOMBASE_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_SCRIPTABLEWITHNOTXPCOMBASE \
  NS_IMETHOD Method3(void) override; 

/* Use this macro when declaring the members of this interface when the
   class doesn't implement the interface. This is useful for forwarding. */
#define NS_DECL_NON_VIRTUAL_SCRIPTABLEWITHNOTXPCOMBASE \
  nsresult Method3(void); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_SCRIPTABLEWITHNOTXPCOMBASE(_to) \
  NS_IMETHOD Method3(void) override { return _to Method3(); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_SCRIPTABLEWITHNOTXPCOMBASE(_to) \
  NS_IMETHOD Method3(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->Method3(); } 

#if 0
/* Use the code below as a template for the implementation class for this interface. */

/* Header file */
class _MYCLASS_ : public ScriptableWithNotXPCOMBase
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_SCRIPTABLEWITHNOTXPCOMBASE

  _MYCLASS_();

private:
  ~_MYCLASS_();

protected:
  /* additional members */
};

/* Implementation file */
NS_IMPL_ISUPPORTS(_MYCLASS_, ScriptableWithNotXPCOMBase)

_MYCLASS_::_MYCLASS_()
{
  /* member initializers and constructor code */
}

_MYCLASS_::~_MYCLASS_()
{
  /* destructor code */
}

/* void method3 (); */
NS_IMETHODIMP _MYCLASS_::Method3()
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* End of implementation class template. */
#endif


#endif /* __gen_NotXPCOMTest_h__ */