LCOV - code coverage report
Current view: directory - objdir/dist/include - nsITreeContentView.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/layout/xul/base/src/tree/public/nsITreeContentView.idl
       3                 :  */
       4                 : 
       5                 : #ifndef __gen_nsITreeContentView_h__
       6                 : #define __gen_nsITreeContentView_h__
       7                 : 
       8                 : 
       9                 : #ifndef __gen_nsISupports_h__
      10                 : #include "nsISupports.h"
      11                 : #endif
      12                 : 
      13                 : #ifndef __gen_nsIDOMElement_h__
      14                 : #include "nsIDOMElement.h"
      15                 : #endif
      16                 : 
      17                 : /* For IDL files that don't want to include root IDL files. */
      18                 : #ifndef NS_NO_VTABLE
      19                 : #define NS_NO_VTABLE
      20                 : #endif
      21                 : 
      22                 : /* starting interface:    nsITreeContentView */
      23                 : #define NS_ITREECONTENTVIEW_IID_STR "5ef62896-0c0a-41f1-bb3c-44a60f5dfdab"
      24                 : 
      25                 : #define NS_ITREECONTENTVIEW_IID \
      26                 :   {0x5ef62896, 0x0c0a, 0x41f1, \
      27                 :     { 0xbb, 0x3c, 0x44, 0xa6, 0x0f, 0x5d, 0xfd, 0xab }}
      28                 : 
      29               0 : class NS_NO_VTABLE NS_SCRIPTABLE nsITreeContentView : public nsISupports {
      30                 :  public: 
      31                 : 
      32                 :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_ITREECONTENTVIEW_IID)
      33                 : 
      34                 :   /* nsIDOMElement getItemAtIndex (in long index); */
      35                 :   NS_SCRIPTABLE NS_IMETHOD GetItemAtIndex(PRInt32 index, nsIDOMElement * *_retval NS_OUTPARAM) = 0;
      36                 : 
      37                 :   /* long getIndexOfItem (in nsIDOMElement item); */
      38                 :   NS_SCRIPTABLE NS_IMETHOD GetIndexOfItem(nsIDOMElement *item, PRInt32 *_retval NS_OUTPARAM) = 0;
      39                 : 
      40                 : };
      41                 : 
      42                 :   NS_DEFINE_STATIC_IID_ACCESSOR(nsITreeContentView, NS_ITREECONTENTVIEW_IID)
      43                 : 
      44                 : /* Use this macro when declaring classes that implement this interface. */
      45                 : #define NS_DECL_NSITREECONTENTVIEW \
      46                 :   NS_SCRIPTABLE NS_IMETHOD GetItemAtIndex(PRInt32 index, nsIDOMElement * *_retval NS_OUTPARAM); \
      47                 :   NS_SCRIPTABLE NS_IMETHOD GetIndexOfItem(nsIDOMElement *item, PRInt32 *_retval NS_OUTPARAM); 
      48                 : 
      49                 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
      50                 : #define NS_FORWARD_NSITREECONTENTVIEW(_to) \
      51                 :   NS_SCRIPTABLE NS_IMETHOD GetItemAtIndex(PRInt32 index, nsIDOMElement * *_retval NS_OUTPARAM) { return _to GetItemAtIndex(index, _retval); } \
      52                 :   NS_SCRIPTABLE NS_IMETHOD GetIndexOfItem(nsIDOMElement *item, PRInt32 *_retval NS_OUTPARAM) { return _to GetIndexOfItem(item, _retval); } 
      53                 : 
      54                 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
      55                 : #define NS_FORWARD_SAFE_NSITREECONTENTVIEW(_to) \
      56                 :   NS_SCRIPTABLE NS_IMETHOD GetItemAtIndex(PRInt32 index, nsIDOMElement * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetItemAtIndex(index, _retval); } \
      57                 :   NS_SCRIPTABLE NS_IMETHOD GetIndexOfItem(nsIDOMElement *item, PRInt32 *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetIndexOfItem(item, _retval); } 
      58                 : 
      59                 : #if 0
      60                 : /* Use the code below as a template for the implementation class for this interface. */
      61                 : 
      62                 : /* Header file */
      63                 : class nsTreeContentView : public nsITreeContentView
      64                 : {
      65                 : public:
      66                 :   NS_DECL_ISUPPORTS
      67                 :   NS_DECL_NSITREECONTENTVIEW
      68                 : 
      69                 :   nsTreeContentView();
      70                 : 
      71                 : private:
      72                 :   ~nsTreeContentView();
      73                 : 
      74                 : protected:
      75                 :   /* additional members */
      76                 : };
      77                 : 
      78                 : /* Implementation file */
      79                 : NS_IMPL_ISUPPORTS1(nsTreeContentView, nsITreeContentView)
      80                 : 
      81                 : nsTreeContentView::nsTreeContentView()
      82                 : {
      83                 :   /* member initializers and constructor code */
      84                 : }
      85                 : 
      86                 : nsTreeContentView::~nsTreeContentView()
      87                 : {
      88                 :   /* destructor code */
      89                 : }
      90                 : 
      91                 : /* nsIDOMElement getItemAtIndex (in long index); */
      92                 : NS_IMETHODIMP nsTreeContentView::GetItemAtIndex(PRInt32 index, nsIDOMElement * *_retval NS_OUTPARAM)
      93                 : {
      94                 :     return NS_ERROR_NOT_IMPLEMENTED;
      95                 : }
      96                 : 
      97                 : /* long getIndexOfItem (in nsIDOMElement item); */
      98                 : NS_IMETHODIMP nsTreeContentView::GetIndexOfItem(nsIDOMElement *item, PRInt32 *_retval NS_OUTPARAM)
      99                 : {
     100                 :     return NS_ERROR_NOT_IMPLEMENTED;
     101                 : }
     102                 : 
     103                 : /* End of implementation class template. */
     104                 : #endif
     105                 : 
     106                 : 
     107                 : #endif /* __gen_nsITreeContentView_h__ */

Generated by: LCOV version 1.7