LCOV - code coverage report
Current view: top level - obj-x86_64-pc-linux-gnu/dist/include - nsIKeygenThread.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/nsIKeygenThread.idl
       3             :  */
       4             : 
       5             : #ifndef __gen_nsIKeygenThread_h__
       6             : #define __gen_nsIKeygenThread_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             : class nsIObserver; /* forward declaration */
      18             : 
      19             : 
      20             : /* starting interface:    nsIKeygenThread */
      21             : #define NS_IKEYGENTHREAD_IID_STR "8712a243-5539-447c-9f47-8653f40c3a09"
      22             : 
      23             : #define NS_IKEYGENTHREAD_IID \
      24             :   {0x8712a243, 0x5539, 0x447c, \
      25             :     { 0x9f, 0x47, 0x86, 0x53, 0xf4, 0x0c, 0x3a, 0x09 }}
      26             : 
      27           0 : class NS_NO_VTABLE nsIKeygenThread : public nsISupports {
      28             :  public:
      29             : 
      30             :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IKEYGENTHREAD_IID)
      31             : 
      32             :   /* [must_use] void startKeyGeneration (in nsIObserver observer); */
      33             :   MOZ_MUST_USE NS_IMETHOD StartKeyGeneration(nsIObserver *observer) = 0;
      34             : 
      35             :   /* [must_use] void userCanceled (out boolean threadAlreadyClosedDialog); */
      36             :   MOZ_MUST_USE NS_IMETHOD UserCanceled(bool *threadAlreadyClosedDialog) = 0;
      37             : 
      38             : };
      39             : 
      40             :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIKeygenThread, NS_IKEYGENTHREAD_IID)
      41             : 
      42             : /* Use this macro when declaring classes that implement this interface. */
      43             : #define NS_DECL_NSIKEYGENTHREAD \
      44             :   MOZ_MUST_USE NS_IMETHOD StartKeyGeneration(nsIObserver *observer) override; \
      45             :   MOZ_MUST_USE NS_IMETHOD UserCanceled(bool *threadAlreadyClosedDialog) override; 
      46             : 
      47             : /* Use this macro when declaring the members of this interface when the
      48             :    class doesn't implement the interface. This is useful for forwarding. */
      49             : #define NS_DECL_NON_VIRTUAL_NSIKEYGENTHREAD \
      50             :   MOZ_MUST_USE nsresult StartKeyGeneration(nsIObserver *observer); \
      51             :   MOZ_MUST_USE nsresult UserCanceled(bool *threadAlreadyClosedDialog); 
      52             : 
      53             : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
      54             : #define NS_FORWARD_NSIKEYGENTHREAD(_to) \
      55             :   MOZ_MUST_USE NS_IMETHOD StartKeyGeneration(nsIObserver *observer) override { return _to StartKeyGeneration(observer); } \
      56             :   MOZ_MUST_USE NS_IMETHOD UserCanceled(bool *threadAlreadyClosedDialog) override { return _to UserCanceled(threadAlreadyClosedDialog); } 
      57             : 
      58             : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
      59             : #define NS_FORWARD_SAFE_NSIKEYGENTHREAD(_to) \
      60             :   MOZ_MUST_USE NS_IMETHOD StartKeyGeneration(nsIObserver *observer) override { return !_to ? NS_ERROR_NULL_POINTER : _to->StartKeyGeneration(observer); } \
      61             :   MOZ_MUST_USE NS_IMETHOD UserCanceled(bool *threadAlreadyClosedDialog) override { return !_to ? NS_ERROR_NULL_POINTER : _to->UserCanceled(threadAlreadyClosedDialog); } 
      62             : 
      63             : #if 0
      64             : /* Use the code below as a template for the implementation class for this interface. */
      65             : 
      66             : /* Header file */
      67             : class nsKeygenThread : public nsIKeygenThread
      68             : {
      69             : public:
      70             :   NS_DECL_ISUPPORTS
      71             :   NS_DECL_NSIKEYGENTHREAD
      72             : 
      73             :   nsKeygenThread();
      74             : 
      75             : private:
      76             :   ~nsKeygenThread();
      77             : 
      78             : protected:
      79             :   /* additional members */
      80             : };
      81             : 
      82             : /* Implementation file */
      83             : NS_IMPL_ISUPPORTS(nsKeygenThread, nsIKeygenThread)
      84             : 
      85             : nsKeygenThread::nsKeygenThread()
      86             : {
      87             :   /* member initializers and constructor code */
      88             : }
      89             : 
      90             : nsKeygenThread::~nsKeygenThread()
      91             : {
      92             :   /* destructor code */
      93             : }
      94             : 
      95             : /* [must_use] void startKeyGeneration (in nsIObserver observer); */
      96             : MOZ_MUST_USE NS_IMETHODIMP nsKeygenThread::StartKeyGeneration(nsIObserver *observer)
      97             : {
      98             :     return NS_ERROR_NOT_IMPLEMENTED;
      99             : }
     100             : 
     101             : /* [must_use] void userCanceled (out boolean threadAlreadyClosedDialog); */
     102             : MOZ_MUST_USE NS_IMETHODIMP nsKeygenThread::UserCanceled(bool *threadAlreadyClosedDialog)
     103             : {
     104             :     return NS_ERROR_NOT_IMPLEMENTED;
     105             : }
     106             : 
     107             : /* End of implementation class template. */
     108             : #endif
     109             : 
     110             : // {195763b8-1dd2-11b2-a843-eb44e44aaa37}
     111             : #define NS_KEYGENTHREAD_CID \
     112             : { 0x195763b8, 0x1dd2, 0x11b2, { 0xa8, 0x43, 0xeb, 0x44, 0xe4, 0x4a, 0xaa, 0x37 } }
     113             : #define NS_KEYGENTHREAD_CONTRACTID "@mozilla.org/security/keygenthread;1"
     114             : 
     115             : #endif /* __gen_nsIKeygenThread_h__ */

Generated by: LCOV version 1.13