LCOV - code coverage report
Current view: top level - obj-x86_64-pc-linux-gnu/dist/include - nsIASN1Tree.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/nsIASN1Tree.idl
       3             :  */
       4             : 
       5             : #ifndef __gen_nsIASN1Tree_h__
       6             : #define __gen_nsIASN1Tree_h__
       7             : 
       8             : 
       9             : #ifndef __gen_nsISupports_h__
      10             : #include "nsISupports.h"
      11             : #endif
      12             : 
      13             : #ifndef __gen_nsITreeView_h__
      14             : #include "nsITreeView.h"
      15             : #endif
      16             : 
      17             : #ifndef __gen_nsIX509Cert_h__
      18             : #include "nsIX509Cert.h"
      19             : #endif
      20             : 
      21             : /* For IDL files that don't want to include root IDL files. */
      22             : #ifndef NS_NO_VTABLE
      23             : #define NS_NO_VTABLE
      24             : #endif
      25             : 
      26             : /* starting interface:    nsIASN1Tree */
      27             : #define NS_IASN1TREE_IID_STR "de142307-7b88-4e0a-b232-250f310e25d8"
      28             : 
      29             : #define NS_IASN1TREE_IID \
      30             :   {0xde142307, 0x7b88, 0x4e0a, \
      31             :     { 0xb2, 0x32, 0x25, 0x0f, 0x31, 0x0e, 0x25, 0xd8 }}
      32             : 
      33           0 : class NS_NO_VTABLE nsIASN1Tree : public nsITreeView {
      34             :  public:
      35             : 
      36             :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IASN1TREE_IID)
      37             : 
      38             :   /* [must_use] void loadASN1Structure (in nsIASN1Object asn1Object); */
      39             :   MOZ_MUST_USE NS_IMETHOD LoadASN1Structure(nsIASN1Object *asn1Object) = 0;
      40             : 
      41             :   /* [must_use] AString getDisplayData (in unsigned long index); */
      42             :   MOZ_MUST_USE NS_IMETHOD GetDisplayData(uint32_t index, nsAString & _retval) = 0;
      43             : 
      44             : };
      45             : 
      46             :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIASN1Tree, NS_IASN1TREE_IID)
      47             : 
      48             : /* Use this macro when declaring classes that implement this interface. */
      49             : #define NS_DECL_NSIASN1TREE \
      50             :   MOZ_MUST_USE NS_IMETHOD LoadASN1Structure(nsIASN1Object *asn1Object) override; \
      51             :   MOZ_MUST_USE NS_IMETHOD GetDisplayData(uint32_t index, nsAString & _retval) override; 
      52             : 
      53             : /* Use this macro when declaring the members of this interface when the
      54             :    class doesn't implement the interface. This is useful for forwarding. */
      55             : #define NS_DECL_NON_VIRTUAL_NSIASN1TREE \
      56             :   MOZ_MUST_USE nsresult LoadASN1Structure(nsIASN1Object *asn1Object); \
      57             :   MOZ_MUST_USE nsresult GetDisplayData(uint32_t index, nsAString & _retval); 
      58             : 
      59             : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
      60             : #define NS_FORWARD_NSIASN1TREE(_to) \
      61             :   MOZ_MUST_USE NS_IMETHOD LoadASN1Structure(nsIASN1Object *asn1Object) override { return _to LoadASN1Structure(asn1Object); } \
      62             :   MOZ_MUST_USE NS_IMETHOD GetDisplayData(uint32_t index, nsAString & _retval) override { return _to GetDisplayData(index, _retval); } 
      63             : 
      64             : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
      65             : #define NS_FORWARD_SAFE_NSIASN1TREE(_to) \
      66             :   MOZ_MUST_USE NS_IMETHOD LoadASN1Structure(nsIASN1Object *asn1Object) override { return !_to ? NS_ERROR_NULL_POINTER : _to->LoadASN1Structure(asn1Object); } \
      67             :   MOZ_MUST_USE NS_IMETHOD GetDisplayData(uint32_t index, nsAString & _retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDisplayData(index, _retval); } 
      68             : 
      69             : #if 0
      70             : /* Use the code below as a template for the implementation class for this interface. */
      71             : 
      72             : /* Header file */
      73             : class nsASN1Tree : public nsIASN1Tree
      74             : {
      75             : public:
      76             :   NS_DECL_ISUPPORTS
      77             :   NS_DECL_NSIASN1TREE
      78             : 
      79             :   nsASN1Tree();
      80             : 
      81             : private:
      82             :   ~nsASN1Tree();
      83             : 
      84             : protected:
      85             :   /* additional members */
      86             : };
      87             : 
      88             : /* Implementation file */
      89             : NS_IMPL_ISUPPORTS(nsASN1Tree, nsIASN1Tree)
      90             : 
      91             : nsASN1Tree::nsASN1Tree()
      92             : {
      93             :   /* member initializers and constructor code */
      94             : }
      95             : 
      96             : nsASN1Tree::~nsASN1Tree()
      97             : {
      98             :   /* destructor code */
      99             : }
     100             : 
     101             : /* [must_use] void loadASN1Structure (in nsIASN1Object asn1Object); */
     102             : MOZ_MUST_USE NS_IMETHODIMP nsASN1Tree::LoadASN1Structure(nsIASN1Object *asn1Object)
     103             : {
     104             :     return NS_ERROR_NOT_IMPLEMENTED;
     105             : }
     106             : 
     107             : /* [must_use] AString getDisplayData (in unsigned long index); */
     108             : MOZ_MUST_USE NS_IMETHODIMP nsASN1Tree::GetDisplayData(uint32_t index, nsAString & _retval)
     109             : {
     110             :     return NS_ERROR_NOT_IMPLEMENTED;
     111             : }
     112             : 
     113             : /* End of implementation class template. */
     114             : #endif
     115             : 
     116             : 
     117             : #define NS_ASN1TREE_CONTRACTID "@mozilla.org/security/nsASN1Tree;1"
     118             : 
     119             : #endif /* __gen_nsIASN1Tree_h__ */

Generated by: LCOV version 1.13