LCOV - code coverage report
Current view: top level - obj-x86_64-pc-linux-gnu/dist/include - nsIX509CertValidity.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/nsIX509CertValidity.idl
       3             :  */
       4             : 
       5             : #ifndef __gen_nsIX509CertValidity_h__
       6             : #define __gen_nsIX509CertValidity_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:    nsIX509CertValidity */
      19             : #define NS_IX509CERTVALIDITY_IID_STR "e701dfd8-1dd1-11b2-a172-ffa6cc6156ad"
      20             : 
      21             : #define NS_IX509CERTVALIDITY_IID \
      22             :   {0xe701dfd8, 0x1dd1, 0x11b2, \
      23             :     { 0xa1, 0x72, 0xff, 0xa6, 0xcc, 0x61, 0x56, 0xad }}
      24             : 
      25           0 : class NS_NO_VTABLE nsIX509CertValidity : public nsISupports {
      26             :  public:
      27             : 
      28             :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IX509CERTVALIDITY_IID)
      29             : 
      30             :   /* readonly attribute PRTime notBefore; */
      31             :   NS_IMETHOD GetNotBefore(PRTime *aNotBefore) = 0;
      32             : 
      33             :   /* [must_use] readonly attribute AString notBeforeLocalTime; */
      34             :   MOZ_MUST_USE NS_IMETHOD GetNotBeforeLocalTime(nsAString & aNotBeforeLocalTime) = 0;
      35             : 
      36             :   /* readonly attribute AString notBeforeLocalDay; */
      37             :   NS_IMETHOD GetNotBeforeLocalDay(nsAString & aNotBeforeLocalDay) = 0;
      38             : 
      39             :   /* [must_use] readonly attribute AString notBeforeGMT; */
      40             :   MOZ_MUST_USE NS_IMETHOD GetNotBeforeGMT(nsAString & aNotBeforeGMT) = 0;
      41             : 
      42             :   /* readonly attribute PRTime notAfter; */
      43             :   NS_IMETHOD GetNotAfter(PRTime *aNotAfter) = 0;
      44             : 
      45             :   /* [must_use] readonly attribute AString notAfterLocalTime; */
      46             :   MOZ_MUST_USE NS_IMETHOD GetNotAfterLocalTime(nsAString & aNotAfterLocalTime) = 0;
      47             : 
      48             :   /* readonly attribute AString notAfterLocalDay; */
      49             :   NS_IMETHOD GetNotAfterLocalDay(nsAString & aNotAfterLocalDay) = 0;
      50             : 
      51             :   /* [must_use] readonly attribute AString notAfterGMT; */
      52             :   MOZ_MUST_USE NS_IMETHOD GetNotAfterGMT(nsAString & aNotAfterGMT) = 0;
      53             : 
      54             : };
      55             : 
      56             :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIX509CertValidity, NS_IX509CERTVALIDITY_IID)
      57             : 
      58             : /* Use this macro when declaring classes that implement this interface. */
      59             : #define NS_DECL_NSIX509CERTVALIDITY \
      60             :   NS_IMETHOD GetNotBefore(PRTime *aNotBefore) override; \
      61             :   MOZ_MUST_USE NS_IMETHOD GetNotBeforeLocalTime(nsAString & aNotBeforeLocalTime) override; \
      62             :   NS_IMETHOD GetNotBeforeLocalDay(nsAString & aNotBeforeLocalDay) override; \
      63             :   MOZ_MUST_USE NS_IMETHOD GetNotBeforeGMT(nsAString & aNotBeforeGMT) override; \
      64             :   NS_IMETHOD GetNotAfter(PRTime *aNotAfter) override; \
      65             :   MOZ_MUST_USE NS_IMETHOD GetNotAfterLocalTime(nsAString & aNotAfterLocalTime) override; \
      66             :   NS_IMETHOD GetNotAfterLocalDay(nsAString & aNotAfterLocalDay) override; \
      67             :   MOZ_MUST_USE NS_IMETHOD GetNotAfterGMT(nsAString & aNotAfterGMT) override; 
      68             : 
      69             : /* Use this macro when declaring the members of this interface when the
      70             :    class doesn't implement the interface. This is useful for forwarding. */
      71             : #define NS_DECL_NON_VIRTUAL_NSIX509CERTVALIDITY \
      72             :   nsresult GetNotBefore(PRTime *aNotBefore); \
      73             :   MOZ_MUST_USE nsresult GetNotBeforeLocalTime(nsAString & aNotBeforeLocalTime); \
      74             :   nsresult GetNotBeforeLocalDay(nsAString & aNotBeforeLocalDay); \
      75             :   MOZ_MUST_USE nsresult GetNotBeforeGMT(nsAString & aNotBeforeGMT); \
      76             :   nsresult GetNotAfter(PRTime *aNotAfter); \
      77             :   MOZ_MUST_USE nsresult GetNotAfterLocalTime(nsAString & aNotAfterLocalTime); \
      78             :   nsresult GetNotAfterLocalDay(nsAString & aNotAfterLocalDay); \
      79             :   MOZ_MUST_USE nsresult GetNotAfterGMT(nsAString & aNotAfterGMT); 
      80             : 
      81             : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
      82             : #define NS_FORWARD_NSIX509CERTVALIDITY(_to) \
      83             :   NS_IMETHOD GetNotBefore(PRTime *aNotBefore) override { return _to GetNotBefore(aNotBefore); } \
      84             :   MOZ_MUST_USE NS_IMETHOD GetNotBeforeLocalTime(nsAString & aNotBeforeLocalTime) override { return _to GetNotBeforeLocalTime(aNotBeforeLocalTime); } \
      85             :   NS_IMETHOD GetNotBeforeLocalDay(nsAString & aNotBeforeLocalDay) override { return _to GetNotBeforeLocalDay(aNotBeforeLocalDay); } \
      86             :   MOZ_MUST_USE NS_IMETHOD GetNotBeforeGMT(nsAString & aNotBeforeGMT) override { return _to GetNotBeforeGMT(aNotBeforeGMT); } \
      87             :   NS_IMETHOD GetNotAfter(PRTime *aNotAfter) override { return _to GetNotAfter(aNotAfter); } \
      88             :   MOZ_MUST_USE NS_IMETHOD GetNotAfterLocalTime(nsAString & aNotAfterLocalTime) override { return _to GetNotAfterLocalTime(aNotAfterLocalTime); } \
      89             :   NS_IMETHOD GetNotAfterLocalDay(nsAString & aNotAfterLocalDay) override { return _to GetNotAfterLocalDay(aNotAfterLocalDay); } \
      90             :   MOZ_MUST_USE NS_IMETHOD GetNotAfterGMT(nsAString & aNotAfterGMT) override { return _to GetNotAfterGMT(aNotAfterGMT); } 
      91             : 
      92             : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
      93             : #define NS_FORWARD_SAFE_NSIX509CERTVALIDITY(_to) \
      94             :   NS_IMETHOD GetNotBefore(PRTime *aNotBefore) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetNotBefore(aNotBefore); } \
      95             :   MOZ_MUST_USE NS_IMETHOD GetNotBeforeLocalTime(nsAString & aNotBeforeLocalTime) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetNotBeforeLocalTime(aNotBeforeLocalTime); } \
      96             :   NS_IMETHOD GetNotBeforeLocalDay(nsAString & aNotBeforeLocalDay) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetNotBeforeLocalDay(aNotBeforeLocalDay); } \
      97             :   MOZ_MUST_USE NS_IMETHOD GetNotBeforeGMT(nsAString & aNotBeforeGMT) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetNotBeforeGMT(aNotBeforeGMT); } \
      98             :   NS_IMETHOD GetNotAfter(PRTime *aNotAfter) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetNotAfter(aNotAfter); } \
      99             :   MOZ_MUST_USE NS_IMETHOD GetNotAfterLocalTime(nsAString & aNotAfterLocalTime) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetNotAfterLocalTime(aNotAfterLocalTime); } \
     100             :   NS_IMETHOD GetNotAfterLocalDay(nsAString & aNotAfterLocalDay) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetNotAfterLocalDay(aNotAfterLocalDay); } \
     101             :   MOZ_MUST_USE NS_IMETHOD GetNotAfterGMT(nsAString & aNotAfterGMT) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetNotAfterGMT(aNotAfterGMT); } 
     102             : 
     103             : #if 0
     104             : /* Use the code below as a template for the implementation class for this interface. */
     105             : 
     106             : /* Header file */
     107             : class nsX509CertValidity : public nsIX509CertValidity
     108             : {
     109             : public:
     110             :   NS_DECL_ISUPPORTS
     111             :   NS_DECL_NSIX509CERTVALIDITY
     112             : 
     113             :   nsX509CertValidity();
     114             : 
     115             : private:
     116             :   ~nsX509CertValidity();
     117             : 
     118             : protected:
     119             :   /* additional members */
     120             : };
     121             : 
     122             : /* Implementation file */
     123             : NS_IMPL_ISUPPORTS(nsX509CertValidity, nsIX509CertValidity)
     124             : 
     125             : nsX509CertValidity::nsX509CertValidity()
     126             : {
     127             :   /* member initializers and constructor code */
     128             : }
     129             : 
     130             : nsX509CertValidity::~nsX509CertValidity()
     131             : {
     132             :   /* destructor code */
     133             : }
     134             : 
     135             : /* readonly attribute PRTime notBefore; */
     136             : NS_IMETHODIMP nsX509CertValidity::GetNotBefore(PRTime *aNotBefore)
     137             : {
     138             :     return NS_ERROR_NOT_IMPLEMENTED;
     139             : }
     140             : 
     141             : /* [must_use] readonly attribute AString notBeforeLocalTime; */
     142             : MOZ_MUST_USE NS_IMETHODIMP nsX509CertValidity::GetNotBeforeLocalTime(nsAString & aNotBeforeLocalTime)
     143             : {
     144             :     return NS_ERROR_NOT_IMPLEMENTED;
     145             : }
     146             : 
     147             : /* readonly attribute AString notBeforeLocalDay; */
     148             : NS_IMETHODIMP nsX509CertValidity::GetNotBeforeLocalDay(nsAString & aNotBeforeLocalDay)
     149             : {
     150             :     return NS_ERROR_NOT_IMPLEMENTED;
     151             : }
     152             : 
     153             : /* [must_use] readonly attribute AString notBeforeGMT; */
     154             : MOZ_MUST_USE NS_IMETHODIMP nsX509CertValidity::GetNotBeforeGMT(nsAString & aNotBeforeGMT)
     155             : {
     156             :     return NS_ERROR_NOT_IMPLEMENTED;
     157             : }
     158             : 
     159             : /* readonly attribute PRTime notAfter; */
     160             : NS_IMETHODIMP nsX509CertValidity::GetNotAfter(PRTime *aNotAfter)
     161             : {
     162             :     return NS_ERROR_NOT_IMPLEMENTED;
     163             : }
     164             : 
     165             : /* [must_use] readonly attribute AString notAfterLocalTime; */
     166             : MOZ_MUST_USE NS_IMETHODIMP nsX509CertValidity::GetNotAfterLocalTime(nsAString & aNotAfterLocalTime)
     167             : {
     168             :     return NS_ERROR_NOT_IMPLEMENTED;
     169             : }
     170             : 
     171             : /* readonly attribute AString notAfterLocalDay; */
     172             : NS_IMETHODIMP nsX509CertValidity::GetNotAfterLocalDay(nsAString & aNotAfterLocalDay)
     173             : {
     174             :     return NS_ERROR_NOT_IMPLEMENTED;
     175             : }
     176             : 
     177             : /* [must_use] readonly attribute AString notAfterGMT; */
     178             : MOZ_MUST_USE NS_IMETHODIMP nsX509CertValidity::GetNotAfterGMT(nsAString & aNotAfterGMT)
     179             : {
     180             :     return NS_ERROR_NOT_IMPLEMENTED;
     181             : }
     182             : 
     183             : /* End of implementation class template. */
     184             : #endif
     185             : 
     186             : 
     187             : #endif /* __gen_nsIX509CertValidity_h__ */

Generated by: LCOV version 1.13