LCOV - code coverage report
Current view: top level - obj-x86_64-pc-linux-gnu/dist/include - nsIPluginTag.h (source / functions) Hit Total Coverage
Test: output.info Lines: 0 2 0.0 %
Date: 2017-07-14 16:53:18 Functions: 0 2 0.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : /*
       2             :  * DO NOT EDIT.  THIS FILE IS GENERATED FROM ../../../dist/idl/nsIPluginTag.idl
       3             :  */
       4             : 
       5             : #ifndef __gen_nsIPluginTag_h__
       6             : #define __gen_nsIPluginTag_h__
       7             : 
       8             : 
       9             : #ifndef __gen_nsISupports_h__
      10             : #include "nsISupports.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             : class nsIURI; /* forward declaration */
      18             : 
      19             : 
      20             : /* starting interface:    nsIPluginTag */
      21             : #define NS_IPLUGINTAG_IID_STR "5daa99d5-265a-4397-b429-c943803e2619"
      22             : 
      23             : #define NS_IPLUGINTAG_IID \
      24             :   {0x5daa99d5, 0x265a, 0x4397, \
      25             :     { 0xb4, 0x29, 0xc9, 0x43, 0x80, 0x3e, 0x26, 0x19 }}
      26             : 
      27           0 : class NS_NO_VTABLE nsIPluginTag : public nsISupports {
      28             :  public:
      29             : 
      30             :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IPLUGINTAG_IID)
      31             : 
      32             :   enum {
      33             :     STATE_DISABLED = 0U,
      34             :     STATE_CLICKTOPLAY = 1U,
      35             :     STATE_ENABLED = 2U
      36             :   };
      37             : 
      38             :   /* readonly attribute AUTF8String description; */
      39             :   NS_IMETHOD GetDescription(nsACString & aDescription) = 0;
      40             : 
      41             :   /* readonly attribute AUTF8String filename; */
      42             :   NS_IMETHOD GetFilename(nsACString & aFilename) = 0;
      43             : 
      44             :   /* readonly attribute AUTF8String fullpath; */
      45             :   NS_IMETHOD GetFullpath(nsACString & aFullpath) = 0;
      46             : 
      47             :   /* readonly attribute AUTF8String version; */
      48             :   NS_IMETHOD GetVersion(nsACString & aVersion) = 0;
      49             : 
      50             :   /* readonly attribute AUTF8String name; */
      51             :   NS_IMETHOD GetName(nsACString & aName) = 0;
      52             : 
      53             :   /* readonly attribute AUTF8String niceName; */
      54             :   NS_IMETHOD GetNiceName(nsACString & aNiceName) = 0;
      55             : 
      56             :   /* readonly attribute boolean blocklisted; */
      57             :   NS_IMETHOD GetBlocklisted(bool *aBlocklisted) = 0;
      58             : 
      59             :   /* readonly attribute boolean isEnabledStateLocked; */
      60             :   NS_IMETHOD GetIsEnabledStateLocked(bool *aIsEnabledStateLocked) = 0;
      61             : 
      62             :   /* readonly attribute boolean active; */
      63             :   NS_IMETHOD GetActive(bool *aActive) = 0;
      64             : 
      65             :   /* readonly attribute unsigned long blocklistState; */
      66             :   NS_IMETHOD GetBlocklistState(uint32_t *aBlocklistState) = 0;
      67             : 
      68             :   /* readonly attribute boolean disabled; */
      69             :   NS_IMETHOD GetDisabled(bool *aDisabled) = 0;
      70             : 
      71             :   /* readonly attribute boolean clicktoplay; */
      72             :   NS_IMETHOD GetClicktoplay(bool *aClicktoplay) = 0;
      73             : 
      74             :   /* readonly attribute boolean loaded; */
      75             :   NS_IMETHOD GetLoaded(bool *aLoaded) = 0;
      76             : 
      77             :   /* attribute unsigned long enabledState; */
      78             :   NS_IMETHOD GetEnabledState(uint32_t *aEnabledState) = 0;
      79             :   NS_IMETHOD SetEnabledState(uint32_t aEnabledState) = 0;
      80             : 
      81             :   /* readonly attribute PRTime lastModifiedTime; */
      82             :   NS_IMETHOD GetLastModifiedTime(PRTime *aLastModifiedTime) = 0;
      83             : 
      84             :   /* void getMimeTypes ([optional] out unsigned long aCount, [array, size_is (aCount), retval] out wstring aResults); */
      85             :   NS_IMETHOD GetMimeTypes(uint32_t *aCount, char16_t * **aResults) = 0;
      86             : 
      87             :   /* void getMimeDescriptions ([optional] out unsigned long aCount, [array, size_is (aCount), retval] out wstring aResults); */
      88             :   NS_IMETHOD GetMimeDescriptions(uint32_t *aCount, char16_t * **aResults) = 0;
      89             : 
      90             :   /* void getExtensions ([optional] out unsigned long aCount, [array, size_is (aCount), retval] out wstring aResults); */
      91             :   NS_IMETHOD GetExtensions(uint32_t *aCount, char16_t * **aResults) = 0;
      92             : 
      93             : };
      94             : 
      95             :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIPluginTag, NS_IPLUGINTAG_IID)
      96             : 
      97             : /* Use this macro when declaring classes that implement this interface. */
      98             : #define NS_DECL_NSIPLUGINTAG \
      99             :   NS_IMETHOD GetDescription(nsACString & aDescription) override; \
     100             :   NS_IMETHOD GetFilename(nsACString & aFilename) override; \
     101             :   NS_IMETHOD GetFullpath(nsACString & aFullpath) override; \
     102             :   NS_IMETHOD GetVersion(nsACString & aVersion) override; \
     103             :   NS_IMETHOD GetName(nsACString & aName) override; \
     104             :   NS_IMETHOD GetNiceName(nsACString & aNiceName) override; \
     105             :   NS_IMETHOD GetBlocklisted(bool *aBlocklisted) override; \
     106             :   NS_IMETHOD GetIsEnabledStateLocked(bool *aIsEnabledStateLocked) override; \
     107             :   NS_IMETHOD GetActive(bool *aActive) override; \
     108             :   NS_IMETHOD GetBlocklistState(uint32_t *aBlocklistState) override; \
     109             :   NS_IMETHOD GetDisabled(bool *aDisabled) override; \
     110             :   NS_IMETHOD GetClicktoplay(bool *aClicktoplay) override; \
     111             :   NS_IMETHOD GetLoaded(bool *aLoaded) override; \
     112             :   NS_IMETHOD GetEnabledState(uint32_t *aEnabledState) override; \
     113             :   NS_IMETHOD SetEnabledState(uint32_t aEnabledState) override; \
     114             :   NS_IMETHOD GetLastModifiedTime(PRTime *aLastModifiedTime) override; \
     115             :   NS_IMETHOD GetMimeTypes(uint32_t *aCount, char16_t * **aResults) override; \
     116             :   NS_IMETHOD GetMimeDescriptions(uint32_t *aCount, char16_t * **aResults) override; \
     117             :   NS_IMETHOD GetExtensions(uint32_t *aCount, char16_t * **aResults) override; 
     118             : 
     119             : /* Use this macro when declaring the members of this interface when the
     120             :    class doesn't implement the interface. This is useful for forwarding. */
     121             : #define NS_DECL_NON_VIRTUAL_NSIPLUGINTAG \
     122             :   nsresult GetDescription(nsACString & aDescription); \
     123             :   nsresult GetFilename(nsACString & aFilename); \
     124             :   nsresult GetFullpath(nsACString & aFullpath); \
     125             :   nsresult GetVersion(nsACString & aVersion); \
     126             :   nsresult GetName(nsACString & aName); \
     127             :   nsresult GetNiceName(nsACString & aNiceName); \
     128             :   nsresult GetBlocklisted(bool *aBlocklisted); \
     129             :   nsresult GetIsEnabledStateLocked(bool *aIsEnabledStateLocked); \
     130             :   nsresult GetActive(bool *aActive); \
     131             :   nsresult GetBlocklistState(uint32_t *aBlocklistState); \
     132             :   nsresult GetDisabled(bool *aDisabled); \
     133             :   nsresult GetClicktoplay(bool *aClicktoplay); \
     134             :   nsresult GetLoaded(bool *aLoaded); \
     135             :   nsresult GetEnabledState(uint32_t *aEnabledState); \
     136             :   nsresult SetEnabledState(uint32_t aEnabledState); \
     137             :   nsresult GetLastModifiedTime(PRTime *aLastModifiedTime); \
     138             :   nsresult GetMimeTypes(uint32_t *aCount, char16_t * **aResults); \
     139             :   nsresult GetMimeDescriptions(uint32_t *aCount, char16_t * **aResults); \
     140             :   nsresult GetExtensions(uint32_t *aCount, char16_t * **aResults); 
     141             : 
     142             : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
     143             : #define NS_FORWARD_NSIPLUGINTAG(_to) \
     144             :   NS_IMETHOD GetDescription(nsACString & aDescription) override { return _to GetDescription(aDescription); } \
     145             :   NS_IMETHOD GetFilename(nsACString & aFilename) override { return _to GetFilename(aFilename); } \
     146             :   NS_IMETHOD GetFullpath(nsACString & aFullpath) override { return _to GetFullpath(aFullpath); } \
     147             :   NS_IMETHOD GetVersion(nsACString & aVersion) override { return _to GetVersion(aVersion); } \
     148             :   NS_IMETHOD GetName(nsACString & aName) override { return _to GetName(aName); } \
     149             :   NS_IMETHOD GetNiceName(nsACString & aNiceName) override { return _to GetNiceName(aNiceName); } \
     150             :   NS_IMETHOD GetBlocklisted(bool *aBlocklisted) override { return _to GetBlocklisted(aBlocklisted); } \
     151             :   NS_IMETHOD GetIsEnabledStateLocked(bool *aIsEnabledStateLocked) override { return _to GetIsEnabledStateLocked(aIsEnabledStateLocked); } \
     152             :   NS_IMETHOD GetActive(bool *aActive) override { return _to GetActive(aActive); } \
     153             :   NS_IMETHOD GetBlocklistState(uint32_t *aBlocklistState) override { return _to GetBlocklistState(aBlocklistState); } \
     154             :   NS_IMETHOD GetDisabled(bool *aDisabled) override { return _to GetDisabled(aDisabled); } \
     155             :   NS_IMETHOD GetClicktoplay(bool *aClicktoplay) override { return _to GetClicktoplay(aClicktoplay); } \
     156             :   NS_IMETHOD GetLoaded(bool *aLoaded) override { return _to GetLoaded(aLoaded); } \
     157             :   NS_IMETHOD GetEnabledState(uint32_t *aEnabledState) override { return _to GetEnabledState(aEnabledState); } \
     158             :   NS_IMETHOD SetEnabledState(uint32_t aEnabledState) override { return _to SetEnabledState(aEnabledState); } \
     159             :   NS_IMETHOD GetLastModifiedTime(PRTime *aLastModifiedTime) override { return _to GetLastModifiedTime(aLastModifiedTime); } \
     160             :   NS_IMETHOD GetMimeTypes(uint32_t *aCount, char16_t * **aResults) override { return _to GetMimeTypes(aCount, aResults); } \
     161             :   NS_IMETHOD GetMimeDescriptions(uint32_t *aCount, char16_t * **aResults) override { return _to GetMimeDescriptions(aCount, aResults); } \
     162             :   NS_IMETHOD GetExtensions(uint32_t *aCount, char16_t * **aResults) override { return _to GetExtensions(aCount, aResults); } 
     163             : 
     164             : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
     165             : #define NS_FORWARD_SAFE_NSIPLUGINTAG(_to) \
     166             :   NS_IMETHOD GetDescription(nsACString & aDescription) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDescription(aDescription); } \
     167             :   NS_IMETHOD GetFilename(nsACString & aFilename) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetFilename(aFilename); } \
     168             :   NS_IMETHOD GetFullpath(nsACString & aFullpath) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetFullpath(aFullpath); } \
     169             :   NS_IMETHOD GetVersion(nsACString & aVersion) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetVersion(aVersion); } \
     170             :   NS_IMETHOD GetName(nsACString & aName) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetName(aName); } \
     171             :   NS_IMETHOD GetNiceName(nsACString & aNiceName) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetNiceName(aNiceName); } \
     172             :   NS_IMETHOD GetBlocklisted(bool *aBlocklisted) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetBlocklisted(aBlocklisted); } \
     173             :   NS_IMETHOD GetIsEnabledStateLocked(bool *aIsEnabledStateLocked) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetIsEnabledStateLocked(aIsEnabledStateLocked); } \
     174             :   NS_IMETHOD GetActive(bool *aActive) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetActive(aActive); } \
     175             :   NS_IMETHOD GetBlocklistState(uint32_t *aBlocklistState) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetBlocklistState(aBlocklistState); } \
     176             :   NS_IMETHOD GetDisabled(bool *aDisabled) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDisabled(aDisabled); } \
     177             :   NS_IMETHOD GetClicktoplay(bool *aClicktoplay) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetClicktoplay(aClicktoplay); } \
     178             :   NS_IMETHOD GetLoaded(bool *aLoaded) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLoaded(aLoaded); } \
     179             :   NS_IMETHOD GetEnabledState(uint32_t *aEnabledState) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetEnabledState(aEnabledState); } \
     180             :   NS_IMETHOD SetEnabledState(uint32_t aEnabledState) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetEnabledState(aEnabledState); } \
     181             :   NS_IMETHOD GetLastModifiedTime(PRTime *aLastModifiedTime) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLastModifiedTime(aLastModifiedTime); } \
     182             :   NS_IMETHOD GetMimeTypes(uint32_t *aCount, char16_t * **aResults) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetMimeTypes(aCount, aResults); } \
     183             :   NS_IMETHOD GetMimeDescriptions(uint32_t *aCount, char16_t * **aResults) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetMimeDescriptions(aCount, aResults); } \
     184             :   NS_IMETHOD GetExtensions(uint32_t *aCount, char16_t * **aResults) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetExtensions(aCount, aResults); } 
     185             : 
     186             : #if 0
     187             : /* Use the code below as a template for the implementation class for this interface. */
     188             : 
     189             : /* Header file */
     190             : class nsPluginTag : public nsIPluginTag
     191             : {
     192             : public:
     193             :   NS_DECL_ISUPPORTS
     194             :   NS_DECL_NSIPLUGINTAG
     195             : 
     196             :   nsPluginTag();
     197             : 
     198             : private:
     199             :   ~nsPluginTag();
     200             : 
     201             : protected:
     202             :   /* additional members */
     203             : };
     204             : 
     205             : /* Implementation file */
     206             : NS_IMPL_ISUPPORTS(nsPluginTag, nsIPluginTag)
     207             : 
     208             : nsPluginTag::nsPluginTag()
     209             : {
     210             :   /* member initializers and constructor code */
     211             : }
     212             : 
     213             : nsPluginTag::~nsPluginTag()
     214             : {
     215             :   /* destructor code */
     216             : }
     217             : 
     218             : /* readonly attribute AUTF8String description; */
     219             : NS_IMETHODIMP nsPluginTag::GetDescription(nsACString & aDescription)
     220             : {
     221             :     return NS_ERROR_NOT_IMPLEMENTED;
     222             : }
     223             : 
     224             : /* readonly attribute AUTF8String filename; */
     225             : NS_IMETHODIMP nsPluginTag::GetFilename(nsACString & aFilename)
     226             : {
     227             :     return NS_ERROR_NOT_IMPLEMENTED;
     228             : }
     229             : 
     230             : /* readonly attribute AUTF8String fullpath; */
     231             : NS_IMETHODIMP nsPluginTag::GetFullpath(nsACString & aFullpath)
     232             : {
     233             :     return NS_ERROR_NOT_IMPLEMENTED;
     234             : }
     235             : 
     236             : /* readonly attribute AUTF8String version; */
     237             : NS_IMETHODIMP nsPluginTag::GetVersion(nsACString & aVersion)
     238             : {
     239             :     return NS_ERROR_NOT_IMPLEMENTED;
     240             : }
     241             : 
     242             : /* readonly attribute AUTF8String name; */
     243             : NS_IMETHODIMP nsPluginTag::GetName(nsACString & aName)
     244             : {
     245             :     return NS_ERROR_NOT_IMPLEMENTED;
     246             : }
     247             : 
     248             : /* readonly attribute AUTF8String niceName; */
     249             : NS_IMETHODIMP nsPluginTag::GetNiceName(nsACString & aNiceName)
     250             : {
     251             :     return NS_ERROR_NOT_IMPLEMENTED;
     252             : }
     253             : 
     254             : /* readonly attribute boolean blocklisted; */
     255             : NS_IMETHODIMP nsPluginTag::GetBlocklisted(bool *aBlocklisted)
     256             : {
     257             :     return NS_ERROR_NOT_IMPLEMENTED;
     258             : }
     259             : 
     260             : /* readonly attribute boolean isEnabledStateLocked; */
     261             : NS_IMETHODIMP nsPluginTag::GetIsEnabledStateLocked(bool *aIsEnabledStateLocked)
     262             : {
     263             :     return NS_ERROR_NOT_IMPLEMENTED;
     264             : }
     265             : 
     266             : /* readonly attribute boolean active; */
     267             : NS_IMETHODIMP nsPluginTag::GetActive(bool *aActive)
     268             : {
     269             :     return NS_ERROR_NOT_IMPLEMENTED;
     270             : }
     271             : 
     272             : /* readonly attribute unsigned long blocklistState; */
     273             : NS_IMETHODIMP nsPluginTag::GetBlocklistState(uint32_t *aBlocklistState)
     274             : {
     275             :     return NS_ERROR_NOT_IMPLEMENTED;
     276             : }
     277             : 
     278             : /* readonly attribute boolean disabled; */
     279             : NS_IMETHODIMP nsPluginTag::GetDisabled(bool *aDisabled)
     280             : {
     281             :     return NS_ERROR_NOT_IMPLEMENTED;
     282             : }
     283             : 
     284             : /* readonly attribute boolean clicktoplay; */
     285             : NS_IMETHODIMP nsPluginTag::GetClicktoplay(bool *aClicktoplay)
     286             : {
     287             :     return NS_ERROR_NOT_IMPLEMENTED;
     288             : }
     289             : 
     290             : /* readonly attribute boolean loaded; */
     291             : NS_IMETHODIMP nsPluginTag::GetLoaded(bool *aLoaded)
     292             : {
     293             :     return NS_ERROR_NOT_IMPLEMENTED;
     294             : }
     295             : 
     296             : /* attribute unsigned long enabledState; */
     297             : NS_IMETHODIMP nsPluginTag::GetEnabledState(uint32_t *aEnabledState)
     298             : {
     299             :     return NS_ERROR_NOT_IMPLEMENTED;
     300             : }
     301             : NS_IMETHODIMP nsPluginTag::SetEnabledState(uint32_t aEnabledState)
     302             : {
     303             :     return NS_ERROR_NOT_IMPLEMENTED;
     304             : }
     305             : 
     306             : /* readonly attribute PRTime lastModifiedTime; */
     307             : NS_IMETHODIMP nsPluginTag::GetLastModifiedTime(PRTime *aLastModifiedTime)
     308             : {
     309             :     return NS_ERROR_NOT_IMPLEMENTED;
     310             : }
     311             : 
     312             : /* void getMimeTypes ([optional] out unsigned long aCount, [array, size_is (aCount), retval] out wstring aResults); */
     313             : NS_IMETHODIMP nsPluginTag::GetMimeTypes(uint32_t *aCount, char16_t * **aResults)
     314             : {
     315             :     return NS_ERROR_NOT_IMPLEMENTED;
     316             : }
     317             : 
     318             : /* void getMimeDescriptions ([optional] out unsigned long aCount, [array, size_is (aCount), retval] out wstring aResults); */
     319             : NS_IMETHODIMP nsPluginTag::GetMimeDescriptions(uint32_t *aCount, char16_t * **aResults)
     320             : {
     321             :     return NS_ERROR_NOT_IMPLEMENTED;
     322             : }
     323             : 
     324             : /* void getExtensions ([optional] out unsigned long aCount, [array, size_is (aCount), retval] out wstring aResults); */
     325             : NS_IMETHODIMP nsPluginTag::GetExtensions(uint32_t *aCount, char16_t * **aResults)
     326             : {
     327             :     return NS_ERROR_NOT_IMPLEMENTED;
     328             : }
     329             : 
     330             : /* End of implementation class template. */
     331             : #endif
     332             : 
     333             : 
     334             : /* starting interface:    nsIFakePluginTag */
     335             : #define NS_IFAKEPLUGINTAG_IID_STR "6d22c968-226d-4156-b230-da6ad6bbf6e8"
     336             : 
     337             : #define NS_IFAKEPLUGINTAG_IID \
     338             :   {0x6d22c968, 0x226d, 0x4156, \
     339             :     { 0xb2, 0x30, 0xda, 0x6a, 0xd6, 0xbb, 0xf6, 0xe8 }}
     340             : 
     341           0 : class NS_NO_VTABLE nsIFakePluginTag : public nsIPluginTag {
     342             :  public:
     343             : 
     344             :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IFAKEPLUGINTAG_IID)
     345             : 
     346             :   /* readonly attribute nsIURI handlerURI; */
     347             :   NS_IMETHOD GetHandlerURI(nsIURI * *aHandlerURI) = 0;
     348             : 
     349             :   /* readonly attribute AString sandboxScript; */
     350             :   NS_IMETHOD GetSandboxScript(nsAString & aSandboxScript) = 0;
     351             : 
     352             :   /* readonly attribute unsigned long id; */
     353             :   NS_IMETHOD GetId(uint32_t *aId) = 0;
     354             : 
     355             : };
     356             : 
     357             :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIFakePluginTag, NS_IFAKEPLUGINTAG_IID)
     358             : 
     359             : /* Use this macro when declaring classes that implement this interface. */
     360             : #define NS_DECL_NSIFAKEPLUGINTAG \
     361             :   NS_IMETHOD GetHandlerURI(nsIURI * *aHandlerURI) override; \
     362             :   NS_IMETHOD GetSandboxScript(nsAString & aSandboxScript) override; \
     363             :   NS_IMETHOD GetId(uint32_t *aId) override; 
     364             : 
     365             : /* Use this macro when declaring the members of this interface when the
     366             :    class doesn't implement the interface. This is useful for forwarding. */
     367             : #define NS_DECL_NON_VIRTUAL_NSIFAKEPLUGINTAG \
     368             :   nsresult GetHandlerURI(nsIURI * *aHandlerURI); \
     369             :   nsresult GetSandboxScript(nsAString & aSandboxScript); \
     370             :   nsresult GetId(uint32_t *aId); 
     371             : 
     372             : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
     373             : #define NS_FORWARD_NSIFAKEPLUGINTAG(_to) \
     374             :   NS_IMETHOD GetHandlerURI(nsIURI * *aHandlerURI) override { return _to GetHandlerURI(aHandlerURI); } \
     375             :   NS_IMETHOD GetSandboxScript(nsAString & aSandboxScript) override { return _to GetSandboxScript(aSandboxScript); } \
     376             :   NS_IMETHOD GetId(uint32_t *aId) override { return _to GetId(aId); } 
     377             : 
     378             : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
     379             : #define NS_FORWARD_SAFE_NSIFAKEPLUGINTAG(_to) \
     380             :   NS_IMETHOD GetHandlerURI(nsIURI * *aHandlerURI) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetHandlerURI(aHandlerURI); } \
     381             :   NS_IMETHOD GetSandboxScript(nsAString & aSandboxScript) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSandboxScript(aSandboxScript); } \
     382             :   NS_IMETHOD GetId(uint32_t *aId) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetId(aId); } 
     383             : 
     384             : #if 0
     385             : /* Use the code below as a template for the implementation class for this interface. */
     386             : 
     387             : /* Header file */
     388             : class nsFakePluginTag : public nsIFakePluginTag
     389             : {
     390             : public:
     391             :   NS_DECL_ISUPPORTS
     392             :   NS_DECL_NSIFAKEPLUGINTAG
     393             : 
     394             :   nsFakePluginTag();
     395             : 
     396             : private:
     397             :   ~nsFakePluginTag();
     398             : 
     399             : protected:
     400             :   /* additional members */
     401             : };
     402             : 
     403             : /* Implementation file */
     404             : NS_IMPL_ISUPPORTS(nsFakePluginTag, nsIFakePluginTag)
     405             : 
     406             : nsFakePluginTag::nsFakePluginTag()
     407             : {
     408             :   /* member initializers and constructor code */
     409             : }
     410             : 
     411             : nsFakePluginTag::~nsFakePluginTag()
     412             : {
     413             :   /* destructor code */
     414             : }
     415             : 
     416             : /* readonly attribute nsIURI handlerURI; */
     417             : NS_IMETHODIMP nsFakePluginTag::GetHandlerURI(nsIURI * *aHandlerURI)
     418             : {
     419             :     return NS_ERROR_NOT_IMPLEMENTED;
     420             : }
     421             : 
     422             : /* readonly attribute AString sandboxScript; */
     423             : NS_IMETHODIMP nsFakePluginTag::GetSandboxScript(nsAString & aSandboxScript)
     424             : {
     425             :     return NS_ERROR_NOT_IMPLEMENTED;
     426             : }
     427             : 
     428             : /* readonly attribute unsigned long id; */
     429             : NS_IMETHODIMP nsFakePluginTag::GetId(uint32_t *aId)
     430             : {
     431             :     return NS_ERROR_NOT_IMPLEMENTED;
     432             : }
     433             : 
     434             : /* End of implementation class template. */
     435             : #endif
     436             : 
     437             : 
     438             : #endif /* __gen_nsIPluginTag_h__ */

Generated by: LCOV version 1.13