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

          Line data    Source code
       1             : /*
       2             :  * DO NOT EDIT.  THIS FILE IS GENERATED FROM ../../../dist/idl/nsIDOMText.idl
       3             :  */
       4             : 
       5             : #ifndef __gen_nsIDOMText_h__
       6             : #define __gen_nsIDOMText_h__
       7             : 
       8             : 
       9             : #ifndef __gen_nsIDOMCharacterData_h__
      10             : #include "nsIDOMCharacterData.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:    nsIDOMText */
      19             : #define NS_IDOMTEXT_IID_STR "67273994-6aff-4091-9de9-b788a249f783"
      20             : 
      21             : #define NS_IDOMTEXT_IID \
      22             :   {0x67273994, 0x6aff, 0x4091, \
      23             :     { 0x9d, 0xe9, 0xb7, 0x88, 0xa2, 0x49, 0xf7, 0x83 }}
      24             : 
      25         347 : class NS_NO_VTABLE nsIDOMText : public nsIDOMCharacterData {
      26             :  public:
      27             : 
      28             :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMTEXT_IID)
      29             : 
      30             :   /* nsIDOMText splitText (in unsigned long offset) raises (DOMException); */
      31             :   NS_IMETHOD SplitText(uint32_t offset, nsIDOMText * *_retval) = 0;
      32             : 
      33             :   /* readonly attribute DOMString wholeText; */
      34             :   NS_IMETHOD GetWholeText(nsAString & aWholeText) = 0;
      35             : 
      36             : };
      37             : 
      38             :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMText, NS_IDOMTEXT_IID)
      39             : 
      40             : /* Use this macro when declaring classes that implement this interface. */
      41             : #define NS_DECL_NSIDOMTEXT \
      42             :   NS_IMETHOD SplitText(uint32_t offset, nsIDOMText * *_retval) override; \
      43             :   NS_IMETHOD GetWholeText(nsAString & aWholeText) override; 
      44             : 
      45             : /* Use this macro when declaring the members of this interface when the
      46             :    class doesn't implement the interface. This is useful for forwarding. */
      47             : #define NS_DECL_NON_VIRTUAL_NSIDOMTEXT \
      48             :   nsresult SplitText(uint32_t offset, nsIDOMText * *_retval); \
      49             :   nsresult GetWholeText(nsAString & aWholeText); 
      50             : 
      51             : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
      52             : #define NS_FORWARD_NSIDOMTEXT(_to) \
      53             :   NS_IMETHOD SplitText(uint32_t offset, nsIDOMText * *_retval) override { return _to SplitText(offset, _retval); } \
      54             :   NS_IMETHOD GetWholeText(nsAString & aWholeText) override { return _to GetWholeText(aWholeText); } 
      55             : 
      56             : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
      57             : #define NS_FORWARD_SAFE_NSIDOMTEXT(_to) \
      58             :   NS_IMETHOD SplitText(uint32_t offset, nsIDOMText * *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SplitText(offset, _retval); } \
      59             :   NS_IMETHOD GetWholeText(nsAString & aWholeText) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetWholeText(aWholeText); } 
      60             : 
      61             : #if 0
      62             : /* Use the code below as a template for the implementation class for this interface. */
      63             : 
      64             : /* Header file */
      65             : class nsDOMText : public nsIDOMText
      66             : {
      67             : public:
      68             :   NS_DECL_ISUPPORTS
      69             :   NS_DECL_NSIDOMTEXT
      70             : 
      71             :   nsDOMText();
      72             : 
      73             : private:
      74             :   ~nsDOMText();
      75             : 
      76             : protected:
      77             :   /* additional members */
      78             : };
      79             : 
      80             : /* Implementation file */
      81             : NS_IMPL_ISUPPORTS(nsDOMText, nsIDOMText)
      82             : 
      83             : nsDOMText::nsDOMText()
      84             : {
      85             :   /* member initializers and constructor code */
      86             : }
      87             : 
      88             : nsDOMText::~nsDOMText()
      89             : {
      90             :   /* destructor code */
      91             : }
      92             : 
      93             : /* nsIDOMText splitText (in unsigned long offset) raises (DOMException); */
      94             : NS_IMETHODIMP nsDOMText::SplitText(uint32_t offset, nsIDOMText * *_retval)
      95             : {
      96             :     return NS_ERROR_NOT_IMPLEMENTED;
      97             : }
      98             : 
      99             : /* readonly attribute DOMString wholeText; */
     100             : NS_IMETHODIMP nsDOMText::GetWholeText(nsAString & aWholeText)
     101             : {
     102             :     return NS_ERROR_NOT_IMPLEMENTED;
     103             : }
     104             : 
     105             : /* End of implementation class template. */
     106             : #endif
     107             : 
     108             : 
     109             : #endif /* __gen_nsIDOMText_h__ */

Generated by: LCOV version 1.13