LCOV - code coverage report
Current view: top level - obj-x86_64-pc-linux-gnu/dist/include - nsIASN1PrintableItem.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/nsIASN1PrintableItem.idl
       3             :  */
       4             : 
       5             : #ifndef __gen_nsIASN1PrintableItem_h__
       6             : #define __gen_nsIASN1PrintableItem_h__
       7             : 
       8             : 
       9             : #ifndef __gen_nsISupports_h__
      10             : #include "nsISupports.h"
      11             : #endif
      12             : 
      13             : #ifndef __gen_nsIASN1Object_h__
      14             : #include "nsIASN1Object.h"
      15             : #endif
      16             : 
      17             : /* For IDL files that don't want to include root IDL files. */
      18             : #ifndef NS_NO_VTABLE
      19             : #define NS_NO_VTABLE
      20             : #endif
      21             : 
      22             : /* starting interface:    nsIASN1PrintableItem */
      23             : #define NS_IASN1PRINTABLEITEM_IID_STR "114e1142-1dd2-11b2-ac26-b6db19d9184a"
      24             : 
      25             : #define NS_IASN1PRINTABLEITEM_IID \
      26             :   {0x114e1142, 0x1dd2, 0x11b2, \
      27             :     { 0xac, 0x26, 0xb6, 0xdb, 0x19, 0xd9, 0x18, 0x4a }}
      28             : 
      29           0 : class NS_NO_VTABLE nsIASN1PrintableItem : public nsIASN1Object {
      30             :  public:
      31             : 
      32             :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IASN1PRINTABLEITEM_IID)
      33             : 
      34             :   /* [noscript] void setData (in charPtr data, in unsigned long len); */
      35             :   NS_IMETHOD SetData(char *data, uint32_t len) = 0;
      36             : 
      37             :   /* [must_use,noscript] void getData (out charPtr data, out unsigned long len); */
      38             :   MOZ_MUST_USE NS_IMETHOD GetData(char **data, uint32_t *len) = 0;
      39             : 
      40             : };
      41             : 
      42             :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIASN1PrintableItem, NS_IASN1PRINTABLEITEM_IID)
      43             : 
      44             : /* Use this macro when declaring classes that implement this interface. */
      45             : #define NS_DECL_NSIASN1PRINTABLEITEM \
      46             :   NS_IMETHOD SetData(char *data, uint32_t len) override; \
      47             :   MOZ_MUST_USE NS_IMETHOD GetData(char **data, uint32_t *len) override; 
      48             : 
      49             : /* Use this macro when declaring the members of this interface when the
      50             :    class doesn't implement the interface. This is useful for forwarding. */
      51             : #define NS_DECL_NON_VIRTUAL_NSIASN1PRINTABLEITEM \
      52             :   nsresult SetData(char *data, uint32_t len); \
      53             :   MOZ_MUST_USE nsresult GetData(char **data, uint32_t *len); 
      54             : 
      55             : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
      56             : #define NS_FORWARD_NSIASN1PRINTABLEITEM(_to) \
      57             :   NS_IMETHOD SetData(char *data, uint32_t len) override { return _to SetData(data, len); } \
      58             :   MOZ_MUST_USE NS_IMETHOD GetData(char **data, uint32_t *len) override { return _to GetData(data, len); } 
      59             : 
      60             : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
      61             : #define NS_FORWARD_SAFE_NSIASN1PRINTABLEITEM(_to) \
      62             :   NS_IMETHOD SetData(char *data, uint32_t len) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetData(data, len); } \
      63             :   MOZ_MUST_USE NS_IMETHOD GetData(char **data, uint32_t *len) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetData(data, len); } 
      64             : 
      65             : #if 0
      66             : /* Use the code below as a template for the implementation class for this interface. */
      67             : 
      68             : /* Header file */
      69             : class nsASN1PrintableItem : public nsIASN1PrintableItem
      70             : {
      71             : public:
      72             :   NS_DECL_ISUPPORTS
      73             :   NS_DECL_NSIASN1PRINTABLEITEM
      74             : 
      75             :   nsASN1PrintableItem();
      76             : 
      77             : private:
      78             :   ~nsASN1PrintableItem();
      79             : 
      80             : protected:
      81             :   /* additional members */
      82             : };
      83             : 
      84             : /* Implementation file */
      85             : NS_IMPL_ISUPPORTS(nsASN1PrintableItem, nsIASN1PrintableItem)
      86             : 
      87             : nsASN1PrintableItem::nsASN1PrintableItem()
      88             : {
      89             :   /* member initializers and constructor code */
      90             : }
      91             : 
      92             : nsASN1PrintableItem::~nsASN1PrintableItem()
      93             : {
      94             :   /* destructor code */
      95             : }
      96             : 
      97             : /* [noscript] void setData (in charPtr data, in unsigned long len); */
      98             : NS_IMETHODIMP nsASN1PrintableItem::SetData(char *data, uint32_t len)
      99             : {
     100             :     return NS_ERROR_NOT_IMPLEMENTED;
     101             : }
     102             : 
     103             : /* [must_use,noscript] void getData (out charPtr data, out unsigned long len); */
     104             : MOZ_MUST_USE NS_IMETHODIMP nsASN1PrintableItem::GetData(char **data, uint32_t *len)
     105             : {
     106             :     return NS_ERROR_NOT_IMPLEMENTED;
     107             : }
     108             : 
     109             : /* End of implementation class template. */
     110             : #endif
     111             : 
     112             : 
     113             : #endif /* __gen_nsIASN1PrintableItem_h__ */

Generated by: LCOV version 1.13