LCOV - code coverage report
Current view: directory - objdir/dist/include - nsIPluginDocument.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/plugins/base/nsIPluginDocument.idl
       3                 :  */
       4                 : 
       5                 : #ifndef __gen_nsIPluginDocument_h__
       6                 : #define __gen_nsIPluginDocument_h__
       7                 : 
       8                 : 
       9                 : #ifndef __gen_nsISupports_h__
      10                 : #include "nsISupports.h"
      11                 : #endif
      12                 : 
      13                 : #ifndef __gen_nsIStreamListener_h__
      14                 : #include "nsIStreamListener.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:    nsIPluginDocument */
      23                 : #define NS_IPLUGINDOCUMENT_IID_STR "e4be1d0a-9f24-4d69-bec5-245726ab85fb"
      24                 : 
      25                 : #define NS_IPLUGINDOCUMENT_IID \
      26                 :   {0xe4be1d0a, 0x9f24, 0x4d69, \
      27                 :     { 0xbe, 0xc5, 0x24, 0x57, 0x26, 0xab, 0x85, 0xfb }}
      28                 : 
      29               0 : class NS_NO_VTABLE nsIPluginDocument : public nsISupports {
      30                 :  public: 
      31                 : 
      32                 :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IPLUGINDOCUMENT_IID)
      33                 : 
      34                 :   /* void setStreamListener (in nsIStreamListener aStreamListener); */
      35                 :   NS_IMETHOD SetStreamListener(nsIStreamListener *aStreamListener) = 0;
      36                 : 
      37                 :   /* void print (); */
      38                 :   NS_IMETHOD Print(void) = 0;
      39                 : 
      40                 :   /* readonly attribute boolean willHandleInstantiation; */
      41                 :   NS_IMETHOD GetWillHandleInstantiation(bool *aWillHandleInstantiation) = 0;
      42                 : 
      43                 : };
      44                 : 
      45                 :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIPluginDocument, NS_IPLUGINDOCUMENT_IID)
      46                 : 
      47                 : /* Use this macro when declaring classes that implement this interface. */
      48                 : #define NS_DECL_NSIPLUGINDOCUMENT \
      49                 :   NS_IMETHOD SetStreamListener(nsIStreamListener *aStreamListener); \
      50                 :   NS_IMETHOD Print(void); \
      51                 :   NS_IMETHOD GetWillHandleInstantiation(bool *aWillHandleInstantiation); 
      52                 : 
      53                 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
      54                 : #define NS_FORWARD_NSIPLUGINDOCUMENT(_to) \
      55                 :   NS_IMETHOD SetStreamListener(nsIStreamListener *aStreamListener) { return _to SetStreamListener(aStreamListener); } \
      56                 :   NS_IMETHOD Print(void) { return _to Print(); } \
      57                 :   NS_IMETHOD GetWillHandleInstantiation(bool *aWillHandleInstantiation) { return _to GetWillHandleInstantiation(aWillHandleInstantiation); } 
      58                 : 
      59                 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
      60                 : #define NS_FORWARD_SAFE_NSIPLUGINDOCUMENT(_to) \
      61                 :   NS_IMETHOD SetStreamListener(nsIStreamListener *aStreamListener) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetStreamListener(aStreamListener); } \
      62                 :   NS_IMETHOD Print(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->Print(); } \
      63                 :   NS_IMETHOD GetWillHandleInstantiation(bool *aWillHandleInstantiation) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetWillHandleInstantiation(aWillHandleInstantiation); } 
      64                 : 
      65                 : #if 0
      66                 : /* Use the code below as a template for the implementation class for this interface. */
      67                 : 
      68                 : /* Header file */
      69                 : class nsPluginDocument : public nsIPluginDocument
      70                 : {
      71                 : public:
      72                 :   NS_DECL_ISUPPORTS
      73                 :   NS_DECL_NSIPLUGINDOCUMENT
      74                 : 
      75                 :   nsPluginDocument();
      76                 : 
      77                 : private:
      78                 :   ~nsPluginDocument();
      79                 : 
      80                 : protected:
      81                 :   /* additional members */
      82                 : };
      83                 : 
      84                 : /* Implementation file */
      85                 : NS_IMPL_ISUPPORTS1(nsPluginDocument, nsIPluginDocument)
      86                 : 
      87                 : nsPluginDocument::nsPluginDocument()
      88                 : {
      89                 :   /* member initializers and constructor code */
      90                 : }
      91                 : 
      92                 : nsPluginDocument::~nsPluginDocument()
      93                 : {
      94                 :   /* destructor code */
      95                 : }
      96                 : 
      97                 : /* void setStreamListener (in nsIStreamListener aStreamListener); */
      98                 : NS_IMETHODIMP nsPluginDocument::SetStreamListener(nsIStreamListener *aStreamListener)
      99                 : {
     100                 :     return NS_ERROR_NOT_IMPLEMENTED;
     101                 : }
     102                 : 
     103                 : /* void print (); */
     104                 : NS_IMETHODIMP nsPluginDocument::Print()
     105                 : {
     106                 :     return NS_ERROR_NOT_IMPLEMENTED;
     107                 : }
     108                 : 
     109                 : /* readonly attribute boolean willHandleInstantiation; */
     110                 : NS_IMETHODIMP nsPluginDocument::GetWillHandleInstantiation(bool *aWillHandleInstantiation)
     111                 : {
     112                 :     return NS_ERROR_NOT_IMPLEMENTED;
     113                 : }
     114                 : 
     115                 : /* End of implementation class template. */
     116                 : #endif
     117                 : 
     118                 : 
     119                 : #endif /* __gen_nsIPluginDocument_h__ */

Generated by: LCOV version 1.7