LCOV - code coverage report
Current view: top level - obj-x86_64-pc-linux-gnu/dist/include - inISearchProcess.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/inISearchProcess.idl
       3             :  */
       4             : 
       5             : #ifndef __gen_inISearchProcess_h__
       6             : #define __gen_inISearchProcess_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 nsAString; /* forward declaration */
      18             : 
      19             : class inISearchObserver; /* forward declaration */
      20             : 
      21             : 
      22             : /* starting interface:    inISearchProcess */
      23             : #define INISEARCHPROCESS_IID_STR "d5fa765b-2448-4686-b7c1-5ff13acb0fc9"
      24             : 
      25             : #define INISEARCHPROCESS_IID \
      26             :   {0xd5fa765b, 0x2448, 0x4686, \
      27             :     { 0xb7, 0xc1, 0x5f, 0xf1, 0x3a, 0xcb, 0x0f, 0xc9 }}
      28             : 
      29           0 : class NS_NO_VTABLE inISearchProcess : public nsISupports {
      30             :  public:
      31             : 
      32             :   NS_DECLARE_STATIC_IID_ACCESSOR(INISEARCHPROCESS_IID)
      33             : 
      34             :   /* readonly attribute boolean isActive; */
      35             :   NS_IMETHOD GetIsActive(bool *aIsActive) = 0;
      36             : 
      37             :   /* readonly attribute long resultCount; */
      38             :   NS_IMETHOD GetResultCount(int32_t *aResultCount) = 0;
      39             : 
      40             :   /* attribute boolean holdResults; */
      41             :   NS_IMETHOD GetHoldResults(bool *aHoldResults) = 0;
      42             :   NS_IMETHOD SetHoldResults(bool aHoldResults) = 0;
      43             : 
      44             :   /* void searchSync (); */
      45             :   NS_IMETHOD SearchSync(void) = 0;
      46             : 
      47             :   /* void searchAsync (in inISearchObserver aObserver); */
      48             :   NS_IMETHOD SearchAsync(inISearchObserver *aObserver) = 0;
      49             : 
      50             :   /* void searchStop (); */
      51             :   NS_IMETHOD SearchStop(void) = 0;
      52             : 
      53             :   /* boolean searchStep (); */
      54             :   NS_IMETHOD SearchStep(bool *_retval) = 0;
      55             : 
      56             :   /* AString getStringResultAt (in long aIndex); */
      57             :   NS_IMETHOD GetStringResultAt(int32_t aIndex, nsAString & _retval) = 0;
      58             : 
      59             :   /* long getIntResultAt (in long aIndex); */
      60             :   NS_IMETHOD GetIntResultAt(int32_t aIndex, int32_t *_retval) = 0;
      61             : 
      62             :   /* unsigned long getUIntResultAt (in long aIndex); */
      63             :   NS_IMETHOD GetUIntResultAt(int32_t aIndex, uint32_t *_retval) = 0;
      64             : 
      65             : };
      66             : 
      67             :   NS_DEFINE_STATIC_IID_ACCESSOR(inISearchProcess, INISEARCHPROCESS_IID)
      68             : 
      69             : /* Use this macro when declaring classes that implement this interface. */
      70             : #define NS_DECL_INISEARCHPROCESS \
      71             :   NS_IMETHOD GetIsActive(bool *aIsActive) override; \
      72             :   NS_IMETHOD GetResultCount(int32_t *aResultCount) override; \
      73             :   NS_IMETHOD GetHoldResults(bool *aHoldResults) override; \
      74             :   NS_IMETHOD SetHoldResults(bool aHoldResults) override; \
      75             :   NS_IMETHOD SearchSync(void) override; \
      76             :   NS_IMETHOD SearchAsync(inISearchObserver *aObserver) override; \
      77             :   NS_IMETHOD SearchStop(void) override; \
      78             :   NS_IMETHOD SearchStep(bool *_retval) override; \
      79             :   NS_IMETHOD GetStringResultAt(int32_t aIndex, nsAString & _retval) override; \
      80             :   NS_IMETHOD GetIntResultAt(int32_t aIndex, int32_t *_retval) override; \
      81             :   NS_IMETHOD GetUIntResultAt(int32_t aIndex, uint32_t *_retval) override; 
      82             : 
      83             : /* Use this macro when declaring the members of this interface when the
      84             :    class doesn't implement the interface. This is useful for forwarding. */
      85             : #define NS_DECL_NON_VIRTUAL_INISEARCHPROCESS \
      86             :   nsresult GetIsActive(bool *aIsActive); \
      87             :   nsresult GetResultCount(int32_t *aResultCount); \
      88             :   nsresult GetHoldResults(bool *aHoldResults); \
      89             :   nsresult SetHoldResults(bool aHoldResults); \
      90             :   nsresult SearchSync(void); \
      91             :   nsresult SearchAsync(inISearchObserver *aObserver); \
      92             :   nsresult SearchStop(void); \
      93             :   nsresult SearchStep(bool *_retval); \
      94             :   nsresult GetStringResultAt(int32_t aIndex, nsAString & _retval); \
      95             :   nsresult GetIntResultAt(int32_t aIndex, int32_t *_retval); \
      96             :   nsresult GetUIntResultAt(int32_t aIndex, uint32_t *_retval); 
      97             : 
      98             : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
      99             : #define NS_FORWARD_INISEARCHPROCESS(_to) \
     100             :   NS_IMETHOD GetIsActive(bool *aIsActive) override { return _to GetIsActive(aIsActive); } \
     101             :   NS_IMETHOD GetResultCount(int32_t *aResultCount) override { return _to GetResultCount(aResultCount); } \
     102             :   NS_IMETHOD GetHoldResults(bool *aHoldResults) override { return _to GetHoldResults(aHoldResults); } \
     103             :   NS_IMETHOD SetHoldResults(bool aHoldResults) override { return _to SetHoldResults(aHoldResults); } \
     104             :   NS_IMETHOD SearchSync(void) override { return _to SearchSync(); } \
     105             :   NS_IMETHOD SearchAsync(inISearchObserver *aObserver) override { return _to SearchAsync(aObserver); } \
     106             :   NS_IMETHOD SearchStop(void) override { return _to SearchStop(); } \
     107             :   NS_IMETHOD SearchStep(bool *_retval) override { return _to SearchStep(_retval); } \
     108             :   NS_IMETHOD GetStringResultAt(int32_t aIndex, nsAString & _retval) override { return _to GetStringResultAt(aIndex, _retval); } \
     109             :   NS_IMETHOD GetIntResultAt(int32_t aIndex, int32_t *_retval) override { return _to GetIntResultAt(aIndex, _retval); } \
     110             :   NS_IMETHOD GetUIntResultAt(int32_t aIndex, uint32_t *_retval) override { return _to GetUIntResultAt(aIndex, _retval); } 
     111             : 
     112             : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
     113             : #define NS_FORWARD_SAFE_INISEARCHPROCESS(_to) \
     114             :   NS_IMETHOD GetIsActive(bool *aIsActive) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetIsActive(aIsActive); } \
     115             :   NS_IMETHOD GetResultCount(int32_t *aResultCount) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetResultCount(aResultCount); } \
     116             :   NS_IMETHOD GetHoldResults(bool *aHoldResults) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetHoldResults(aHoldResults); } \
     117             :   NS_IMETHOD SetHoldResults(bool aHoldResults) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetHoldResults(aHoldResults); } \
     118             :   NS_IMETHOD SearchSync(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SearchSync(); } \
     119             :   NS_IMETHOD SearchAsync(inISearchObserver *aObserver) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SearchAsync(aObserver); } \
     120             :   NS_IMETHOD SearchStop(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SearchStop(); } \
     121             :   NS_IMETHOD SearchStep(bool *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SearchStep(_retval); } \
     122             :   NS_IMETHOD GetStringResultAt(int32_t aIndex, nsAString & _retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetStringResultAt(aIndex, _retval); } \
     123             :   NS_IMETHOD GetIntResultAt(int32_t aIndex, int32_t *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetIntResultAt(aIndex, _retval); } \
     124             :   NS_IMETHOD GetUIntResultAt(int32_t aIndex, uint32_t *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetUIntResultAt(aIndex, _retval); } 
     125             : 
     126             : #if 0
     127             : /* Use the code below as a template for the implementation class for this interface. */
     128             : 
     129             : /* Header file */
     130             : class inSearchProcess : public inISearchProcess
     131             : {
     132             : public:
     133             :   NS_DECL_ISUPPORTS
     134             :   NS_DECL_INISEARCHPROCESS
     135             : 
     136             :   inSearchProcess();
     137             : 
     138             : private:
     139             :   ~inSearchProcess();
     140             : 
     141             : protected:
     142             :   /* additional members */
     143             : };
     144             : 
     145             : /* Implementation file */
     146             : NS_IMPL_ISUPPORTS(inSearchProcess, inISearchProcess)
     147             : 
     148             : inSearchProcess::inSearchProcess()
     149             : {
     150             :   /* member initializers and constructor code */
     151             : }
     152             : 
     153             : inSearchProcess::~inSearchProcess()
     154             : {
     155             :   /* destructor code */
     156             : }
     157             : 
     158             : /* readonly attribute boolean isActive; */
     159             : NS_IMETHODIMP inSearchProcess::GetIsActive(bool *aIsActive)
     160             : {
     161             :     return NS_ERROR_NOT_IMPLEMENTED;
     162             : }
     163             : 
     164             : /* readonly attribute long resultCount; */
     165             : NS_IMETHODIMP inSearchProcess::GetResultCount(int32_t *aResultCount)
     166             : {
     167             :     return NS_ERROR_NOT_IMPLEMENTED;
     168             : }
     169             : 
     170             : /* attribute boolean holdResults; */
     171             : NS_IMETHODIMP inSearchProcess::GetHoldResults(bool *aHoldResults)
     172             : {
     173             :     return NS_ERROR_NOT_IMPLEMENTED;
     174             : }
     175             : NS_IMETHODIMP inSearchProcess::SetHoldResults(bool aHoldResults)
     176             : {
     177             :     return NS_ERROR_NOT_IMPLEMENTED;
     178             : }
     179             : 
     180             : /* void searchSync (); */
     181             : NS_IMETHODIMP inSearchProcess::SearchSync()
     182             : {
     183             :     return NS_ERROR_NOT_IMPLEMENTED;
     184             : }
     185             : 
     186             : /* void searchAsync (in inISearchObserver aObserver); */
     187             : NS_IMETHODIMP inSearchProcess::SearchAsync(inISearchObserver *aObserver)
     188             : {
     189             :     return NS_ERROR_NOT_IMPLEMENTED;
     190             : }
     191             : 
     192             : /* void searchStop (); */
     193             : NS_IMETHODIMP inSearchProcess::SearchStop()
     194             : {
     195             :     return NS_ERROR_NOT_IMPLEMENTED;
     196             : }
     197             : 
     198             : /* boolean searchStep (); */
     199             : NS_IMETHODIMP inSearchProcess::SearchStep(bool *_retval)
     200             : {
     201             :     return NS_ERROR_NOT_IMPLEMENTED;
     202             : }
     203             : 
     204             : /* AString getStringResultAt (in long aIndex); */
     205             : NS_IMETHODIMP inSearchProcess::GetStringResultAt(int32_t aIndex, nsAString & _retval)
     206             : {
     207             :     return NS_ERROR_NOT_IMPLEMENTED;
     208             : }
     209             : 
     210             : /* long getIntResultAt (in long aIndex); */
     211             : NS_IMETHODIMP inSearchProcess::GetIntResultAt(int32_t aIndex, int32_t *_retval)
     212             : {
     213             :     return NS_ERROR_NOT_IMPLEMENTED;
     214             : }
     215             : 
     216             : /* unsigned long getUIntResultAt (in long aIndex); */
     217             : NS_IMETHODIMP inSearchProcess::GetUIntResultAt(int32_t aIndex, uint32_t *_retval)
     218             : {
     219             :     return NS_ERROR_NOT_IMPLEMENTED;
     220             : }
     221             : 
     222             : /* End of implementation class template. */
     223             : #endif
     224             : 
     225             : 
     226             : #endif /* __gen_inISearchProcess_h__ */

Generated by: LCOV version 1.13