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 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158
/*
 * DO NOT EDIT.  THIS FILE IS GENERATED FROM /home/jenkins/src/releases/comm-beta/mailnews/local/public/nsIMailboxUrl.idl
 */

#ifndef __gen_nsIMailboxUrl_h__
#define __gen_nsIMailboxUrl_h__


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

#ifndef __gen_MailNewsTypes2_h__
#include "MailNewsTypes2.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 nsIStreamListener; /* forward declaration */

class nsIMsgDBHdr; /* forward declaration */

typedef int32_t  nsMailboxAction;


/* starting interface:    nsIMailboxUrl */
#define NS_IMAILBOXURL_IID_STR "2ac72280-90f4-4d80-8af1-5e7a1997e2a8"

#define NS_IMAILBOXURL_IID \
  {0x2ac72280, 0x90f4, 0x4d80, \
    { 0x8a, 0xf1, 0x5e, 0x7a, 0x19, 0x97, 0xe2, 0xa8 }}

class NS_NO_VTABLE nsIMailboxUrl : public nsISupports {
 public:

  NS_DECLARE_STATIC_IID_ACCESSOR(NS_IMAILBOXURL_IID)

  /* attribute nsIStreamListener mailboxParser; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetMailboxParser(nsIStreamListener **aMailboxParser) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetMailboxParser(nsIStreamListener *aMailboxParser) = 0;

  /* attribute nsIStreamListener mailboxCopyHandler; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetMailboxCopyHandler(nsIStreamListener **aMailboxCopyHandler) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetMailboxCopyHandler(nsIStreamListener *aMailboxCopyHandler) = 0;

  /* readonly attribute nsMsgKey messageKey; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetMessageKey(nsMsgKey *aMessageKey) = 0;

  /* void setMoveCopyMsgKeys (out nsMsgKey keysToFlag, in long numKeys); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetMoveCopyMsgKeys(nsMsgKey *keysToFlag, int32_t numKeys) = 0;

  /* void getMoveCopyMsgHdrForIndex (in unsigned long msgIndex, out nsIMsgDBHdr msgHdr); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetMoveCopyMsgHdrForIndex(uint32_t msgIndex, nsIMsgDBHdr **msgHdr) = 0;

  /* readonly attribute unsigned long numMoveCopyMsgs; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetNumMoveCopyMsgs(uint32_t *aNumMoveCopyMsgs) = 0;

  /* attribute unsigned long curMoveCopyMsgIndex; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetCurMoveCopyMsgIndex(uint32_t *aCurMoveCopyMsgIndex) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetCurMoveCopyMsgIndex(uint32_t aCurMoveCopyMsgIndex) = 0;

  /* attribute unsigned long messageSize; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetMessageSize(uint32_t *aMessageSize) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetMessageSize(uint32_t aMessageSize) = 0;

  /* attribute nsMailboxAction mailboxAction; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetMailboxAction(nsMailboxAction *aMailboxAction) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetMailboxAction(nsMailboxAction aMailboxAction) = 0;

  enum {
    ActionParseMailbox = 0,
    ActionFetchMessage = 1,
    ActionCopyMessage = 2,
    ActionMoveMessage = 3,
    ActionSaveMessageToDisk = 4,
    ActionAppendMessageToDisk = 5,
    ActionFetchPart = 6
  };

};

  NS_DEFINE_STATIC_IID_ACCESSOR(nsIMailboxUrl, NS_IMAILBOXURL_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIMAILBOXURL \
  NS_IMETHOD GetMailboxParser(nsIStreamListener **aMailboxParser) override; \
  NS_IMETHOD SetMailboxParser(nsIStreamListener *aMailboxParser) override; \
  NS_IMETHOD GetMailboxCopyHandler(nsIStreamListener **aMailboxCopyHandler) override; \
  NS_IMETHOD SetMailboxCopyHandler(nsIStreamListener *aMailboxCopyHandler) override; \
  NS_IMETHOD GetMessageKey(nsMsgKey *aMessageKey) override; \
  NS_IMETHOD SetMoveCopyMsgKeys(nsMsgKey *keysToFlag, int32_t numKeys) override; \
  NS_IMETHOD GetMoveCopyMsgHdrForIndex(uint32_t msgIndex, nsIMsgDBHdr **msgHdr) override; \
  NS_IMETHOD GetNumMoveCopyMsgs(uint32_t *aNumMoveCopyMsgs) override; \
  NS_IMETHOD GetCurMoveCopyMsgIndex(uint32_t *aCurMoveCopyMsgIndex) override; \
  NS_IMETHOD SetCurMoveCopyMsgIndex(uint32_t aCurMoveCopyMsgIndex) override; \
  NS_IMETHOD GetMessageSize(uint32_t *aMessageSize) override; \
  NS_IMETHOD SetMessageSize(uint32_t aMessageSize) override; \
  NS_IMETHOD GetMailboxAction(nsMailboxAction *aMailboxAction) override; \
  NS_IMETHOD SetMailboxAction(nsMailboxAction aMailboxAction) 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_NSIMAILBOXURL \
  nsresult GetMailboxParser(nsIStreamListener **aMailboxParser); \
  nsresult SetMailboxParser(nsIStreamListener *aMailboxParser); \
  nsresult GetMailboxCopyHandler(nsIStreamListener **aMailboxCopyHandler); \
  nsresult SetMailboxCopyHandler(nsIStreamListener *aMailboxCopyHandler); \
  nsresult GetMessageKey(nsMsgKey *aMessageKey); \
  nsresult SetMoveCopyMsgKeys(nsMsgKey *keysToFlag, int32_t numKeys); \
  nsresult GetMoveCopyMsgHdrForIndex(uint32_t msgIndex, nsIMsgDBHdr **msgHdr); \
  nsresult GetNumMoveCopyMsgs(uint32_t *aNumMoveCopyMsgs); \
  nsresult GetCurMoveCopyMsgIndex(uint32_t *aCurMoveCopyMsgIndex); \
  nsresult SetCurMoveCopyMsgIndex(uint32_t aCurMoveCopyMsgIndex); \
  nsresult GetMessageSize(uint32_t *aMessageSize); \
  nsresult SetMessageSize(uint32_t aMessageSize); \
  nsresult GetMailboxAction(nsMailboxAction *aMailboxAction); \
  nsresult SetMailboxAction(nsMailboxAction aMailboxAction); \

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIMAILBOXURL(_to) \
  NS_IMETHOD GetMailboxParser(nsIStreamListener **aMailboxParser) override { return _to GetMailboxParser(aMailboxParser); } \
  NS_IMETHOD SetMailboxParser(nsIStreamListener *aMailboxParser) override { return _to SetMailboxParser(aMailboxParser); } \
  NS_IMETHOD GetMailboxCopyHandler(nsIStreamListener **aMailboxCopyHandler) override { return _to GetMailboxCopyHandler(aMailboxCopyHandler); } \
  NS_IMETHOD SetMailboxCopyHandler(nsIStreamListener *aMailboxCopyHandler) override { return _to SetMailboxCopyHandler(aMailboxCopyHandler); } \
  NS_IMETHOD GetMessageKey(nsMsgKey *aMessageKey) override { return _to GetMessageKey(aMessageKey); } \
  NS_IMETHOD SetMoveCopyMsgKeys(nsMsgKey *keysToFlag, int32_t numKeys) override { return _to SetMoveCopyMsgKeys(keysToFlag, numKeys); } \
  NS_IMETHOD GetMoveCopyMsgHdrForIndex(uint32_t msgIndex, nsIMsgDBHdr **msgHdr) override { return _to GetMoveCopyMsgHdrForIndex(msgIndex, msgHdr); } \
  NS_IMETHOD GetNumMoveCopyMsgs(uint32_t *aNumMoveCopyMsgs) override { return _to GetNumMoveCopyMsgs(aNumMoveCopyMsgs); } \
  NS_IMETHOD GetCurMoveCopyMsgIndex(uint32_t *aCurMoveCopyMsgIndex) override { return _to GetCurMoveCopyMsgIndex(aCurMoveCopyMsgIndex); } \
  NS_IMETHOD SetCurMoveCopyMsgIndex(uint32_t aCurMoveCopyMsgIndex) override { return _to SetCurMoveCopyMsgIndex(aCurMoveCopyMsgIndex); } \
  NS_IMETHOD GetMessageSize(uint32_t *aMessageSize) override { return _to GetMessageSize(aMessageSize); } \
  NS_IMETHOD SetMessageSize(uint32_t aMessageSize) override { return _to SetMessageSize(aMessageSize); } \
  NS_IMETHOD GetMailboxAction(nsMailboxAction *aMailboxAction) override { return _to GetMailboxAction(aMailboxAction); } \
  NS_IMETHOD SetMailboxAction(nsMailboxAction aMailboxAction) override { return _to SetMailboxAction(aMailboxAction); } \

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSIMAILBOXURL(_to) \
  NS_IMETHOD GetMailboxParser(nsIStreamListener **aMailboxParser) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetMailboxParser(aMailboxParser); } \
  NS_IMETHOD SetMailboxParser(nsIStreamListener *aMailboxParser) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetMailboxParser(aMailboxParser); } \
  NS_IMETHOD GetMailboxCopyHandler(nsIStreamListener **aMailboxCopyHandler) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetMailboxCopyHandler(aMailboxCopyHandler); } \
  NS_IMETHOD SetMailboxCopyHandler(nsIStreamListener *aMailboxCopyHandler) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetMailboxCopyHandler(aMailboxCopyHandler); } \
  NS_IMETHOD GetMessageKey(nsMsgKey *aMessageKey) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetMessageKey(aMessageKey); } \
  NS_IMETHOD SetMoveCopyMsgKeys(nsMsgKey *keysToFlag, int32_t numKeys) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetMoveCopyMsgKeys(keysToFlag, numKeys); } \
  NS_IMETHOD GetMoveCopyMsgHdrForIndex(uint32_t msgIndex, nsIMsgDBHdr **msgHdr) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetMoveCopyMsgHdrForIndex(msgIndex, msgHdr); } \
  NS_IMETHOD GetNumMoveCopyMsgs(uint32_t *aNumMoveCopyMsgs) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetNumMoveCopyMsgs(aNumMoveCopyMsgs); } \
  NS_IMETHOD GetCurMoveCopyMsgIndex(uint32_t *aCurMoveCopyMsgIndex) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCurMoveCopyMsgIndex(aCurMoveCopyMsgIndex); } \
  NS_IMETHOD SetCurMoveCopyMsgIndex(uint32_t aCurMoveCopyMsgIndex) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetCurMoveCopyMsgIndex(aCurMoveCopyMsgIndex); } \
  NS_IMETHOD GetMessageSize(uint32_t *aMessageSize) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetMessageSize(aMessageSize); } \
  NS_IMETHOD SetMessageSize(uint32_t aMessageSize) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetMessageSize(aMessageSize); } \
  NS_IMETHOD GetMailboxAction(nsMailboxAction *aMailboxAction) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetMailboxAction(aMailboxAction); } \
  NS_IMETHOD SetMailboxAction(nsMailboxAction aMailboxAction) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetMailboxAction(aMailboxAction); } \


#endif /* __gen_nsIMailboxUrl_h__ */