LCOV - code coverage report
Current view: top level - obj-x86_64-pc-linux-gnu/dist/include - nsIQueryContentEventResult.h (source / functions) Hit Total Coverage
Test: output.info Lines: 0 1 0.0 %
Date: 2017-07-14 16:53:18 Functions: 0 1 0.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : /*
       2             :  * DO NOT EDIT.  THIS FILE IS GENERATED FROM ../../../dist/idl/nsIQueryContentEventResult.idl
       3             :  */
       4             : 
       5             : #ifndef __gen_nsIQueryContentEventResult_h__
       6             : #define __gen_nsIQueryContentEventResult_h__
       7             : 
       8             : 
       9             : #ifndef __gen_nsISupports_h__
      10             : #include "nsISupports.h"
      11             : #endif
      12             : 
      13             : /* For IDL files that don't want to include root IDL files. */
      14             : #ifndef NS_NO_VTABLE
      15             : #define NS_NO_VTABLE
      16             : #endif
      17             : 
      18             : /* starting interface:    nsIQueryContentEventResult */
      19             : #define NS_IQUERYCONTENTEVENTRESULT_IID_STR "e2c39e0e-345f-451a-a7b2-e0230d555847"
      20             : 
      21             : #define NS_IQUERYCONTENTEVENTRESULT_IID \
      22             :   {0xe2c39e0e, 0x345f, 0x451a, \
      23             :     { 0xa7, 0xb2, 0xe0, 0x23, 0x0d, 0x55, 0x58, 0x47 }}
      24             : 
      25           0 : class NS_NO_VTABLE nsIQueryContentEventResult : public nsISupports {
      26             :  public:
      27             : 
      28             :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IQUERYCONTENTEVENTRESULT_IID)
      29             : 
      30             :   /* readonly attribute unsigned long offset; */
      31             :   NS_IMETHOD GetOffset(uint32_t *aOffset) = 0;
      32             : 
      33             :   /* readonly attribute unsigned long tentativeCaretOffset; */
      34             :   NS_IMETHOD GetTentativeCaretOffset(uint32_t *aTentativeCaretOffset) = 0;
      35             : 
      36             :   /* readonly attribute boolean reversed; */
      37             :   NS_IMETHOD GetReversed(bool *aReversed) = 0;
      38             : 
      39             :   /* readonly attribute long left; */
      40             :   NS_IMETHOD GetLeft(int32_t *aLeft) = 0;
      41             : 
      42             :   /* readonly attribute long top; */
      43             :   NS_IMETHOD GetTop(int32_t *aTop) = 0;
      44             : 
      45             :   /* readonly attribute long width; */
      46             :   NS_IMETHOD GetWidth(int32_t *aWidth) = 0;
      47             : 
      48             :   /* readonly attribute long height; */
      49             :   NS_IMETHOD GetHeight(int32_t *aHeight) = 0;
      50             : 
      51             :   /* readonly attribute AString text; */
      52             :   NS_IMETHOD GetText(nsAString & aText) = 0;
      53             : 
      54             :   /* void getCharacterRect (in long offset, out long left, out long top, out long width, out long height); */
      55             :   NS_IMETHOD GetCharacterRect(int32_t offset, int32_t *left, int32_t *top, int32_t *width, int32_t *height) = 0;
      56             : 
      57             :   /* readonly attribute boolean succeeded; */
      58             :   NS_IMETHOD GetSucceeded(bool *aSucceeded) = 0;
      59             : 
      60             :   /* readonly attribute boolean notFound; */
      61             :   NS_IMETHOD GetNotFound(bool *aNotFound) = 0;
      62             : 
      63             :   /* readonly attribute boolean tentativeCaretOffsetNotFound; */
      64             :   NS_IMETHOD GetTentativeCaretOffsetNotFound(bool *aTentativeCaretOffsetNotFound) = 0;
      65             : 
      66             : };
      67             : 
      68             :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIQueryContentEventResult, NS_IQUERYCONTENTEVENTRESULT_IID)
      69             : 
      70             : /* Use this macro when declaring classes that implement this interface. */
      71             : #define NS_DECL_NSIQUERYCONTENTEVENTRESULT \
      72             :   NS_IMETHOD GetOffset(uint32_t *aOffset) override; \
      73             :   NS_IMETHOD GetTentativeCaretOffset(uint32_t *aTentativeCaretOffset) override; \
      74             :   NS_IMETHOD GetReversed(bool *aReversed) override; \
      75             :   NS_IMETHOD GetLeft(int32_t *aLeft) override; \
      76             :   NS_IMETHOD GetTop(int32_t *aTop) override; \
      77             :   NS_IMETHOD GetWidth(int32_t *aWidth) override; \
      78             :   NS_IMETHOD GetHeight(int32_t *aHeight) override; \
      79             :   NS_IMETHOD GetText(nsAString & aText) override; \
      80             :   NS_IMETHOD GetCharacterRect(int32_t offset, int32_t *left, int32_t *top, int32_t *width, int32_t *height) override; \
      81             :   NS_IMETHOD GetSucceeded(bool *aSucceeded) override; \
      82             :   NS_IMETHOD GetNotFound(bool *aNotFound) override; \
      83             :   NS_IMETHOD GetTentativeCaretOffsetNotFound(bool *aTentativeCaretOffsetNotFound) override; 
      84             : 
      85             : /* Use this macro when declaring the members of this interface when the
      86             :    class doesn't implement the interface. This is useful for forwarding. */
      87             : #define NS_DECL_NON_VIRTUAL_NSIQUERYCONTENTEVENTRESULT \
      88             :   nsresult GetOffset(uint32_t *aOffset); \
      89             :   nsresult GetTentativeCaretOffset(uint32_t *aTentativeCaretOffset); \
      90             :   nsresult GetReversed(bool *aReversed); \
      91             :   nsresult GetLeft(int32_t *aLeft); \
      92             :   nsresult GetTop(int32_t *aTop); \
      93             :   nsresult GetWidth(int32_t *aWidth); \
      94             :   nsresult GetHeight(int32_t *aHeight); \
      95             :   nsresult GetText(nsAString & aText); \
      96             :   nsresult GetCharacterRect(int32_t offset, int32_t *left, int32_t *top, int32_t *width, int32_t *height); \
      97             :   nsresult GetSucceeded(bool *aSucceeded); \
      98             :   nsresult GetNotFound(bool *aNotFound); \
      99             :   nsresult GetTentativeCaretOffsetNotFound(bool *aTentativeCaretOffsetNotFound); 
     100             : 
     101             : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
     102             : #define NS_FORWARD_NSIQUERYCONTENTEVENTRESULT(_to) \
     103             :   NS_IMETHOD GetOffset(uint32_t *aOffset) override { return _to GetOffset(aOffset); } \
     104             :   NS_IMETHOD GetTentativeCaretOffset(uint32_t *aTentativeCaretOffset) override { return _to GetTentativeCaretOffset(aTentativeCaretOffset); } \
     105             :   NS_IMETHOD GetReversed(bool *aReversed) override { return _to GetReversed(aReversed); } \
     106             :   NS_IMETHOD GetLeft(int32_t *aLeft) override { return _to GetLeft(aLeft); } \
     107             :   NS_IMETHOD GetTop(int32_t *aTop) override { return _to GetTop(aTop); } \
     108             :   NS_IMETHOD GetWidth(int32_t *aWidth) override { return _to GetWidth(aWidth); } \
     109             :   NS_IMETHOD GetHeight(int32_t *aHeight) override { return _to GetHeight(aHeight); } \
     110             :   NS_IMETHOD GetText(nsAString & aText) override { return _to GetText(aText); } \
     111             :   NS_IMETHOD GetCharacterRect(int32_t offset, int32_t *left, int32_t *top, int32_t *width, int32_t *height) override { return _to GetCharacterRect(offset, left, top, width, height); } \
     112             :   NS_IMETHOD GetSucceeded(bool *aSucceeded) override { return _to GetSucceeded(aSucceeded); } \
     113             :   NS_IMETHOD GetNotFound(bool *aNotFound) override { return _to GetNotFound(aNotFound); } \
     114             :   NS_IMETHOD GetTentativeCaretOffsetNotFound(bool *aTentativeCaretOffsetNotFound) override { return _to GetTentativeCaretOffsetNotFound(aTentativeCaretOffsetNotFound); } 
     115             : 
     116             : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
     117             : #define NS_FORWARD_SAFE_NSIQUERYCONTENTEVENTRESULT(_to) \
     118             :   NS_IMETHOD GetOffset(uint32_t *aOffset) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetOffset(aOffset); } \
     119             :   NS_IMETHOD GetTentativeCaretOffset(uint32_t *aTentativeCaretOffset) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetTentativeCaretOffset(aTentativeCaretOffset); } \
     120             :   NS_IMETHOD GetReversed(bool *aReversed) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetReversed(aReversed); } \
     121             :   NS_IMETHOD GetLeft(int32_t *aLeft) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLeft(aLeft); } \
     122             :   NS_IMETHOD GetTop(int32_t *aTop) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetTop(aTop); } \
     123             :   NS_IMETHOD GetWidth(int32_t *aWidth) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetWidth(aWidth); } \
     124             :   NS_IMETHOD GetHeight(int32_t *aHeight) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetHeight(aHeight); } \
     125             :   NS_IMETHOD GetText(nsAString & aText) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetText(aText); } \
     126             :   NS_IMETHOD GetCharacterRect(int32_t offset, int32_t *left, int32_t *top, int32_t *width, int32_t *height) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCharacterRect(offset, left, top, width, height); } \
     127             :   NS_IMETHOD GetSucceeded(bool *aSucceeded) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSucceeded(aSucceeded); } \
     128             :   NS_IMETHOD GetNotFound(bool *aNotFound) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetNotFound(aNotFound); } \
     129             :   NS_IMETHOD GetTentativeCaretOffsetNotFound(bool *aTentativeCaretOffsetNotFound) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetTentativeCaretOffsetNotFound(aTentativeCaretOffsetNotFound); } 
     130             : 
     131             : #if 0
     132             : /* Use the code below as a template for the implementation class for this interface. */
     133             : 
     134             : /* Header file */
     135             : class nsQueryContentEventResult : public nsIQueryContentEventResult
     136             : {
     137             : public:
     138             :   NS_DECL_ISUPPORTS
     139             :   NS_DECL_NSIQUERYCONTENTEVENTRESULT
     140             : 
     141             :   nsQueryContentEventResult();
     142             : 
     143             : private:
     144             :   ~nsQueryContentEventResult();
     145             : 
     146             : protected:
     147             :   /* additional members */
     148             : };
     149             : 
     150             : /* Implementation file */
     151             : NS_IMPL_ISUPPORTS(nsQueryContentEventResult, nsIQueryContentEventResult)
     152             : 
     153             : nsQueryContentEventResult::nsQueryContentEventResult()
     154             : {
     155             :   /* member initializers and constructor code */
     156             : }
     157             : 
     158             : nsQueryContentEventResult::~nsQueryContentEventResult()
     159             : {
     160             :   /* destructor code */
     161             : }
     162             : 
     163             : /* readonly attribute unsigned long offset; */
     164             : NS_IMETHODIMP nsQueryContentEventResult::GetOffset(uint32_t *aOffset)
     165             : {
     166             :     return NS_ERROR_NOT_IMPLEMENTED;
     167             : }
     168             : 
     169             : /* readonly attribute unsigned long tentativeCaretOffset; */
     170             : NS_IMETHODIMP nsQueryContentEventResult::GetTentativeCaretOffset(uint32_t *aTentativeCaretOffset)
     171             : {
     172             :     return NS_ERROR_NOT_IMPLEMENTED;
     173             : }
     174             : 
     175             : /* readonly attribute boolean reversed; */
     176             : NS_IMETHODIMP nsQueryContentEventResult::GetReversed(bool *aReversed)
     177             : {
     178             :     return NS_ERROR_NOT_IMPLEMENTED;
     179             : }
     180             : 
     181             : /* readonly attribute long left; */
     182             : NS_IMETHODIMP nsQueryContentEventResult::GetLeft(int32_t *aLeft)
     183             : {
     184             :     return NS_ERROR_NOT_IMPLEMENTED;
     185             : }
     186             : 
     187             : /* readonly attribute long top; */
     188             : NS_IMETHODIMP nsQueryContentEventResult::GetTop(int32_t *aTop)
     189             : {
     190             :     return NS_ERROR_NOT_IMPLEMENTED;
     191             : }
     192             : 
     193             : /* readonly attribute long width; */
     194             : NS_IMETHODIMP nsQueryContentEventResult::GetWidth(int32_t *aWidth)
     195             : {
     196             :     return NS_ERROR_NOT_IMPLEMENTED;
     197             : }
     198             : 
     199             : /* readonly attribute long height; */
     200             : NS_IMETHODIMP nsQueryContentEventResult::GetHeight(int32_t *aHeight)
     201             : {
     202             :     return NS_ERROR_NOT_IMPLEMENTED;
     203             : }
     204             : 
     205             : /* readonly attribute AString text; */
     206             : NS_IMETHODIMP nsQueryContentEventResult::GetText(nsAString & aText)
     207             : {
     208             :     return NS_ERROR_NOT_IMPLEMENTED;
     209             : }
     210             : 
     211             : /* void getCharacterRect (in long offset, out long left, out long top, out long width, out long height); */
     212             : NS_IMETHODIMP nsQueryContentEventResult::GetCharacterRect(int32_t offset, int32_t *left, int32_t *top, int32_t *width, int32_t *height)
     213             : {
     214             :     return NS_ERROR_NOT_IMPLEMENTED;
     215             : }
     216             : 
     217             : /* readonly attribute boolean succeeded; */
     218             : NS_IMETHODIMP nsQueryContentEventResult::GetSucceeded(bool *aSucceeded)
     219             : {
     220             :     return NS_ERROR_NOT_IMPLEMENTED;
     221             : }
     222             : 
     223             : /* readonly attribute boolean notFound; */
     224             : NS_IMETHODIMP nsQueryContentEventResult::GetNotFound(bool *aNotFound)
     225             : {
     226             :     return NS_ERROR_NOT_IMPLEMENTED;
     227             : }
     228             : 
     229             : /* readonly attribute boolean tentativeCaretOffsetNotFound; */
     230             : NS_IMETHODIMP nsQueryContentEventResult::GetTentativeCaretOffsetNotFound(bool *aTentativeCaretOffsetNotFound)
     231             : {
     232             :     return NS_ERROR_NOT_IMPLEMENTED;
     233             : }
     234             : 
     235             : /* End of implementation class template. */
     236             : #endif
     237             : 
     238             : 
     239             : #endif /* __gen_nsIQueryContentEventResult_h__ */

Generated by: LCOV version 1.13