LCOV - code coverage report
Current view: directory - objdir/dist/include - nsIQueryContentEventResult.h (source / functions) Found Hit Coverage
Test: app.info Lines: 1 0 0.0 %
Date: 2012-06-02 Functions: 1 0 0.0 %

       1                 : /*
       2                 :  * DO NOT EDIT.  THIS FILE IS GENERATED FROM /builds/slave/m-beta-lnx-codecoverage/build/dom/interfaces/base/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 "4b4ba266-b51e-4f0f-8d0e-9f13cb2a0056"
      20                 : 
      21                 : #define NS_IQUERYCONTENTEVENTRESULT_IID \
      22                 :   {0x4b4ba266, 0xb51e, 0x4f0f, \
      23                 :     { 0x8d, 0x0e, 0x9f, 0x13, 0xcb, 0x2a, 0x00, 0x56 }}
      24                 : 
      25               0 : class NS_NO_VTABLE NS_SCRIPTABLE nsIQueryContentEventResult : public nsISupports {
      26                 :  public: 
      27                 : 
      28                 :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IQUERYCONTENTEVENTRESULT_IID)
      29                 : 
      30                 :   /* readonly attribute unsigned long offset; */
      31                 :   NS_SCRIPTABLE NS_IMETHOD GetOffset(PRUint32 *aOffset) = 0;
      32                 : 
      33                 :   /* readonly attribute boolean reversed; */
      34                 :   NS_SCRIPTABLE NS_IMETHOD GetReversed(bool *aReversed) = 0;
      35                 : 
      36                 :   /* readonly attribute long left; */
      37                 :   NS_SCRIPTABLE NS_IMETHOD GetLeft(PRInt32 *aLeft) = 0;
      38                 : 
      39                 :   /* readonly attribute long top; */
      40                 :   NS_SCRIPTABLE NS_IMETHOD GetTop(PRInt32 *aTop) = 0;
      41                 : 
      42                 :   /* readonly attribute long width; */
      43                 :   NS_SCRIPTABLE NS_IMETHOD GetWidth(PRInt32 *aWidth) = 0;
      44                 : 
      45                 :   /* readonly attribute long height; */
      46                 :   NS_SCRIPTABLE NS_IMETHOD GetHeight(PRInt32 *aHeight) = 0;
      47                 : 
      48                 :   /* readonly attribute AString text; */
      49                 :   NS_SCRIPTABLE NS_IMETHOD GetText(nsAString & aText) = 0;
      50                 : 
      51                 :   /* readonly attribute boolean succeeded; */
      52                 :   NS_SCRIPTABLE NS_IMETHOD GetSucceeded(bool *aSucceeded) = 0;
      53                 : 
      54                 :   /* readonly attribute boolean notFound; */
      55                 :   NS_SCRIPTABLE NS_IMETHOD GetNotFound(bool *aNotFound) = 0;
      56                 : 
      57                 : };
      58                 : 
      59                 :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIQueryContentEventResult, NS_IQUERYCONTENTEVENTRESULT_IID)
      60                 : 
      61                 : /* Use this macro when declaring classes that implement this interface. */
      62                 : #define NS_DECL_NSIQUERYCONTENTEVENTRESULT \
      63                 :   NS_SCRIPTABLE NS_IMETHOD GetOffset(PRUint32 *aOffset); \
      64                 :   NS_SCRIPTABLE NS_IMETHOD GetReversed(bool *aReversed); \
      65                 :   NS_SCRIPTABLE NS_IMETHOD GetLeft(PRInt32 *aLeft); \
      66                 :   NS_SCRIPTABLE NS_IMETHOD GetTop(PRInt32 *aTop); \
      67                 :   NS_SCRIPTABLE NS_IMETHOD GetWidth(PRInt32 *aWidth); \
      68                 :   NS_SCRIPTABLE NS_IMETHOD GetHeight(PRInt32 *aHeight); \
      69                 :   NS_SCRIPTABLE NS_IMETHOD GetText(nsAString & aText); \
      70                 :   NS_SCRIPTABLE NS_IMETHOD GetSucceeded(bool *aSucceeded); \
      71                 :   NS_SCRIPTABLE NS_IMETHOD GetNotFound(bool *aNotFound); 
      72                 : 
      73                 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
      74                 : #define NS_FORWARD_NSIQUERYCONTENTEVENTRESULT(_to) \
      75                 :   NS_SCRIPTABLE NS_IMETHOD GetOffset(PRUint32 *aOffset) { return _to GetOffset(aOffset); } \
      76                 :   NS_SCRIPTABLE NS_IMETHOD GetReversed(bool *aReversed) { return _to GetReversed(aReversed); } \
      77                 :   NS_SCRIPTABLE NS_IMETHOD GetLeft(PRInt32 *aLeft) { return _to GetLeft(aLeft); } \
      78                 :   NS_SCRIPTABLE NS_IMETHOD GetTop(PRInt32 *aTop) { return _to GetTop(aTop); } \
      79                 :   NS_SCRIPTABLE NS_IMETHOD GetWidth(PRInt32 *aWidth) { return _to GetWidth(aWidth); } \
      80                 :   NS_SCRIPTABLE NS_IMETHOD GetHeight(PRInt32 *aHeight) { return _to GetHeight(aHeight); } \
      81                 :   NS_SCRIPTABLE NS_IMETHOD GetText(nsAString & aText) { return _to GetText(aText); } \
      82                 :   NS_SCRIPTABLE NS_IMETHOD GetSucceeded(bool *aSucceeded) { return _to GetSucceeded(aSucceeded); } \
      83                 :   NS_SCRIPTABLE NS_IMETHOD GetNotFound(bool *aNotFound) { return _to GetNotFound(aNotFound); } 
      84                 : 
      85                 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
      86                 : #define NS_FORWARD_SAFE_NSIQUERYCONTENTEVENTRESULT(_to) \
      87                 :   NS_SCRIPTABLE NS_IMETHOD GetOffset(PRUint32 *aOffset) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetOffset(aOffset); } \
      88                 :   NS_SCRIPTABLE NS_IMETHOD GetReversed(bool *aReversed) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetReversed(aReversed); } \
      89                 :   NS_SCRIPTABLE NS_IMETHOD GetLeft(PRInt32 *aLeft) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLeft(aLeft); } \
      90                 :   NS_SCRIPTABLE NS_IMETHOD GetTop(PRInt32 *aTop) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetTop(aTop); } \
      91                 :   NS_SCRIPTABLE NS_IMETHOD GetWidth(PRInt32 *aWidth) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetWidth(aWidth); } \
      92                 :   NS_SCRIPTABLE NS_IMETHOD GetHeight(PRInt32 *aHeight) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetHeight(aHeight); } \
      93                 :   NS_SCRIPTABLE NS_IMETHOD GetText(nsAString & aText) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetText(aText); } \
      94                 :   NS_SCRIPTABLE NS_IMETHOD GetSucceeded(bool *aSucceeded) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSucceeded(aSucceeded); } \
      95                 :   NS_SCRIPTABLE NS_IMETHOD GetNotFound(bool *aNotFound) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetNotFound(aNotFound); } 
      96                 : 
      97                 : #if 0
      98                 : /* Use the code below as a template for the implementation class for this interface. */
      99                 : 
     100                 : /* Header file */
     101                 : class nsQueryContentEventResult : public nsIQueryContentEventResult
     102                 : {
     103                 : public:
     104                 :   NS_DECL_ISUPPORTS
     105                 :   NS_DECL_NSIQUERYCONTENTEVENTRESULT
     106                 : 
     107                 :   nsQueryContentEventResult();
     108                 : 
     109                 : private:
     110                 :   ~nsQueryContentEventResult();
     111                 : 
     112                 : protected:
     113                 :   /* additional members */
     114                 : };
     115                 : 
     116                 : /* Implementation file */
     117                 : NS_IMPL_ISUPPORTS1(nsQueryContentEventResult, nsIQueryContentEventResult)
     118                 : 
     119                 : nsQueryContentEventResult::nsQueryContentEventResult()
     120                 : {
     121                 :   /* member initializers and constructor code */
     122                 : }
     123                 : 
     124                 : nsQueryContentEventResult::~nsQueryContentEventResult()
     125                 : {
     126                 :   /* destructor code */
     127                 : }
     128                 : 
     129                 : /* readonly attribute unsigned long offset; */
     130                 : NS_IMETHODIMP nsQueryContentEventResult::GetOffset(PRUint32 *aOffset)
     131                 : {
     132                 :     return NS_ERROR_NOT_IMPLEMENTED;
     133                 : }
     134                 : 
     135                 : /* readonly attribute boolean reversed; */
     136                 : NS_IMETHODIMP nsQueryContentEventResult::GetReversed(bool *aReversed)
     137                 : {
     138                 :     return NS_ERROR_NOT_IMPLEMENTED;
     139                 : }
     140                 : 
     141                 : /* readonly attribute long left; */
     142                 : NS_IMETHODIMP nsQueryContentEventResult::GetLeft(PRInt32 *aLeft)
     143                 : {
     144                 :     return NS_ERROR_NOT_IMPLEMENTED;
     145                 : }
     146                 : 
     147                 : /* readonly attribute long top; */
     148                 : NS_IMETHODIMP nsQueryContentEventResult::GetTop(PRInt32 *aTop)
     149                 : {
     150                 :     return NS_ERROR_NOT_IMPLEMENTED;
     151                 : }
     152                 : 
     153                 : /* readonly attribute long width; */
     154                 : NS_IMETHODIMP nsQueryContentEventResult::GetWidth(PRInt32 *aWidth)
     155                 : {
     156                 :     return NS_ERROR_NOT_IMPLEMENTED;
     157                 : }
     158                 : 
     159                 : /* readonly attribute long height; */
     160                 : NS_IMETHODIMP nsQueryContentEventResult::GetHeight(PRInt32 *aHeight)
     161                 : {
     162                 :     return NS_ERROR_NOT_IMPLEMENTED;
     163                 : }
     164                 : 
     165                 : /* readonly attribute AString text; */
     166                 : NS_IMETHODIMP nsQueryContentEventResult::GetText(nsAString & aText)
     167                 : {
     168                 :     return NS_ERROR_NOT_IMPLEMENTED;
     169                 : }
     170                 : 
     171                 : /* readonly attribute boolean succeeded; */
     172                 : NS_IMETHODIMP nsQueryContentEventResult::GetSucceeded(bool *aSucceeded)
     173                 : {
     174                 :     return NS_ERROR_NOT_IMPLEMENTED;
     175                 : }
     176                 : 
     177                 : /* readonly attribute boolean notFound; */
     178                 : NS_IMETHODIMP nsQueryContentEventResult::GetNotFound(bool *aNotFound)
     179                 : {
     180                 :     return NS_ERROR_NOT_IMPLEMENTED;
     181                 : }
     182                 : 
     183                 : /* End of implementation class template. */
     184                 : #endif
     185                 : 
     186                 : 
     187                 : #endif /* __gen_nsIQueryContentEventResult_h__ */

Generated by: LCOV version 1.7