LCOV - code coverage report
Current view: top level - obj-x86_64-pc-linux-gnu/dist/include - nsIFTPChannel.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/nsIFTPChannel.idl
       3             :  */
       4             : 
       5             : #ifndef __gen_nsIFTPChannel_h__
       6             : #define __gen_nsIFTPChannel_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             : 
      18             : /* starting interface:    nsIFTPChannel */
      19             : #define NS_IFTPCHANNEL_IID_STR "07f0d5cd-1fd5-4aa3-b6fc-665bdc5dbf9f"
      20             : 
      21             : #define NS_IFTPCHANNEL_IID \
      22             :   {0x07f0d5cd, 0x1fd5, 0x4aa3, \
      23             :     { 0xb6, 0xfc, 0x66, 0x5b, 0xdc, 0x5d, 0xbf, 0x9f }}
      24             : 
      25           0 : class NS_NO_VTABLE nsIFTPChannel : public nsISupports {
      26             :  public:
      27             : 
      28             :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IFTPCHANNEL_IID)
      29             : 
      30             :   /* attribute PRTime lastModifiedTime; */
      31             :   NS_IMETHOD GetLastModifiedTime(PRTime *aLastModifiedTime) = 0;
      32             :   NS_IMETHOD SetLastModifiedTime(PRTime aLastModifiedTime) = 0;
      33             : 
      34             : };
      35             : 
      36             :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIFTPChannel, NS_IFTPCHANNEL_IID)
      37             : 
      38             : /* Use this macro when declaring classes that implement this interface. */
      39             : #define NS_DECL_NSIFTPCHANNEL \
      40             :   NS_IMETHOD GetLastModifiedTime(PRTime *aLastModifiedTime) override; \
      41             :   NS_IMETHOD SetLastModifiedTime(PRTime aLastModifiedTime) override; 
      42             : 
      43             : /* Use this macro when declaring the members of this interface when the
      44             :    class doesn't implement the interface. This is useful for forwarding. */
      45             : #define NS_DECL_NON_VIRTUAL_NSIFTPCHANNEL \
      46             :   nsresult GetLastModifiedTime(PRTime *aLastModifiedTime); \
      47             :   nsresult SetLastModifiedTime(PRTime aLastModifiedTime); 
      48             : 
      49             : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
      50             : #define NS_FORWARD_NSIFTPCHANNEL(_to) \
      51             :   NS_IMETHOD GetLastModifiedTime(PRTime *aLastModifiedTime) override { return _to GetLastModifiedTime(aLastModifiedTime); } \
      52             :   NS_IMETHOD SetLastModifiedTime(PRTime aLastModifiedTime) override { return _to SetLastModifiedTime(aLastModifiedTime); } 
      53             : 
      54             : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
      55             : #define NS_FORWARD_SAFE_NSIFTPCHANNEL(_to) \
      56             :   NS_IMETHOD GetLastModifiedTime(PRTime *aLastModifiedTime) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLastModifiedTime(aLastModifiedTime); } \
      57             :   NS_IMETHOD SetLastModifiedTime(PRTime aLastModifiedTime) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetLastModifiedTime(aLastModifiedTime); } 
      58             : 
      59             : #if 0
      60             : /* Use the code below as a template for the implementation class for this interface. */
      61             : 
      62             : /* Header file */
      63             : class nsFTPChannel : public nsIFTPChannel
      64             : {
      65             : public:
      66             :   NS_DECL_ISUPPORTS
      67             :   NS_DECL_NSIFTPCHANNEL
      68             : 
      69             :   nsFTPChannel();
      70             : 
      71             : private:
      72             :   ~nsFTPChannel();
      73             : 
      74             : protected:
      75             :   /* additional members */
      76             : };
      77             : 
      78             : /* Implementation file */
      79             : NS_IMPL_ISUPPORTS(nsFTPChannel, nsIFTPChannel)
      80             : 
      81             : nsFTPChannel::nsFTPChannel()
      82             : {
      83             :   /* member initializers and constructor code */
      84             : }
      85             : 
      86             : nsFTPChannel::~nsFTPChannel()
      87             : {
      88             :   /* destructor code */
      89             : }
      90             : 
      91             : /* attribute PRTime lastModifiedTime; */
      92             : NS_IMETHODIMP nsFTPChannel::GetLastModifiedTime(PRTime *aLastModifiedTime)
      93             : {
      94             :     return NS_ERROR_NOT_IMPLEMENTED;
      95             : }
      96             : NS_IMETHODIMP nsFTPChannel::SetLastModifiedTime(PRTime aLastModifiedTime)
      97             : {
      98             :     return NS_ERROR_NOT_IMPLEMENTED;
      99             : }
     100             : 
     101             : /* End of implementation class template. */
     102             : #endif
     103             : 
     104             : 
     105             : /* starting interface:    nsIFTPEventSink */
     106             : #define NS_IFTPEVENTSINK_IID_STR "455d4234-0330-43d2-bbfb-99afbecbfeb0"
     107             : 
     108             : #define NS_IFTPEVENTSINK_IID \
     109             :   {0x455d4234, 0x0330, 0x43d2, \
     110             :     { 0xbb, 0xfb, 0x99, 0xaf, 0xbe, 0xcb, 0xfe, 0xb0 }}
     111             : 
     112           0 : class NS_NO_VTABLE nsIFTPEventSink : public nsISupports {
     113             :  public:
     114             : 
     115             :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IFTPEVENTSINK_IID)
     116             : 
     117             :   /* void OnFTPControlLog (in boolean server, in string msg); */
     118             :   NS_IMETHOD OnFTPControlLog(bool server, const char * msg) = 0;
     119             : 
     120             : };
     121             : 
     122             :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIFTPEventSink, NS_IFTPEVENTSINK_IID)
     123             : 
     124             : /* Use this macro when declaring classes that implement this interface. */
     125             : #define NS_DECL_NSIFTPEVENTSINK \
     126             :   NS_IMETHOD OnFTPControlLog(bool server, const char * msg) override; 
     127             : 
     128             : /* Use this macro when declaring the members of this interface when the
     129             :    class doesn't implement the interface. This is useful for forwarding. */
     130             : #define NS_DECL_NON_VIRTUAL_NSIFTPEVENTSINK \
     131             :   nsresult OnFTPControlLog(bool server, const char * msg); 
     132             : 
     133             : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
     134             : #define NS_FORWARD_NSIFTPEVENTSINK(_to) \
     135             :   NS_IMETHOD OnFTPControlLog(bool server, const char * msg) override { return _to OnFTPControlLog(server, msg); } 
     136             : 
     137             : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
     138             : #define NS_FORWARD_SAFE_NSIFTPEVENTSINK(_to) \
     139             :   NS_IMETHOD OnFTPControlLog(bool server, const char * msg) override { return !_to ? NS_ERROR_NULL_POINTER : _to->OnFTPControlLog(server, msg); } 
     140             : 
     141             : #if 0
     142             : /* Use the code below as a template for the implementation class for this interface. */
     143             : 
     144             : /* Header file */
     145             : class nsFTPEventSink : public nsIFTPEventSink
     146             : {
     147             : public:
     148             :   NS_DECL_ISUPPORTS
     149             :   NS_DECL_NSIFTPEVENTSINK
     150             : 
     151             :   nsFTPEventSink();
     152             : 
     153             : private:
     154             :   ~nsFTPEventSink();
     155             : 
     156             : protected:
     157             :   /* additional members */
     158             : };
     159             : 
     160             : /* Implementation file */
     161             : NS_IMPL_ISUPPORTS(nsFTPEventSink, nsIFTPEventSink)
     162             : 
     163             : nsFTPEventSink::nsFTPEventSink()
     164             : {
     165             :   /* member initializers and constructor code */
     166             : }
     167             : 
     168             : nsFTPEventSink::~nsFTPEventSink()
     169             : {
     170             :   /* destructor code */
     171             : }
     172             : 
     173             : /* void OnFTPControlLog (in boolean server, in string msg); */
     174             : NS_IMETHODIMP nsFTPEventSink::OnFTPControlLog(bool server, const char * msg)
     175             : {
     176             :     return NS_ERROR_NOT_IMPLEMENTED;
     177             : }
     178             : 
     179             : /* End of implementation class template. */
     180             : #endif
     181             : 
     182             : 
     183             : #endif /* __gen_nsIFTPChannel_h__ */

Generated by: LCOV version 1.13