LCOV - code coverage report
Current view: top level - obj-x86_64-pc-linux-gnu/dist/include - nsIFind.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/nsIFind.idl
       3             :  */
       4             : 
       5             : #ifndef __gen_nsIFind_h__
       6             : #define __gen_nsIFind_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             : class nsIDOMRange; /* forward declaration */
      18             : 
      19             : class nsIWordBreaker; /* forward declaration */
      20             : 
      21             : 
      22             : /* starting interface:    nsIFind */
      23             : #define NS_IFIND_IID_STR "40aba110-2a56-4678-be90-e2c17a9ae7d7"
      24             : 
      25             : #define NS_IFIND_IID \
      26             :   {0x40aba110, 0x2a56, 0x4678, \
      27             :     { 0xbe, 0x90, 0xe2, 0xc1, 0x7a, 0x9a, 0xe7, 0xd7 }}
      28             : 
      29           0 : class NS_NO_VTABLE nsIFind : public nsISupports {
      30             :  public:
      31             : 
      32             :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IFIND_IID)
      33             : 
      34             :   /* attribute boolean findBackwards; */
      35             :   NS_IMETHOD GetFindBackwards(bool *aFindBackwards) = 0;
      36             :   NS_IMETHOD SetFindBackwards(bool aFindBackwards) = 0;
      37             : 
      38             :   /* attribute boolean caseSensitive; */
      39             :   NS_IMETHOD GetCaseSensitive(bool *aCaseSensitive) = 0;
      40             :   NS_IMETHOD SetCaseSensitive(bool aCaseSensitive) = 0;
      41             : 
      42             :   /* attribute boolean entireWord; */
      43             :   NS_IMETHOD GetEntireWord(bool *aEntireWord) = 0;
      44             :   NS_IMETHOD SetEntireWord(bool aEntireWord) = 0;
      45             : 
      46             :   /* nsIDOMRange Find (in wstring aPatText, in nsIDOMRange aSearchRange, in nsIDOMRange aStartPoint, in nsIDOMRange aEndPoint); */
      47             :   NS_IMETHOD Find(const char16_t * aPatText, nsIDOMRange *aSearchRange, nsIDOMRange *aStartPoint, nsIDOMRange *aEndPoint, nsIDOMRange * *_retval) = 0;
      48             : 
      49             : };
      50             : 
      51             :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIFind, NS_IFIND_IID)
      52             : 
      53             : /* Use this macro when declaring classes that implement this interface. */
      54             : #define NS_DECL_NSIFIND \
      55             :   NS_IMETHOD GetFindBackwards(bool *aFindBackwards) override; \
      56             :   NS_IMETHOD SetFindBackwards(bool aFindBackwards) override; \
      57             :   NS_IMETHOD GetCaseSensitive(bool *aCaseSensitive) override; \
      58             :   NS_IMETHOD SetCaseSensitive(bool aCaseSensitive) override; \
      59             :   NS_IMETHOD GetEntireWord(bool *aEntireWord) override; \
      60             :   NS_IMETHOD SetEntireWord(bool aEntireWord) override; \
      61             :   NS_IMETHOD Find(const char16_t * aPatText, nsIDOMRange *aSearchRange, nsIDOMRange *aStartPoint, nsIDOMRange *aEndPoint, nsIDOMRange * *_retval) override; 
      62             : 
      63             : /* Use this macro when declaring the members of this interface when the
      64             :    class doesn't implement the interface. This is useful for forwarding. */
      65             : #define NS_DECL_NON_VIRTUAL_NSIFIND \
      66             :   nsresult GetFindBackwards(bool *aFindBackwards); \
      67             :   nsresult SetFindBackwards(bool aFindBackwards); \
      68             :   nsresult GetCaseSensitive(bool *aCaseSensitive); \
      69             :   nsresult SetCaseSensitive(bool aCaseSensitive); \
      70             :   nsresult GetEntireWord(bool *aEntireWord); \
      71             :   nsresult SetEntireWord(bool aEntireWord); \
      72             :   nsresult Find(const char16_t * aPatText, nsIDOMRange *aSearchRange, nsIDOMRange *aStartPoint, nsIDOMRange *aEndPoint, nsIDOMRange * *_retval); 
      73             : 
      74             : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
      75             : #define NS_FORWARD_NSIFIND(_to) \
      76             :   NS_IMETHOD GetFindBackwards(bool *aFindBackwards) override { return _to GetFindBackwards(aFindBackwards); } \
      77             :   NS_IMETHOD SetFindBackwards(bool aFindBackwards) override { return _to SetFindBackwards(aFindBackwards); } \
      78             :   NS_IMETHOD GetCaseSensitive(bool *aCaseSensitive) override { return _to GetCaseSensitive(aCaseSensitive); } \
      79             :   NS_IMETHOD SetCaseSensitive(bool aCaseSensitive) override { return _to SetCaseSensitive(aCaseSensitive); } \
      80             :   NS_IMETHOD GetEntireWord(bool *aEntireWord) override { return _to GetEntireWord(aEntireWord); } \
      81             :   NS_IMETHOD SetEntireWord(bool aEntireWord) override { return _to SetEntireWord(aEntireWord); } \
      82             :   NS_IMETHOD Find(const char16_t * aPatText, nsIDOMRange *aSearchRange, nsIDOMRange *aStartPoint, nsIDOMRange *aEndPoint, nsIDOMRange * *_retval) override { return _to Find(aPatText, aSearchRange, aStartPoint, aEndPoint, _retval); } 
      83             : 
      84             : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
      85             : #define NS_FORWARD_SAFE_NSIFIND(_to) \
      86             :   NS_IMETHOD GetFindBackwards(bool *aFindBackwards) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetFindBackwards(aFindBackwards); } \
      87             :   NS_IMETHOD SetFindBackwards(bool aFindBackwards) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetFindBackwards(aFindBackwards); } \
      88             :   NS_IMETHOD GetCaseSensitive(bool *aCaseSensitive) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCaseSensitive(aCaseSensitive); } \
      89             :   NS_IMETHOD SetCaseSensitive(bool aCaseSensitive) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetCaseSensitive(aCaseSensitive); } \
      90             :   NS_IMETHOD GetEntireWord(bool *aEntireWord) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetEntireWord(aEntireWord); } \
      91             :   NS_IMETHOD SetEntireWord(bool aEntireWord) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetEntireWord(aEntireWord); } \
      92             :   NS_IMETHOD Find(const char16_t * aPatText, nsIDOMRange *aSearchRange, nsIDOMRange *aStartPoint, nsIDOMRange *aEndPoint, nsIDOMRange * *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->Find(aPatText, aSearchRange, aStartPoint, aEndPoint, _retval); } 
      93             : 
      94             : #if 0
      95             : /* Use the code below as a template for the implementation class for this interface. */
      96             : 
      97             : /* Header file */
      98             : class nsFind : public nsIFind
      99             : {
     100             : public:
     101             :   NS_DECL_ISUPPORTS
     102             :   NS_DECL_NSIFIND
     103             : 
     104             :   nsFind();
     105             : 
     106             : private:
     107             :   ~nsFind();
     108             : 
     109             : protected:
     110             :   /* additional members */
     111             : };
     112             : 
     113             : /* Implementation file */
     114             : NS_IMPL_ISUPPORTS(nsFind, nsIFind)
     115             : 
     116             : nsFind::nsFind()
     117             : {
     118             :   /* member initializers and constructor code */
     119             : }
     120             : 
     121             : nsFind::~nsFind()
     122             : {
     123             :   /* destructor code */
     124             : }
     125             : 
     126             : /* attribute boolean findBackwards; */
     127             : NS_IMETHODIMP nsFind::GetFindBackwards(bool *aFindBackwards)
     128             : {
     129             :     return NS_ERROR_NOT_IMPLEMENTED;
     130             : }
     131             : NS_IMETHODIMP nsFind::SetFindBackwards(bool aFindBackwards)
     132             : {
     133             :     return NS_ERROR_NOT_IMPLEMENTED;
     134             : }
     135             : 
     136             : /* attribute boolean caseSensitive; */
     137             : NS_IMETHODIMP nsFind::GetCaseSensitive(bool *aCaseSensitive)
     138             : {
     139             :     return NS_ERROR_NOT_IMPLEMENTED;
     140             : }
     141             : NS_IMETHODIMP nsFind::SetCaseSensitive(bool aCaseSensitive)
     142             : {
     143             :     return NS_ERROR_NOT_IMPLEMENTED;
     144             : }
     145             : 
     146             : /* attribute boolean entireWord; */
     147             : NS_IMETHODIMP nsFind::GetEntireWord(bool *aEntireWord)
     148             : {
     149             :     return NS_ERROR_NOT_IMPLEMENTED;
     150             : }
     151             : NS_IMETHODIMP nsFind::SetEntireWord(bool aEntireWord)
     152             : {
     153             :     return NS_ERROR_NOT_IMPLEMENTED;
     154             : }
     155             : 
     156             : /* nsIDOMRange Find (in wstring aPatText, in nsIDOMRange aSearchRange, in nsIDOMRange aStartPoint, in nsIDOMRange aEndPoint); */
     157             : NS_IMETHODIMP nsFind::Find(const char16_t * aPatText, nsIDOMRange *aSearchRange, nsIDOMRange *aStartPoint, nsIDOMRange *aEndPoint, nsIDOMRange * *_retval)
     158             : {
     159             :     return NS_ERROR_NOT_IMPLEMENTED;
     160             : }
     161             : 
     162             : /* End of implementation class template. */
     163             : #endif
     164             : 
     165             : 
     166             : #endif /* __gen_nsIFind_h__ */

Generated by: LCOV version 1.13