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

nsICursorContinueCallback

nsIDOMDOMCursor

Macros

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

#ifndef __gen_nsIDOMDOMCursor_h__
#define __gen_nsIDOMDOMCursor_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:    nsICursorContinueCallback */
#define NS_ICURSORCONTINUECALLBACK_IID_STR "3a75d80a-9258-4ab8-95fd-ec0b5f634df1"

#define NS_ICURSORCONTINUECALLBACK_IID \
  {0x3a75d80a, 0x9258, 0x4ab8, \
    { 0x95, 0xfd, 0xec, 0x0b, 0x5f, 0x63, 0x4d, 0xf1 }}

class NS_NO_VTABLE nsICursorContinueCallback : public nsISupports {
 public:

  NS_DECLARE_STATIC_IID_ACCESSOR(NS_ICURSORCONTINUECALLBACK_IID)

  /* void handleContinue (); */
  NS_IMETHOD HandleContinue(void) = 0;

};

  NS_DEFINE_STATIC_IID_ACCESSOR(nsICursorContinueCallback, NS_ICURSORCONTINUECALLBACK_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSICURSORCONTINUECALLBACK \
  NS_IMETHOD HandleContinue(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_NSICURSORCONTINUECALLBACK \
  nsresult HandleContinue(void); 

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

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

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

/* Header file */
class nsCursorContinueCallback : public nsICursorContinueCallback
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_NSICURSORCONTINUECALLBACK

  nsCursorContinueCallback();

private:
  ~nsCursorContinueCallback();

protected:
  /* additional members */
};

/* Implementation file */
NS_IMPL_ISUPPORTS(nsCursorContinueCallback, nsICursorContinueCallback)

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

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

/* void handleContinue (); */
NS_IMETHODIMP nsCursorContinueCallback::HandleContinue()
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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


/* starting interface:    nsIDOMDOMCursor */
#define NS_IDOMDOMCURSOR_IID_STR "062ea35a-5158-425a-b7bc-3ae9daa84398"

#define NS_IDOMDOMCURSOR_IID \
  {0x062ea35a, 0x5158, 0x425a, \
    { 0xb7, 0xbc, 0x3a, 0xe9, 0xda, 0xa8, 0x43, 0x98 }}

class NS_NO_VTABLE nsIDOMDOMCursor : public nsISupports {
 public:

  NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMDOMCURSOR_IID)

  /* readonly attribute boolean done; */
  NS_IMETHOD GetDone(bool *aDone) = 0;

  /* void continue (); */
  NS_IMETHOD Continue(void) = 0;

};

  NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMDOMCursor, NS_IDOMDOMCURSOR_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIDOMDOMCURSOR \
  NS_IMETHOD GetDone(bool *aDone) override; \
  NS_IMETHOD Continue(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_NSIDOMDOMCURSOR \
  nsresult GetDone(bool *aDone); \
  nsresult Continue(void); 

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

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

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

/* Header file */
class nsDOMDOMCursor : public nsIDOMDOMCursor
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_NSIDOMDOMCURSOR

  nsDOMDOMCursor();

private:
  ~nsDOMDOMCursor();

protected:
  /* additional members */
};

/* Implementation file */
NS_IMPL_ISUPPORTS(nsDOMDOMCursor, nsIDOMDOMCursor)

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

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

/* readonly attribute boolean done; */
NS_IMETHODIMP nsDOMDOMCursor::GetDone(bool *aDone)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void continue (); */
NS_IMETHODIMP nsDOMDOMCursor::Continue()
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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


#endif /* __gen_nsIDOMDOMCursor_h__ */