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

          Line data    Source code
       1             : /*
       2             :  * DO NOT EDIT.  THIS FILE IS GENERATED FROM ../../../dist/idl/nsIWyciwygChannel.idl
       3             :  */
       4             : 
       5             : #ifndef __gen_nsIWyciwygChannel_h__
       6             : #define __gen_nsIWyciwygChannel_h__
       7             : 
       8             : 
       9             : #ifndef __gen_nsIChannel_h__
      10             : #include "nsIChannel.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:    nsIWyciwygChannel */
      19             : #define NS_IWYCIWYGCHANNEL_IID_STR "8b8f3341-46da-40f5-a16f-41a91f5d25dd"
      20             : 
      21             : #define NS_IWYCIWYGCHANNEL_IID \
      22             :   {0x8b8f3341, 0x46da, 0x40f5, \
      23             :     { 0xa1, 0x6f, 0x41, 0xa9, 0x1f, 0x5d, 0x25, 0xdd }}
      24             : 
      25           0 : class NS_NO_VTABLE nsIWyciwygChannel : public nsIChannel {
      26             :  public:
      27             : 
      28             :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IWYCIWYGCHANNEL_IID)
      29             : 
      30             :   /* void writeToCacheEntry (in AString aData); */
      31             :   NS_IMETHOD WriteToCacheEntry(const nsAString & aData) = 0;
      32             : 
      33             :   /* void closeCacheEntry (in nsresult reason); */
      34             :   NS_IMETHOD CloseCacheEntry(nsresult reason) = 0;
      35             : 
      36             :   /* void setSecurityInfo (in nsISupports aSecurityInfo); */
      37             :   NS_IMETHOD SetSecurityInfo(nsISupports *aSecurityInfo) = 0;
      38             : 
      39             :   /* void setCharsetAndSource (in long aSource, in ACString aCharset); */
      40             :   NS_IMETHOD SetCharsetAndSource(int32_t aSource, const nsACString & aCharset) = 0;
      41             : 
      42             :   /* ACString getCharsetAndSource (out long aSource); */
      43             :   NS_IMETHOD GetCharsetAndSource(int32_t *aSource, nsACString & _retval) = 0;
      44             : 
      45             : };
      46             : 
      47             :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIWyciwygChannel, NS_IWYCIWYGCHANNEL_IID)
      48             : 
      49             : /* Use this macro when declaring classes that implement this interface. */
      50             : #define NS_DECL_NSIWYCIWYGCHANNEL \
      51             :   NS_IMETHOD WriteToCacheEntry(const nsAString & aData) override; \
      52             :   NS_IMETHOD CloseCacheEntry(nsresult reason) override; \
      53             :   NS_IMETHOD SetSecurityInfo(nsISupports *aSecurityInfo) override; \
      54             :   NS_IMETHOD SetCharsetAndSource(int32_t aSource, const nsACString & aCharset) override; \
      55             :   NS_IMETHOD GetCharsetAndSource(int32_t *aSource, nsACString & _retval) override; 
      56             : 
      57             : /* Use this macro when declaring the members of this interface when the
      58             :    class doesn't implement the interface. This is useful for forwarding. */
      59             : #define NS_DECL_NON_VIRTUAL_NSIWYCIWYGCHANNEL \
      60             :   nsresult WriteToCacheEntry(const nsAString & aData); \
      61             :   nsresult CloseCacheEntry(nsresult reason); \
      62             :   nsresult SetSecurityInfo(nsISupports *aSecurityInfo); \
      63             :   nsresult SetCharsetAndSource(int32_t aSource, const nsACString & aCharset); \
      64             :   nsresult GetCharsetAndSource(int32_t *aSource, nsACString & _retval); 
      65             : 
      66             : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
      67             : #define NS_FORWARD_NSIWYCIWYGCHANNEL(_to) \
      68             :   NS_IMETHOD WriteToCacheEntry(const nsAString & aData) override { return _to WriteToCacheEntry(aData); } \
      69             :   NS_IMETHOD CloseCacheEntry(nsresult reason) override { return _to CloseCacheEntry(reason); } \
      70             :   NS_IMETHOD SetSecurityInfo(nsISupports *aSecurityInfo) override { return _to SetSecurityInfo(aSecurityInfo); } \
      71             :   NS_IMETHOD SetCharsetAndSource(int32_t aSource, const nsACString & aCharset) override { return _to SetCharsetAndSource(aSource, aCharset); } \
      72             :   NS_IMETHOD GetCharsetAndSource(int32_t *aSource, nsACString & _retval) override { return _to GetCharsetAndSource(aSource, _retval); } 
      73             : 
      74             : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
      75             : #define NS_FORWARD_SAFE_NSIWYCIWYGCHANNEL(_to) \
      76             :   NS_IMETHOD WriteToCacheEntry(const nsAString & aData) override { return !_to ? NS_ERROR_NULL_POINTER : _to->WriteToCacheEntry(aData); } \
      77             :   NS_IMETHOD CloseCacheEntry(nsresult reason) override { return !_to ? NS_ERROR_NULL_POINTER : _to->CloseCacheEntry(reason); } \
      78             :   NS_IMETHOD SetSecurityInfo(nsISupports *aSecurityInfo) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetSecurityInfo(aSecurityInfo); } \
      79             :   NS_IMETHOD SetCharsetAndSource(int32_t aSource, const nsACString & aCharset) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetCharsetAndSource(aSource, aCharset); } \
      80             :   NS_IMETHOD GetCharsetAndSource(int32_t *aSource, nsACString & _retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCharsetAndSource(aSource, _retval); } 
      81             : 
      82             : #if 0
      83             : /* Use the code below as a template for the implementation class for this interface. */
      84             : 
      85             : /* Header file */
      86             : class nsWyciwygChannel : public nsIWyciwygChannel
      87             : {
      88             : public:
      89             :   NS_DECL_ISUPPORTS
      90             :   NS_DECL_NSIWYCIWYGCHANNEL
      91             : 
      92             :   nsWyciwygChannel();
      93             : 
      94             : private:
      95             :   ~nsWyciwygChannel();
      96             : 
      97             : protected:
      98             :   /* additional members */
      99             : };
     100             : 
     101             : /* Implementation file */
     102             : NS_IMPL_ISUPPORTS(nsWyciwygChannel, nsIWyciwygChannel)
     103             : 
     104             : nsWyciwygChannel::nsWyciwygChannel()
     105             : {
     106             :   /* member initializers and constructor code */
     107             : }
     108             : 
     109             : nsWyciwygChannel::~nsWyciwygChannel()
     110             : {
     111             :   /* destructor code */
     112             : }
     113             : 
     114             : /* void writeToCacheEntry (in AString aData); */
     115             : NS_IMETHODIMP nsWyciwygChannel::WriteToCacheEntry(const nsAString & aData)
     116             : {
     117             :     return NS_ERROR_NOT_IMPLEMENTED;
     118             : }
     119             : 
     120             : /* void closeCacheEntry (in nsresult reason); */
     121             : NS_IMETHODIMP nsWyciwygChannel::CloseCacheEntry(nsresult reason)
     122             : {
     123             :     return NS_ERROR_NOT_IMPLEMENTED;
     124             : }
     125             : 
     126             : /* void setSecurityInfo (in nsISupports aSecurityInfo); */
     127             : NS_IMETHODIMP nsWyciwygChannel::SetSecurityInfo(nsISupports *aSecurityInfo)
     128             : {
     129             :     return NS_ERROR_NOT_IMPLEMENTED;
     130             : }
     131             : 
     132             : /* void setCharsetAndSource (in long aSource, in ACString aCharset); */
     133             : NS_IMETHODIMP nsWyciwygChannel::SetCharsetAndSource(int32_t aSource, const nsACString & aCharset)
     134             : {
     135             :     return NS_ERROR_NOT_IMPLEMENTED;
     136             : }
     137             : 
     138             : /* ACString getCharsetAndSource (out long aSource); */
     139             : NS_IMETHODIMP nsWyciwygChannel::GetCharsetAndSource(int32_t *aSource, nsACString & _retval)
     140             : {
     141             :     return NS_ERROR_NOT_IMPLEMENTED;
     142             : }
     143             : 
     144             : /* End of implementation class template. */
     145             : #endif
     146             : 
     147             : 
     148             : #endif /* __gen_nsIWyciwygChannel_h__ */

Generated by: LCOV version 1.13