LCOV - code coverage report
Current view: directory - objdir/dist/include - nsIWindowDataSource.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/xpfe/components/windowds/nsIWindowDataSource.idl
       3                 :  */
       4                 : 
       5                 : #ifndef __gen_nsIWindowDataSource_h__
       6                 : #define __gen_nsIWindowDataSource_h__
       7                 : 
       8                 : 
       9                 : #ifndef __gen_nsISupports_h__
      10                 : #include "nsISupports.h"
      11                 : #endif
      12                 : 
      13                 : #ifndef __gen_nsIDOMWindow_h__
      14                 : #include "nsIDOMWindow.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:    nsIWindowDataSource */
      23                 : #define NS_IWINDOWDATASOURCE_IID_STR "3722a5b9-5323-4ed0-bb1a-8299f27a4e89"
      24                 : 
      25                 : #define NS_IWINDOWDATASOURCE_IID \
      26                 :   {0x3722a5b9, 0x5323, 0x4ed0, \
      27                 :     { 0xbb, 0x1a, 0x82, 0x99, 0xf2, 0x7a, 0x4e, 0x89 }}
      28                 : 
      29               0 : class NS_NO_VTABLE NS_SCRIPTABLE nsIWindowDataSource : public nsISupports {
      30                 :  public: 
      31                 : 
      32                 :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IWINDOWDATASOURCE_IID)
      33                 : 
      34                 :   /* nsIDOMWindow getWindowForResource (in string inResource); */
      35                 :   NS_SCRIPTABLE NS_IMETHOD GetWindowForResource(const char * inResource, nsIDOMWindow * *_retval NS_OUTPARAM) = 0;
      36                 : 
      37                 : };
      38                 : 
      39                 :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIWindowDataSource, NS_IWINDOWDATASOURCE_IID)
      40                 : 
      41                 : /* Use this macro when declaring classes that implement this interface. */
      42                 : #define NS_DECL_NSIWINDOWDATASOURCE \
      43                 :   NS_SCRIPTABLE NS_IMETHOD GetWindowForResource(const char * inResource, nsIDOMWindow * *_retval NS_OUTPARAM); 
      44                 : 
      45                 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
      46                 : #define NS_FORWARD_NSIWINDOWDATASOURCE(_to) \
      47                 :   NS_SCRIPTABLE NS_IMETHOD GetWindowForResource(const char * inResource, nsIDOMWindow * *_retval NS_OUTPARAM) { return _to GetWindowForResource(inResource, _retval); } 
      48                 : 
      49                 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
      50                 : #define NS_FORWARD_SAFE_NSIWINDOWDATASOURCE(_to) \
      51                 :   NS_SCRIPTABLE NS_IMETHOD GetWindowForResource(const char * inResource, nsIDOMWindow * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetWindowForResource(inResource, _retval); } 
      52                 : 
      53                 : #if 0
      54                 : /* Use the code below as a template for the implementation class for this interface. */
      55                 : 
      56                 : /* Header file */
      57                 : class nsWindowDataSource : public nsIWindowDataSource
      58                 : {
      59                 : public:
      60                 :   NS_DECL_ISUPPORTS
      61                 :   NS_DECL_NSIWINDOWDATASOURCE
      62                 : 
      63                 :   nsWindowDataSource();
      64                 : 
      65                 : private:
      66                 :   ~nsWindowDataSource();
      67                 : 
      68                 : protected:
      69                 :   /* additional members */
      70                 : };
      71                 : 
      72                 : /* Implementation file */
      73                 : NS_IMPL_ISUPPORTS1(nsWindowDataSource, nsIWindowDataSource)
      74                 : 
      75                 : nsWindowDataSource::nsWindowDataSource()
      76                 : {
      77                 :   /* member initializers and constructor code */
      78                 : }
      79                 : 
      80                 : nsWindowDataSource::~nsWindowDataSource()
      81                 : {
      82                 :   /* destructor code */
      83                 : }
      84                 : 
      85                 : /* nsIDOMWindow getWindowForResource (in string inResource); */
      86                 : NS_IMETHODIMP nsWindowDataSource::GetWindowForResource(const char * inResource, nsIDOMWindow * *_retval NS_OUTPARAM)
      87                 : {
      88                 :     return NS_ERROR_NOT_IMPLEMENTED;
      89                 : }
      90                 : 
      91                 : /* End of implementation class template. */
      92                 : #endif
      93                 : 
      94                 : 
      95                 : #endif /* __gen_nsIWindowDataSource_h__ */

Generated by: LCOV version 1.7