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
/*
 * DO NOT EDIT.  THIS FILE IS GENERATED FROM /home/jenkins/src/releases/comm-beta/mozilla/editor/nsIHTMLAbsPosEditor.idl
 */

#ifndef __gen_nsIHTMLAbsPosEditor_h__
#define __gen_nsIHTMLAbsPosEditor_h__


#ifndef __gen_nsISupports_h__
#include "nsISupports.h"
#endif

#ifndef __gen_domstubs_h__
#include "domstubs.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:    nsIHTMLAbsPosEditor */
#define NS_IHTMLABSPOSEDITOR_IID_STR "91375f52-20e6-4757-9835-eb04fabe5498"

#define NS_IHTMLABSPOSEDITOR_IID \
  {0x91375f52, 0x20e6, 0x4757, \
    { 0x98, 0x35, 0xeb, 0x04, 0xfa, 0xbe, 0x54, 0x98 }}

class NS_NO_VTABLE nsIHTMLAbsPosEditor : public nsISupports {
 public:

  NS_DECLARE_STATIC_IID_ACCESSOR(NS_IHTMLABSPOSEDITOR_IID)

  /* attribute boolean absolutePositioningEnabled; */
  NS_IMETHOD GetAbsolutePositioningEnabled(bool *aAbsolutePositioningEnabled) = 0;
  NS_IMETHOD SetAbsolutePositioningEnabled(bool aAbsolutePositioningEnabled) = 0;

  /* attribute boolean snapToGridEnabled; */
  NS_IMETHOD GetSnapToGridEnabled(bool *aSnapToGridEnabled) = 0;
  NS_IMETHOD SetSnapToGridEnabled(bool aSnapToGridEnabled) = 0;

  /* attribute unsigned long gridSize; */
  NS_IMETHOD GetGridSize(uint32_t *aGridSize) = 0;
  NS_IMETHOD SetGridSize(uint32_t aGridSize) = 0;

  /* void refreshGrabber (); */
  NS_IMETHOD RefreshGrabber(void) = 0;

};

  NS_DEFINE_STATIC_IID_ACCESSOR(nsIHTMLAbsPosEditor, NS_IHTMLABSPOSEDITOR_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIHTMLABSPOSEDITOR \
  NS_IMETHOD GetAbsolutePositioningEnabled(bool *aAbsolutePositioningEnabled) override; \
  NS_IMETHOD SetAbsolutePositioningEnabled(bool aAbsolutePositioningEnabled) override; \
  NS_IMETHOD GetSnapToGridEnabled(bool *aSnapToGridEnabled) override; \
  NS_IMETHOD SetSnapToGridEnabled(bool aSnapToGridEnabled) override; \
  NS_IMETHOD GetGridSize(uint32_t *aGridSize) override; \
  NS_IMETHOD SetGridSize(uint32_t aGridSize) override; \
  NS_IMETHOD RefreshGrabber(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_NSIHTMLABSPOSEDITOR \
  nsresult GetAbsolutePositioningEnabled(bool *aAbsolutePositioningEnabled); \
  nsresult SetAbsolutePositioningEnabled(bool aAbsolutePositioningEnabled); \
  nsresult GetSnapToGridEnabled(bool *aSnapToGridEnabled); \
  nsresult SetSnapToGridEnabled(bool aSnapToGridEnabled); \
  nsresult GetGridSize(uint32_t *aGridSize); \
  nsresult SetGridSize(uint32_t aGridSize); \
  nsresult RefreshGrabber(void); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIHTMLABSPOSEDITOR(_to) \
  NS_IMETHOD GetAbsolutePositioningEnabled(bool *aAbsolutePositioningEnabled) override { return _to GetAbsolutePositioningEnabled(aAbsolutePositioningEnabled); } \
  NS_IMETHOD SetAbsolutePositioningEnabled(bool aAbsolutePositioningEnabled) override { return _to SetAbsolutePositioningEnabled(aAbsolutePositioningEnabled); } \
  NS_IMETHOD GetSnapToGridEnabled(bool *aSnapToGridEnabled) override { return _to GetSnapToGridEnabled(aSnapToGridEnabled); } \
  NS_IMETHOD SetSnapToGridEnabled(bool aSnapToGridEnabled) override { return _to SetSnapToGridEnabled(aSnapToGridEnabled); } \
  NS_IMETHOD GetGridSize(uint32_t *aGridSize) override { return _to GetGridSize(aGridSize); } \
  NS_IMETHOD SetGridSize(uint32_t aGridSize) override { return _to SetGridSize(aGridSize); } \
  NS_IMETHOD RefreshGrabber(void) override { return _to RefreshGrabber(); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSIHTMLABSPOSEDITOR(_to) \
  NS_IMETHOD GetAbsolutePositioningEnabled(bool *aAbsolutePositioningEnabled) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAbsolutePositioningEnabled(aAbsolutePositioningEnabled); } \
  NS_IMETHOD SetAbsolutePositioningEnabled(bool aAbsolutePositioningEnabled) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetAbsolutePositioningEnabled(aAbsolutePositioningEnabled); } \
  NS_IMETHOD GetSnapToGridEnabled(bool *aSnapToGridEnabled) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSnapToGridEnabled(aSnapToGridEnabled); } \
  NS_IMETHOD SetSnapToGridEnabled(bool aSnapToGridEnabled) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetSnapToGridEnabled(aSnapToGridEnabled); } \
  NS_IMETHOD GetGridSize(uint32_t *aGridSize) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetGridSize(aGridSize); } \
  NS_IMETHOD SetGridSize(uint32_t aGridSize) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetGridSize(aGridSize); } \
  NS_IMETHOD RefreshGrabber(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->RefreshGrabber(); } 


#endif /* __gen_nsIHTMLAbsPosEditor_h__ */