/usr/include/thunderbird/nsIHTMLAbsPosEditor.h is in thunderbird-dev 1:52.8.0-1~deb8u1.
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 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 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 | /*
* DO NOT EDIT. THIS FILE IS GENERATED FROM ../../../dist/idl/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)
/* readonly attribute boolean selectionContainerAbsolutelyPositioned; */
NS_IMETHOD GetSelectionContainerAbsolutelyPositioned(bool *aSelectionContainerAbsolutelyPositioned) = 0;
/* readonly attribute nsIDOMElement positionedElement; */
NS_IMETHOD GetPositionedElement(nsIDOMElement * *aPositionedElement) = 0;
/* 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;
/* readonly attribute nsIDOMElement absolutelyPositionedSelectionContainer; */
NS_IMETHOD GetAbsolutelyPositionedSelectionContainer(nsIDOMElement * *aAbsolutelyPositionedSelectionContainer) = 0;
/* void absolutePositionSelection (in boolean aEnabled); */
NS_IMETHOD AbsolutePositionSelection(bool aEnabled) = 0;
/* void relativeChangeZIndex (in long aChange); */
NS_IMETHOD RelativeChangeZIndex(int32_t aChange) = 0;
/* void absolutelyPositionElement (in nsIDOMElement aElement, in boolean aEnabled); */
NS_IMETHOD AbsolutelyPositionElement(nsIDOMElement *aElement, bool aEnabled) = 0;
/* void setElementPosition (in nsIDOMElement aElement, in long aX, in long aY); */
NS_IMETHOD SetElementPosition(nsIDOMElement *aElement, int32_t aX, int32_t aY) = 0;
/* long getElementZIndex (in nsIDOMElement aElement); */
NS_IMETHOD GetElementZIndex(nsIDOMElement *aElement, int32_t *_retval) = 0;
/* void setElementZIndex (in nsIDOMElement aElement, in long aZorder); */
NS_IMETHOD SetElementZIndex(nsIDOMElement *aElement, int32_t aZorder) = 0;
/* long relativeChangeElementZIndex (in nsIDOMElement aElement, in long aChange); */
NS_IMETHOD RelativeChangeElementZIndex(nsIDOMElement *aElement, int32_t aChange, int32_t *_retval) = 0;
/* void showGrabberOnElement (in nsIDOMElement aElement); */
NS_IMETHOD ShowGrabberOnElement(nsIDOMElement *aElement) = 0;
/* void hideGrabber (); */
NS_IMETHOD HideGrabber(void) = 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 GetSelectionContainerAbsolutelyPositioned(bool *aSelectionContainerAbsolutelyPositioned) override; \
NS_IMETHOD GetPositionedElement(nsIDOMElement * *aPositionedElement) override; \
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 GetAbsolutelyPositionedSelectionContainer(nsIDOMElement * *aAbsolutelyPositionedSelectionContainer) override; \
NS_IMETHOD AbsolutePositionSelection(bool aEnabled) override; \
NS_IMETHOD RelativeChangeZIndex(int32_t aChange) override; \
NS_IMETHOD AbsolutelyPositionElement(nsIDOMElement *aElement, bool aEnabled) override; \
NS_IMETHOD SetElementPosition(nsIDOMElement *aElement, int32_t aX, int32_t aY) override; \
NS_IMETHOD GetElementZIndex(nsIDOMElement *aElement, int32_t *_retval) override; \
NS_IMETHOD SetElementZIndex(nsIDOMElement *aElement, int32_t aZorder) override; \
NS_IMETHOD RelativeChangeElementZIndex(nsIDOMElement *aElement, int32_t aChange, int32_t *_retval) override; \
NS_IMETHOD ShowGrabberOnElement(nsIDOMElement *aElement) override; \
NS_IMETHOD HideGrabber(void) 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 \
NS_METHOD GetSelectionContainerAbsolutelyPositioned(bool *aSelectionContainerAbsolutelyPositioned); \
NS_METHOD GetPositionedElement(nsIDOMElement * *aPositionedElement); \
NS_METHOD GetAbsolutePositioningEnabled(bool *aAbsolutePositioningEnabled); \
NS_METHOD SetAbsolutePositioningEnabled(bool aAbsolutePositioningEnabled); \
NS_METHOD GetSnapToGridEnabled(bool *aSnapToGridEnabled); \
NS_METHOD SetSnapToGridEnabled(bool aSnapToGridEnabled); \
NS_METHOD GetGridSize(uint32_t *aGridSize); \
NS_METHOD SetGridSize(uint32_t aGridSize); \
NS_METHOD GetAbsolutelyPositionedSelectionContainer(nsIDOMElement * *aAbsolutelyPositionedSelectionContainer); \
NS_METHOD AbsolutePositionSelection(bool aEnabled); \
NS_METHOD RelativeChangeZIndex(int32_t aChange); \
NS_METHOD AbsolutelyPositionElement(nsIDOMElement *aElement, bool aEnabled); \
NS_METHOD SetElementPosition(nsIDOMElement *aElement, int32_t aX, int32_t aY); \
NS_METHOD GetElementZIndex(nsIDOMElement *aElement, int32_t *_retval); \
NS_METHOD SetElementZIndex(nsIDOMElement *aElement, int32_t aZorder); \
NS_METHOD RelativeChangeElementZIndex(nsIDOMElement *aElement, int32_t aChange, int32_t *_retval); \
NS_METHOD ShowGrabberOnElement(nsIDOMElement *aElement); \
NS_METHOD HideGrabber(void); \
NS_METHOD 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 GetSelectionContainerAbsolutelyPositioned(bool *aSelectionContainerAbsolutelyPositioned) override { return _to GetSelectionContainerAbsolutelyPositioned(aSelectionContainerAbsolutelyPositioned); } \
NS_IMETHOD GetPositionedElement(nsIDOMElement * *aPositionedElement) override { return _to GetPositionedElement(aPositionedElement); } \
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 GetAbsolutelyPositionedSelectionContainer(nsIDOMElement * *aAbsolutelyPositionedSelectionContainer) override { return _to GetAbsolutelyPositionedSelectionContainer(aAbsolutelyPositionedSelectionContainer); } \
NS_IMETHOD AbsolutePositionSelection(bool aEnabled) override { return _to AbsolutePositionSelection(aEnabled); } \
NS_IMETHOD RelativeChangeZIndex(int32_t aChange) override { return _to RelativeChangeZIndex(aChange); } \
NS_IMETHOD AbsolutelyPositionElement(nsIDOMElement *aElement, bool aEnabled) override { return _to AbsolutelyPositionElement(aElement, aEnabled); } \
NS_IMETHOD SetElementPosition(nsIDOMElement *aElement, int32_t aX, int32_t aY) override { return _to SetElementPosition(aElement, aX, aY); } \
NS_IMETHOD GetElementZIndex(nsIDOMElement *aElement, int32_t *_retval) override { return _to GetElementZIndex(aElement, _retval); } \
NS_IMETHOD SetElementZIndex(nsIDOMElement *aElement, int32_t aZorder) override { return _to SetElementZIndex(aElement, aZorder); } \
NS_IMETHOD RelativeChangeElementZIndex(nsIDOMElement *aElement, int32_t aChange, int32_t *_retval) override { return _to RelativeChangeElementZIndex(aElement, aChange, _retval); } \
NS_IMETHOD ShowGrabberOnElement(nsIDOMElement *aElement) override { return _to ShowGrabberOnElement(aElement); } \
NS_IMETHOD HideGrabber(void) override { return _to HideGrabber(); } \
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 GetSelectionContainerAbsolutelyPositioned(bool *aSelectionContainerAbsolutelyPositioned) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSelectionContainerAbsolutelyPositioned(aSelectionContainerAbsolutelyPositioned); } \
NS_IMETHOD GetPositionedElement(nsIDOMElement * *aPositionedElement) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetPositionedElement(aPositionedElement); } \
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 GetAbsolutelyPositionedSelectionContainer(nsIDOMElement * *aAbsolutelyPositionedSelectionContainer) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAbsolutelyPositionedSelectionContainer(aAbsolutelyPositionedSelectionContainer); } \
NS_IMETHOD AbsolutePositionSelection(bool aEnabled) override { return !_to ? NS_ERROR_NULL_POINTER : _to->AbsolutePositionSelection(aEnabled); } \
NS_IMETHOD RelativeChangeZIndex(int32_t aChange) override { return !_to ? NS_ERROR_NULL_POINTER : _to->RelativeChangeZIndex(aChange); } \
NS_IMETHOD AbsolutelyPositionElement(nsIDOMElement *aElement, bool aEnabled) override { return !_to ? NS_ERROR_NULL_POINTER : _to->AbsolutelyPositionElement(aElement, aEnabled); } \
NS_IMETHOD SetElementPosition(nsIDOMElement *aElement, int32_t aX, int32_t aY) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetElementPosition(aElement, aX, aY); } \
NS_IMETHOD GetElementZIndex(nsIDOMElement *aElement, int32_t *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetElementZIndex(aElement, _retval); } \
NS_IMETHOD SetElementZIndex(nsIDOMElement *aElement, int32_t aZorder) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetElementZIndex(aElement, aZorder); } \
NS_IMETHOD RelativeChangeElementZIndex(nsIDOMElement *aElement, int32_t aChange, int32_t *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->RelativeChangeElementZIndex(aElement, aChange, _retval); } \
NS_IMETHOD ShowGrabberOnElement(nsIDOMElement *aElement) override { return !_to ? NS_ERROR_NULL_POINTER : _to->ShowGrabberOnElement(aElement); } \
NS_IMETHOD HideGrabber(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->HideGrabber(); } \
NS_IMETHOD RefreshGrabber(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->RefreshGrabber(); }
#if 0
/* Use the code below as a template for the implementation class for this interface. */
/* Header file */
class nsHTMLAbsPosEditor : public nsIHTMLAbsPosEditor
{
public:
NS_DECL_ISUPPORTS
NS_DECL_NSIHTMLABSPOSEDITOR
nsHTMLAbsPosEditor();
private:
~nsHTMLAbsPosEditor();
protected:
/* additional members */
};
/* Implementation file */
NS_IMPL_ISUPPORTS(nsHTMLAbsPosEditor, nsIHTMLAbsPosEditor)
nsHTMLAbsPosEditor::nsHTMLAbsPosEditor()
{
/* member initializers and constructor code */
}
nsHTMLAbsPosEditor::~nsHTMLAbsPosEditor()
{
/* destructor code */
}
/* readonly attribute boolean selectionContainerAbsolutelyPositioned; */
NS_IMETHODIMP nsHTMLAbsPosEditor::GetSelectionContainerAbsolutelyPositioned(bool *aSelectionContainerAbsolutelyPositioned)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute nsIDOMElement positionedElement; */
NS_IMETHODIMP nsHTMLAbsPosEditor::GetPositionedElement(nsIDOMElement * *aPositionedElement)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute boolean absolutePositioningEnabled; */
NS_IMETHODIMP nsHTMLAbsPosEditor::GetAbsolutePositioningEnabled(bool *aAbsolutePositioningEnabled)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsHTMLAbsPosEditor::SetAbsolutePositioningEnabled(bool aAbsolutePositioningEnabled)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute boolean snapToGridEnabled; */
NS_IMETHODIMP nsHTMLAbsPosEditor::GetSnapToGridEnabled(bool *aSnapToGridEnabled)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsHTMLAbsPosEditor::SetSnapToGridEnabled(bool aSnapToGridEnabled)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute unsigned long gridSize; */
NS_IMETHODIMP nsHTMLAbsPosEditor::GetGridSize(uint32_t *aGridSize)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsHTMLAbsPosEditor::SetGridSize(uint32_t aGridSize)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute nsIDOMElement absolutelyPositionedSelectionContainer; */
NS_IMETHODIMP nsHTMLAbsPosEditor::GetAbsolutelyPositionedSelectionContainer(nsIDOMElement * *aAbsolutelyPositionedSelectionContainer)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void absolutePositionSelection (in boolean aEnabled); */
NS_IMETHODIMP nsHTMLAbsPosEditor::AbsolutePositionSelection(bool aEnabled)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void relativeChangeZIndex (in long aChange); */
NS_IMETHODIMP nsHTMLAbsPosEditor::RelativeChangeZIndex(int32_t aChange)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void absolutelyPositionElement (in nsIDOMElement aElement, in boolean aEnabled); */
NS_IMETHODIMP nsHTMLAbsPosEditor::AbsolutelyPositionElement(nsIDOMElement *aElement, bool aEnabled)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void setElementPosition (in nsIDOMElement aElement, in long aX, in long aY); */
NS_IMETHODIMP nsHTMLAbsPosEditor::SetElementPosition(nsIDOMElement *aElement, int32_t aX, int32_t aY)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* long getElementZIndex (in nsIDOMElement aElement); */
NS_IMETHODIMP nsHTMLAbsPosEditor::GetElementZIndex(nsIDOMElement *aElement, int32_t *_retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void setElementZIndex (in nsIDOMElement aElement, in long aZorder); */
NS_IMETHODIMP nsHTMLAbsPosEditor::SetElementZIndex(nsIDOMElement *aElement, int32_t aZorder)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* long relativeChangeElementZIndex (in nsIDOMElement aElement, in long aChange); */
NS_IMETHODIMP nsHTMLAbsPosEditor::RelativeChangeElementZIndex(nsIDOMElement *aElement, int32_t aChange, int32_t *_retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void showGrabberOnElement (in nsIDOMElement aElement); */
NS_IMETHODIMP nsHTMLAbsPosEditor::ShowGrabberOnElement(nsIDOMElement *aElement)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void hideGrabber (); */
NS_IMETHODIMP nsHTMLAbsPosEditor::HideGrabber()
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void refreshGrabber (); */
NS_IMETHODIMP nsHTMLAbsPosEditor::RefreshGrabber()
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* End of implementation class template. */
#endif
#endif /* __gen_nsIHTMLAbsPosEditor_h__ */
|