DXR is a code search and navigation tool aimed at making sense of large projects. It supports full-text and regex searches as well as structural queries.

Untracked file

Line Code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110
/*
 * DO NOT EDIT.  THIS FILE IS GENERATED FROM /home/jenkins/src/releases/comm-beta/mailnews/base/public/nsIMsgAsyncPrompter.idl
 */

#ifndef __gen_nsIMsgAsyncPrompter_h__
#define __gen_nsIMsgAsyncPrompter_h__


#ifndef __gen_nsISupports_h__
#include "nsISupports.h"
#endif

#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 nsIMsgAsyncPromptListener; /* forward declaration */


/* starting interface:    nsIMsgAsyncPrompter */
#define NS_IMSGASYNCPROMPTER_IID_STR "15f67d0f-947a-4a1e-8f72-6ab7162b4b9c"

#define NS_IMSGASYNCPROMPTER_IID \
  {0x15f67d0f, 0x947a, 0x4a1e, \
    { 0x8f, 0x72, 0x6a, 0xb7, 0x16, 0x2b, 0x4b, 0x9c }}

class NS_NO_VTABLE nsIMsgAsyncPrompter : public nsISupports {
 public:

  NS_DECLARE_STATIC_IID_ACCESSOR(NS_IMSGASYNCPROMPTER_IID)

  /* void queueAsyncAuthPrompt (in ACString aKey, in boolean aPromptImmediately, in nsIMsgAsyncPromptListener aCaller); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD QueueAsyncAuthPrompt(const nsACString& aKey, bool aPromptImmediately, nsIMsgAsyncPromptListener *aCaller) = 0;

};

  NS_DEFINE_STATIC_IID_ACCESSOR(nsIMsgAsyncPrompter, NS_IMSGASYNCPROMPTER_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIMSGASYNCPROMPTER \
  NS_IMETHOD QueueAsyncAuthPrompt(const nsACString& aKey, bool aPromptImmediately, nsIMsgAsyncPromptListener *aCaller) 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_NSIMSGASYNCPROMPTER \
  nsresult QueueAsyncAuthPrompt(const nsACString& aKey, bool aPromptImmediately, nsIMsgAsyncPromptListener *aCaller); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIMSGASYNCPROMPTER(_to) \
  NS_IMETHOD QueueAsyncAuthPrompt(const nsACString& aKey, bool aPromptImmediately, nsIMsgAsyncPromptListener *aCaller) override { return _to QueueAsyncAuthPrompt(aKey, aPromptImmediately, aCaller); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSIMSGASYNCPROMPTER(_to) \
  NS_IMETHOD QueueAsyncAuthPrompt(const nsACString& aKey, bool aPromptImmediately, nsIMsgAsyncPromptListener *aCaller) override { return !_to ? NS_ERROR_NULL_POINTER : _to->QueueAsyncAuthPrompt(aKey, aPromptImmediately, aCaller); } 


/* starting interface:    nsIMsgAsyncPromptListener */
#define NS_IMSGASYNCPROMPTLISTENER_IID_STR "fb5307a3-39d0-462e-92c8-c5c288a2612f"

#define NS_IMSGASYNCPROMPTLISTENER_IID \
  {0xfb5307a3, 0x39d0, 0x462e, \
    { 0x92, 0xc8, 0xc5, 0xc2, 0x88, 0xa2, 0x61, 0x2f }}

class NS_NO_VTABLE nsIMsgAsyncPromptListener : public nsISupports {
 public:

  NS_DECLARE_STATIC_IID_ACCESSOR(NS_IMSGASYNCPROMPTLISTENER_IID)

  /* boolean onPromptStart (); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD OnPromptStart(bool *_retval) = 0;

  /* void onPromptAuthAvailable (); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD OnPromptAuthAvailable(void) = 0;

  /* void onPromptCanceled (); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD OnPromptCanceled(void) = 0;

};

  NS_DEFINE_STATIC_IID_ACCESSOR(nsIMsgAsyncPromptListener, NS_IMSGASYNCPROMPTLISTENER_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIMSGASYNCPROMPTLISTENER \
  NS_IMETHOD OnPromptStart(bool *_retval) override; \
  NS_IMETHOD OnPromptAuthAvailable(void) override; \
  NS_IMETHOD OnPromptCanceled(void) 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_NSIMSGASYNCPROMPTLISTENER \
  nsresult OnPromptStart(bool *_retval); \
  nsresult OnPromptAuthAvailable(void); \
  nsresult OnPromptCanceled(void); 

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

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


#endif /* __gen_nsIMsgAsyncPrompter_h__ */