LCOV - code coverage report
Current view: directory - objdir/dist/include - nsIPluginTagInfo.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/nsIPluginTagInfo.idl
       3                 :  */
       4                 : 
       5                 : #ifndef __gen_nsIPluginTagInfo_h__
       6                 : #define __gen_nsIPluginTagInfo_h__
       7                 : 
       8                 : 
       9                 : #ifndef __gen_nsISupports_h__
      10                 : #include "nsISupports.h"
      11                 : #endif
      12                 : 
      13                 : #ifndef __gen_nspluginroot_h__
      14                 : #include "nspluginroot.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                 : enum nsPluginTagType {
      22                 :   nsPluginTagType_Unknown,
      23                 :   nsPluginTagType_Embed,
      24                 :   nsPluginTagType_Object,
      25                 :   nsPluginTagType_Applet
      26                 : };
      27                 : class nsIDOMElement; /* forward declaration */
      28                 : 
      29                 : 
      30                 : /* starting interface:    nsIPluginTagInfo */
      31                 : #define NS_IPLUGINTAGINFO_IID_STR "ed83a4d9-77d2-40ea-b140-f160edb3fe1c"
      32                 : 
      33                 : #define NS_IPLUGINTAGINFO_IID \
      34                 :   {0xed83a4d9, 0x77d2, 0x40ea, \
      35                 :     { 0xb1, 0x40, 0xf1, 0x60, 0xed, 0xb3, 0xfe, 0x1c }}
      36                 : 
      37               0 : class NS_NO_VTABLE nsIPluginTagInfo : public nsISupports {
      38                 :  public: 
      39                 : 
      40                 :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IPLUGINTAGINFO_IID)
      41                 : 
      42                 :   /* void getAttributes (in PRUint16Ref aCount, in constCharStarConstStar aNames, in constCharStarConstStar aValues); */
      43                 :   NS_IMETHOD GetAttributes(PRUint16 & aCount, const char* const* & aNames, const char* const* & aValues) = 0;
      44                 : 
      45                 :   /* void getAttribute (in string aName, out constCharPtr aResult); */
      46                 :   NS_IMETHOD GetAttribute(const char * aName, const char **aResult NS_OUTPARAM) = 0;
      47                 : 
      48                 :   /* readonly attribute nsPluginTagType tagType; */
      49                 :   NS_IMETHOD GetTagType(nsPluginTagType *aTagType) = 0;
      50                 : 
      51                 :   /* void getTagText (out constCharPtr aTagText); */
      52                 :   NS_IMETHOD GetTagText(const char **aTagText NS_OUTPARAM) = 0;
      53                 : 
      54                 :   /* void getParameters (in PRUint16Ref aCount, in constCharStarConstStar aNames, in constCharStarConstStar aValues); */
      55                 :   NS_IMETHOD GetParameters(PRUint16 & aCount, const char* const* & aNames, const char* const* & aValues) = 0;
      56                 : 
      57                 :   /* void getParameter (in string aName, out constCharPtr aResult); */
      58                 :   NS_IMETHOD GetParameter(const char * aName, const char **aResult NS_OUTPARAM) = 0;
      59                 : 
      60                 :   /* void getDocumentBase (out constCharPtr aDocumentBase); */
      61                 :   NS_IMETHOD GetDocumentBase(const char **aDocumentBase NS_OUTPARAM) = 0;
      62                 : 
      63                 :   /* void getDocumentEncoding (out constCharPtr aDocumentEncoding); */
      64                 :   NS_IMETHOD GetDocumentEncoding(const char **aDocumentEncoding NS_OUTPARAM) = 0;
      65                 : 
      66                 :   /* void getAlignment (out constCharPtr aElignment); */
      67                 :   NS_IMETHOD GetAlignment(const char **aElignment NS_OUTPARAM) = 0;
      68                 : 
      69                 :   /* readonly attribute unsigned long width; */
      70                 :   NS_IMETHOD GetWidth(PRUint32 *aWidth) = 0;
      71                 : 
      72                 :   /* readonly attribute unsigned long height; */
      73                 :   NS_IMETHOD GetHeight(PRUint32 *aHeight) = 0;
      74                 : 
      75                 :   /* readonly attribute unsigned long borderVertSpace; */
      76                 :   NS_IMETHOD GetBorderVertSpace(PRUint32 *aBorderVertSpace) = 0;
      77                 : 
      78                 :   /* readonly attribute unsigned long borderHorizSpace; */
      79                 :   NS_IMETHOD GetBorderHorizSpace(PRUint32 *aBorderHorizSpace) = 0;
      80                 : 
      81                 :   /* readonly attribute nsIDOMElement DOMElement; */
      82                 :   NS_IMETHOD GetDOMElement(nsIDOMElement * *aDOMElement) = 0;
      83                 : 
      84                 : };
      85                 : 
      86                 :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIPluginTagInfo, NS_IPLUGINTAGINFO_IID)
      87                 : 
      88                 : /* Use this macro when declaring classes that implement this interface. */
      89                 : #define NS_DECL_NSIPLUGINTAGINFO \
      90                 :   NS_IMETHOD GetAttributes(PRUint16 & aCount, const char* const* & aNames, const char* const* & aValues); \
      91                 :   NS_IMETHOD GetAttribute(const char * aName, const char **aResult NS_OUTPARAM); \
      92                 :   NS_IMETHOD GetTagType(nsPluginTagType *aTagType); \
      93                 :   NS_IMETHOD GetTagText(const char **aTagText NS_OUTPARAM); \
      94                 :   NS_IMETHOD GetParameters(PRUint16 & aCount, const char* const* & aNames, const char* const* & aValues); \
      95                 :   NS_IMETHOD GetParameter(const char * aName, const char **aResult NS_OUTPARAM); \
      96                 :   NS_IMETHOD GetDocumentBase(const char **aDocumentBase NS_OUTPARAM); \
      97                 :   NS_IMETHOD GetDocumentEncoding(const char **aDocumentEncoding NS_OUTPARAM); \
      98                 :   NS_IMETHOD GetAlignment(const char **aElignment NS_OUTPARAM); \
      99                 :   NS_IMETHOD GetWidth(PRUint32 *aWidth); \
     100                 :   NS_IMETHOD GetHeight(PRUint32 *aHeight); \
     101                 :   NS_IMETHOD GetBorderVertSpace(PRUint32 *aBorderVertSpace); \
     102                 :   NS_IMETHOD GetBorderHorizSpace(PRUint32 *aBorderHorizSpace); \
     103                 :   NS_IMETHOD GetDOMElement(nsIDOMElement * *aDOMElement); 
     104                 : 
     105                 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
     106                 : #define NS_FORWARD_NSIPLUGINTAGINFO(_to) \
     107                 :   NS_IMETHOD GetAttributes(PRUint16 & aCount, const char* const* & aNames, const char* const* & aValues) { return _to GetAttributes(aCount, aNames, aValues); } \
     108                 :   NS_IMETHOD GetAttribute(const char * aName, const char **aResult NS_OUTPARAM) { return _to GetAttribute(aName, aResult); } \
     109                 :   NS_IMETHOD GetTagType(nsPluginTagType *aTagType) { return _to GetTagType(aTagType); } \
     110                 :   NS_IMETHOD GetTagText(const char **aTagText NS_OUTPARAM) { return _to GetTagText(aTagText); } \
     111                 :   NS_IMETHOD GetParameters(PRUint16 & aCount, const char* const* & aNames, const char* const* & aValues) { return _to GetParameters(aCount, aNames, aValues); } \
     112                 :   NS_IMETHOD GetParameter(const char * aName, const char **aResult NS_OUTPARAM) { return _to GetParameter(aName, aResult); } \
     113                 :   NS_IMETHOD GetDocumentBase(const char **aDocumentBase NS_OUTPARAM) { return _to GetDocumentBase(aDocumentBase); } \
     114                 :   NS_IMETHOD GetDocumentEncoding(const char **aDocumentEncoding NS_OUTPARAM) { return _to GetDocumentEncoding(aDocumentEncoding); } \
     115                 :   NS_IMETHOD GetAlignment(const char **aElignment NS_OUTPARAM) { return _to GetAlignment(aElignment); } \
     116                 :   NS_IMETHOD GetWidth(PRUint32 *aWidth) { return _to GetWidth(aWidth); } \
     117                 :   NS_IMETHOD GetHeight(PRUint32 *aHeight) { return _to GetHeight(aHeight); } \
     118                 :   NS_IMETHOD GetBorderVertSpace(PRUint32 *aBorderVertSpace) { return _to GetBorderVertSpace(aBorderVertSpace); } \
     119                 :   NS_IMETHOD GetBorderHorizSpace(PRUint32 *aBorderHorizSpace) { return _to GetBorderHorizSpace(aBorderHorizSpace); } \
     120                 :   NS_IMETHOD GetDOMElement(nsIDOMElement * *aDOMElement) { return _to GetDOMElement(aDOMElement); } 
     121                 : 
     122                 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
     123                 : #define NS_FORWARD_SAFE_NSIPLUGINTAGINFO(_to) \
     124                 :   NS_IMETHOD GetAttributes(PRUint16 & aCount, const char* const* & aNames, const char* const* & aValues) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAttributes(aCount, aNames, aValues); } \
     125                 :   NS_IMETHOD GetAttribute(const char * aName, const char **aResult NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAttribute(aName, aResult); } \
     126                 :   NS_IMETHOD GetTagType(nsPluginTagType *aTagType) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetTagType(aTagType); } \
     127                 :   NS_IMETHOD GetTagText(const char **aTagText NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetTagText(aTagText); } \
     128                 :   NS_IMETHOD GetParameters(PRUint16 & aCount, const char* const* & aNames, const char* const* & aValues) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetParameters(aCount, aNames, aValues); } \
     129                 :   NS_IMETHOD GetParameter(const char * aName, const char **aResult NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetParameter(aName, aResult); } \
     130                 :   NS_IMETHOD GetDocumentBase(const char **aDocumentBase NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDocumentBase(aDocumentBase); } \
     131                 :   NS_IMETHOD GetDocumentEncoding(const char **aDocumentEncoding NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDocumentEncoding(aDocumentEncoding); } \
     132                 :   NS_IMETHOD GetAlignment(const char **aElignment NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAlignment(aElignment); } \
     133                 :   NS_IMETHOD GetWidth(PRUint32 *aWidth) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetWidth(aWidth); } \
     134                 :   NS_IMETHOD GetHeight(PRUint32 *aHeight) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetHeight(aHeight); } \
     135                 :   NS_IMETHOD GetBorderVertSpace(PRUint32 *aBorderVertSpace) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetBorderVertSpace(aBorderVertSpace); } \
     136                 :   NS_IMETHOD GetBorderHorizSpace(PRUint32 *aBorderHorizSpace) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetBorderHorizSpace(aBorderHorizSpace); } \
     137                 :   NS_IMETHOD GetDOMElement(nsIDOMElement * *aDOMElement) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDOMElement(aDOMElement); } 
     138                 : 
     139                 : #if 0
     140                 : /* Use the code below as a template for the implementation class for this interface. */
     141                 : 
     142                 : /* Header file */
     143                 : class nsPluginTagInfo : public nsIPluginTagInfo
     144                 : {
     145                 : public:
     146                 :   NS_DECL_ISUPPORTS
     147                 :   NS_DECL_NSIPLUGINTAGINFO
     148                 : 
     149                 :   nsPluginTagInfo();
     150                 : 
     151                 : private:
     152                 :   ~nsPluginTagInfo();
     153                 : 
     154                 : protected:
     155                 :   /* additional members */
     156                 : };
     157                 : 
     158                 : /* Implementation file */
     159                 : NS_IMPL_ISUPPORTS1(nsPluginTagInfo, nsIPluginTagInfo)
     160                 : 
     161                 : nsPluginTagInfo::nsPluginTagInfo()
     162                 : {
     163                 :   /* member initializers and constructor code */
     164                 : }
     165                 : 
     166                 : nsPluginTagInfo::~nsPluginTagInfo()
     167                 : {
     168                 :   /* destructor code */
     169                 : }
     170                 : 
     171                 : /* void getAttributes (in PRUint16Ref aCount, in constCharStarConstStar aNames, in constCharStarConstStar aValues); */
     172                 : NS_IMETHODIMP nsPluginTagInfo::GetAttributes(PRUint16 & aCount, const char* const* & aNames, const char* const* & aValues)
     173                 : {
     174                 :     return NS_ERROR_NOT_IMPLEMENTED;
     175                 : }
     176                 : 
     177                 : /* void getAttribute (in string aName, out constCharPtr aResult); */
     178                 : NS_IMETHODIMP nsPluginTagInfo::GetAttribute(const char * aName, const char **aResult NS_OUTPARAM)
     179                 : {
     180                 :     return NS_ERROR_NOT_IMPLEMENTED;
     181                 : }
     182                 : 
     183                 : /* readonly attribute nsPluginTagType tagType; */
     184                 : NS_IMETHODIMP nsPluginTagInfo::GetTagType(nsPluginTagType *aTagType)
     185                 : {
     186                 :     return NS_ERROR_NOT_IMPLEMENTED;
     187                 : }
     188                 : 
     189                 : /* void getTagText (out constCharPtr aTagText); */
     190                 : NS_IMETHODIMP nsPluginTagInfo::GetTagText(const char **aTagText NS_OUTPARAM)
     191                 : {
     192                 :     return NS_ERROR_NOT_IMPLEMENTED;
     193                 : }
     194                 : 
     195                 : /* void getParameters (in PRUint16Ref aCount, in constCharStarConstStar aNames, in constCharStarConstStar aValues); */
     196                 : NS_IMETHODIMP nsPluginTagInfo::GetParameters(PRUint16 & aCount, const char* const* & aNames, const char* const* & aValues)
     197                 : {
     198                 :     return NS_ERROR_NOT_IMPLEMENTED;
     199                 : }
     200                 : 
     201                 : /* void getParameter (in string aName, out constCharPtr aResult); */
     202                 : NS_IMETHODIMP nsPluginTagInfo::GetParameter(const char * aName, const char **aResult NS_OUTPARAM)
     203                 : {
     204                 :     return NS_ERROR_NOT_IMPLEMENTED;
     205                 : }
     206                 : 
     207                 : /* void getDocumentBase (out constCharPtr aDocumentBase); */
     208                 : NS_IMETHODIMP nsPluginTagInfo::GetDocumentBase(const char **aDocumentBase NS_OUTPARAM)
     209                 : {
     210                 :     return NS_ERROR_NOT_IMPLEMENTED;
     211                 : }
     212                 : 
     213                 : /* void getDocumentEncoding (out constCharPtr aDocumentEncoding); */
     214                 : NS_IMETHODIMP nsPluginTagInfo::GetDocumentEncoding(const char **aDocumentEncoding NS_OUTPARAM)
     215                 : {
     216                 :     return NS_ERROR_NOT_IMPLEMENTED;
     217                 : }
     218                 : 
     219                 : /* void getAlignment (out constCharPtr aElignment); */
     220                 : NS_IMETHODIMP nsPluginTagInfo::GetAlignment(const char **aElignment NS_OUTPARAM)
     221                 : {
     222                 :     return NS_ERROR_NOT_IMPLEMENTED;
     223                 : }
     224                 : 
     225                 : /* readonly attribute unsigned long width; */
     226                 : NS_IMETHODIMP nsPluginTagInfo::GetWidth(PRUint32 *aWidth)
     227                 : {
     228                 :     return NS_ERROR_NOT_IMPLEMENTED;
     229                 : }
     230                 : 
     231                 : /* readonly attribute unsigned long height; */
     232                 : NS_IMETHODIMP nsPluginTagInfo::GetHeight(PRUint32 *aHeight)
     233                 : {
     234                 :     return NS_ERROR_NOT_IMPLEMENTED;
     235                 : }
     236                 : 
     237                 : /* readonly attribute unsigned long borderVertSpace; */
     238                 : NS_IMETHODIMP nsPluginTagInfo::GetBorderVertSpace(PRUint32 *aBorderVertSpace)
     239                 : {
     240                 :     return NS_ERROR_NOT_IMPLEMENTED;
     241                 : }
     242                 : 
     243                 : /* readonly attribute unsigned long borderHorizSpace; */
     244                 : NS_IMETHODIMP nsPluginTagInfo::GetBorderHorizSpace(PRUint32 *aBorderHorizSpace)
     245                 : {
     246                 :     return NS_ERROR_NOT_IMPLEMENTED;
     247                 : }
     248                 : 
     249                 : /* readonly attribute nsIDOMElement DOMElement; */
     250                 : NS_IMETHODIMP nsPluginTagInfo::GetDOMElement(nsIDOMElement * *aDOMElement)
     251                 : {
     252                 :     return NS_ERROR_NOT_IMPLEMENTED;
     253                 : }
     254                 : 
     255                 : /* End of implementation class template. */
     256                 : #endif
     257                 : 
     258                 : 
     259                 : #endif /* __gen_nsIPluginTagInfo_h__ */

Generated by: LCOV version 1.7