LCOV - code coverage report
Current view: directory - objdir/dist/include - nsIDOMPlugin.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/nsIDOMPlugin.idl
       3                 :  */
       4                 : 
       5                 : #ifndef __gen_nsIDOMPlugin_h__
       6                 : #define __gen_nsIDOMPlugin_h__
       7                 : 
       8                 : 
       9                 : #ifndef __gen_domstubs_h__
      10                 : #include "domstubs.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:    nsIDOMPlugin */
      19                 : #define NS_IDOMPLUGIN_IID_STR "ff69a292-c74d-4ef5-9d0f-86112fff2d5b"
      20                 : 
      21                 : #define NS_IDOMPLUGIN_IID \
      22                 :   {0xff69a292, 0xc74d, 0x4ef5, \
      23                 :     { 0x9d, 0x0f, 0x86, 0x11, 0x2f, 0xff, 0x2d, 0x5b }}
      24                 : 
      25               0 : class NS_NO_VTABLE NS_SCRIPTABLE nsIDOMPlugin : public nsISupports {
      26                 :  public: 
      27                 : 
      28                 :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMPLUGIN_IID)
      29                 : 
      30                 :   /* readonly attribute DOMString description; */
      31                 :   NS_SCRIPTABLE NS_IMETHOD GetDescription(nsAString & aDescription) = 0;
      32                 : 
      33                 :   /* readonly attribute DOMString filename; */
      34                 :   NS_SCRIPTABLE NS_IMETHOD GetFilename(nsAString & aFilename) = 0;
      35                 : 
      36                 :   /* readonly attribute DOMString version; */
      37                 :   NS_SCRIPTABLE NS_IMETHOD GetVersion(nsAString & aVersion) = 0;
      38                 : 
      39                 :   /* readonly attribute DOMString name; */
      40                 :   NS_SCRIPTABLE NS_IMETHOD GetName(nsAString & aName) = 0;
      41                 : 
      42                 :   /* readonly attribute unsigned long length; */
      43                 :   NS_SCRIPTABLE NS_IMETHOD GetLength(PRUint32 *aLength) = 0;
      44                 : 
      45                 :   /* nsIDOMMimeType item (in unsigned long index); */
      46                 :   NS_SCRIPTABLE NS_IMETHOD Item(PRUint32 index, nsIDOMMimeType * *_retval NS_OUTPARAM) = 0;
      47                 : 
      48                 :   /* nsIDOMMimeType namedItem (in DOMString name); */
      49                 :   NS_SCRIPTABLE NS_IMETHOD NamedItem(const nsAString & name, nsIDOMMimeType * *_retval NS_OUTPARAM) = 0;
      50                 : 
      51                 : };
      52                 : 
      53                 :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMPlugin, NS_IDOMPLUGIN_IID)
      54                 : 
      55                 : /* Use this macro when declaring classes that implement this interface. */
      56                 : #define NS_DECL_NSIDOMPLUGIN \
      57                 :   NS_SCRIPTABLE NS_IMETHOD GetDescription(nsAString & aDescription); \
      58                 :   NS_SCRIPTABLE NS_IMETHOD GetFilename(nsAString & aFilename); \
      59                 :   NS_SCRIPTABLE NS_IMETHOD GetVersion(nsAString & aVersion); \
      60                 :   NS_SCRIPTABLE NS_IMETHOD GetName(nsAString & aName); \
      61                 :   NS_SCRIPTABLE NS_IMETHOD GetLength(PRUint32 *aLength); \
      62                 :   NS_SCRIPTABLE NS_IMETHOD Item(PRUint32 index, nsIDOMMimeType * *_retval NS_OUTPARAM); \
      63                 :   NS_SCRIPTABLE NS_IMETHOD NamedItem(const nsAString & name, nsIDOMMimeType * *_retval NS_OUTPARAM); 
      64                 : 
      65                 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
      66                 : #define NS_FORWARD_NSIDOMPLUGIN(_to) \
      67                 :   NS_SCRIPTABLE NS_IMETHOD GetDescription(nsAString & aDescription) { return _to GetDescription(aDescription); } \
      68                 :   NS_SCRIPTABLE NS_IMETHOD GetFilename(nsAString & aFilename) { return _to GetFilename(aFilename); } \
      69                 :   NS_SCRIPTABLE NS_IMETHOD GetVersion(nsAString & aVersion) { return _to GetVersion(aVersion); } \
      70                 :   NS_SCRIPTABLE NS_IMETHOD GetName(nsAString & aName) { return _to GetName(aName); } \
      71                 :   NS_SCRIPTABLE NS_IMETHOD GetLength(PRUint32 *aLength) { return _to GetLength(aLength); } \
      72                 :   NS_SCRIPTABLE NS_IMETHOD Item(PRUint32 index, nsIDOMMimeType * *_retval NS_OUTPARAM) { return _to Item(index, _retval); } \
      73                 :   NS_SCRIPTABLE NS_IMETHOD NamedItem(const nsAString & name, nsIDOMMimeType * *_retval NS_OUTPARAM) { return _to NamedItem(name, _retval); } 
      74                 : 
      75                 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
      76                 : #define NS_FORWARD_SAFE_NSIDOMPLUGIN(_to) \
      77                 :   NS_SCRIPTABLE NS_IMETHOD GetDescription(nsAString & aDescription) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDescription(aDescription); } \
      78                 :   NS_SCRIPTABLE NS_IMETHOD GetFilename(nsAString & aFilename) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetFilename(aFilename); } \
      79                 :   NS_SCRIPTABLE NS_IMETHOD GetVersion(nsAString & aVersion) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetVersion(aVersion); } \
      80                 :   NS_SCRIPTABLE NS_IMETHOD GetName(nsAString & aName) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetName(aName); } \
      81                 :   NS_SCRIPTABLE NS_IMETHOD GetLength(PRUint32 *aLength) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLength(aLength); } \
      82                 :   NS_SCRIPTABLE NS_IMETHOD Item(PRUint32 index, nsIDOMMimeType * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->Item(index, _retval); } \
      83                 :   NS_SCRIPTABLE NS_IMETHOD NamedItem(const nsAString & name, nsIDOMMimeType * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->NamedItem(name, _retval); } 
      84                 : 
      85                 : #if 0
      86                 : /* Use the code below as a template for the implementation class for this interface. */
      87                 : 
      88                 : /* Header file */
      89                 : class nsDOMPlugin : public nsIDOMPlugin
      90                 : {
      91                 : public:
      92                 :   NS_DECL_ISUPPORTS
      93                 :   NS_DECL_NSIDOMPLUGIN
      94                 : 
      95                 :   nsDOMPlugin();
      96                 : 
      97                 : private:
      98                 :   ~nsDOMPlugin();
      99                 : 
     100                 : protected:
     101                 :   /* additional members */
     102                 : };
     103                 : 
     104                 : /* Implementation file */
     105                 : NS_IMPL_ISUPPORTS1(nsDOMPlugin, nsIDOMPlugin)
     106                 : 
     107                 : nsDOMPlugin::nsDOMPlugin()
     108                 : {
     109                 :   /* member initializers and constructor code */
     110                 : }
     111                 : 
     112                 : nsDOMPlugin::~nsDOMPlugin()
     113                 : {
     114                 :   /* destructor code */
     115                 : }
     116                 : 
     117                 : /* readonly attribute DOMString description; */
     118                 : NS_IMETHODIMP nsDOMPlugin::GetDescription(nsAString & aDescription)
     119                 : {
     120                 :     return NS_ERROR_NOT_IMPLEMENTED;
     121                 : }
     122                 : 
     123                 : /* readonly attribute DOMString filename; */
     124                 : NS_IMETHODIMP nsDOMPlugin::GetFilename(nsAString & aFilename)
     125                 : {
     126                 :     return NS_ERROR_NOT_IMPLEMENTED;
     127                 : }
     128                 : 
     129                 : /* readonly attribute DOMString version; */
     130                 : NS_IMETHODIMP nsDOMPlugin::GetVersion(nsAString & aVersion)
     131                 : {
     132                 :     return NS_ERROR_NOT_IMPLEMENTED;
     133                 : }
     134                 : 
     135                 : /* readonly attribute DOMString name; */
     136                 : NS_IMETHODIMP nsDOMPlugin::GetName(nsAString & aName)
     137                 : {
     138                 :     return NS_ERROR_NOT_IMPLEMENTED;
     139                 : }
     140                 : 
     141                 : /* readonly attribute unsigned long length; */
     142                 : NS_IMETHODIMP nsDOMPlugin::GetLength(PRUint32 *aLength)
     143                 : {
     144                 :     return NS_ERROR_NOT_IMPLEMENTED;
     145                 : }
     146                 : 
     147                 : /* nsIDOMMimeType item (in unsigned long index); */
     148                 : NS_IMETHODIMP nsDOMPlugin::Item(PRUint32 index, nsIDOMMimeType * *_retval NS_OUTPARAM)
     149                 : {
     150                 :     return NS_ERROR_NOT_IMPLEMENTED;
     151                 : }
     152                 : 
     153                 : /* nsIDOMMimeType namedItem (in DOMString name); */
     154                 : NS_IMETHODIMP nsDOMPlugin::NamedItem(const nsAString & name, nsIDOMMimeType * *_retval NS_OUTPARAM)
     155                 : {
     156                 :     return NS_ERROR_NOT_IMPLEMENTED;
     157                 : }
     158                 : 
     159                 : /* End of implementation class template. */
     160                 : #endif
     161                 : 
     162                 : 
     163                 : #endif /* __gen_nsIDOMPlugin_h__ */

Generated by: LCOV version 1.7