/*
 * DO NOT EDIT.  THIS FILE IS GENERATED FROM $SRCDIR/dom/ipc/nsILoginDetectionService.idl
 */

#ifndef __gen_nsILoginDetectionService_h__
#define __gen_nsILoginDetectionService_h__


#include "nsISupports.h"

#include "js/GCAnnotations.h"

/* For IDL files that don't want to include root IDL files. */
#ifndef NS_NO_VTABLE
#define NS_NO_VTABLE
#endif
class nsIURI; /* forward declaration */


/* starting interface:    nsILoginDetectionService */
#define NS_ILOGINDETECTIONSERVICE_IID_STR "4c3c9a82-722a-4b0b-9c7d-36ef90135537"

#define NS_ILOGINDETECTIONSERVICE_IID \
  {0x4c3c9a82, 0x722a, 0x4b0b, \
    { 0x9c, 0x7d, 0x36, 0xef, 0x90, 0x13, 0x55, 0x37 }}

class NS_NO_VTABLE MOZ_BINDING(binding_to, idl, class, XPIDL_nsILoginDetectionService) nsILoginDetectionService : public nsISupports {
 public:

  NS_INLINE_DECL_STATIC_IID(NS_ILOGINDETECTIONSERVICE_IID)

  /* Used by ToJSValue to check which scriptable interface is implemented. */
  using ScriptableInterfaceType = nsILoginDetectionService;

  /* void init (); */
  MOZ_BINDING(binding_to, idl, method, XPIDL_nsILoginDetectionService_init)
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD Init(void) = 0;

  /* boolean isLoginsLoaded (); */
  MOZ_BINDING(binding_to, idl, method, XPIDL_nsILoginDetectionService_isLoginsLoaded)
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD IsLoginsLoaded(bool *_retval) = 0;

};


/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSILOGINDETECTIONSERVICE \
  NS_IMETHOD Init(void) override; \
  NS_IMETHOD IsLoginsLoaded(bool *_retval) override; 

/* Use this macro when declaring the members of this interface when the
   class doesn't implement the interface. This is useful for forwarding. */
#define NS_DECL_NON_VIRTUAL_NSILOGINDETECTIONSERVICE \
  MOZ_BINDING(binding_to, idl, method, XPIDL_nsILoginDetectionService_init)\
  nsresult Init(void); \
  MOZ_BINDING(binding_to, idl, method, XPIDL_nsILoginDetectionService_isLoginsLoaded)\
  nsresult IsLoginsLoaded(bool *_retval); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSILOGINDETECTIONSERVICE(_to) \
  NS_IMETHOD Init(void) override { return _to Init(); } \
  NS_IMETHOD IsLoginsLoaded(bool *_retval) override { return _to IsLoginsLoaded(_retval); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSILOGINDETECTIONSERVICE(_to) \
  NS_IMETHOD Init(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->Init(); } \
  NS_IMETHOD IsLoginsLoaded(bool *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->IsLoginsLoaded(_retval); } 


#endif /* __gen_nsILoginDetectionService_h__ */
