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 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203
/*
 * DO NOT EDIT.  THIS FILE IS GENERATED FROM /home/jenkins/src/releases/comm-beta/mailnews/base/search/public/nsIMsgSearchValue.idl
 */

#ifndef __gen_nsIMsgSearchValue_h__
#define __gen_nsIMsgSearchValue_h__


#ifndef __gen_nsMsgSearchCore_h__
#include "nsMsgSearchCore.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 nsIMsgFolder; /* forward declaration */


/* starting interface:    nsIMsgSearchValue */
#define NS_IMSGSEARCHVALUE_IID_STR "783758a0-cdb5-11dc-95ff-0800200c9a66"

#define NS_IMSGSEARCHVALUE_IID \
  {0x783758a0, 0xcdb5, 0x11dc, \
    { 0x95, 0xff, 0x08, 0x00, 0x20, 0x0c, 0x9a, 0x66 }}

class NS_NO_VTABLE nsIMsgSearchValue : public nsISupports {
 public:

  NS_DECLARE_STATIC_IID_ACCESSOR(NS_IMSGSEARCHVALUE_IID)

  /* attribute nsMsgSearchAttribValue attrib; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetAttrib(nsMsgSearchAttribValue *aAttrib) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetAttrib(nsMsgSearchAttribValue aAttrib) = 0;

  /* attribute AString str; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetStr(nsAString& aStr) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetStr(const nsAString& aStr) = 0;

  /* attribute nsMsgPriorityValue priority; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetPriority(nsMsgPriorityValue *aPriority) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetPriority(nsMsgPriorityValue aPriority) = 0;

  /* attribute PRTime date; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetDate(PRTime *aDate) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetDate(PRTime aDate) = 0;

  /* attribute unsigned long status; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetStatus(uint32_t *aStatus) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetStatus(uint32_t aStatus) = 0;

  /* attribute unsigned long size; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetSize(uint32_t *aSize) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetSize(uint32_t aSize) = 0;

  /* attribute nsMsgKey msgKey; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetMsgKey(nsMsgKey *aMsgKey) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetMsgKey(nsMsgKey aMsgKey) = 0;

  /* attribute long age; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetAge(int32_t *aAge) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetAge(int32_t aAge) = 0;

  /* attribute nsIMsgFolder folder; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetFolder(nsIMsgFolder **aFolder) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetFolder(nsIMsgFolder *aFolder) = 0;

  /* attribute nsMsgLabelValue label; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetLabel(nsMsgLabelValue *aLabel) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetLabel(nsMsgLabelValue aLabel) = 0;

  /* attribute nsMsgJunkStatus junkStatus; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetJunkStatus(nsMsgJunkStatus *aJunkStatus) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetJunkStatus(nsMsgJunkStatus aJunkStatus) = 0;

  /* attribute unsigned long junkPercent; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetJunkPercent(uint32_t *aJunkPercent) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetJunkPercent(uint32_t aJunkPercent) = 0;

  /* AString toString (); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD ToString(nsAString& _retval) = 0;

};

  NS_DEFINE_STATIC_IID_ACCESSOR(nsIMsgSearchValue, NS_IMSGSEARCHVALUE_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIMSGSEARCHVALUE \
  NS_IMETHOD GetAttrib(nsMsgSearchAttribValue *aAttrib) override; \
  NS_IMETHOD SetAttrib(nsMsgSearchAttribValue aAttrib) override; \
  NS_IMETHOD GetStr(nsAString& aStr) override; \
  NS_IMETHOD SetStr(const nsAString& aStr) override; \
  NS_IMETHOD GetPriority(nsMsgPriorityValue *aPriority) override; \
  NS_IMETHOD SetPriority(nsMsgPriorityValue aPriority) override; \
  NS_IMETHOD GetDate(PRTime *aDate) override; \
  NS_IMETHOD SetDate(PRTime aDate) override; \
  NS_IMETHOD GetStatus(uint32_t *aStatus) override; \
  NS_IMETHOD SetStatus(uint32_t aStatus) override; \
  NS_IMETHOD GetSize(uint32_t *aSize) override; \
  NS_IMETHOD SetSize(uint32_t aSize) override; \
  NS_IMETHOD GetMsgKey(nsMsgKey *aMsgKey) override; \
  NS_IMETHOD SetMsgKey(nsMsgKey aMsgKey) override; \
  NS_IMETHOD GetAge(int32_t *aAge) override; \
  NS_IMETHOD SetAge(int32_t aAge) override; \
  NS_IMETHOD GetFolder(nsIMsgFolder **aFolder) override; \
  NS_IMETHOD SetFolder(nsIMsgFolder *aFolder) override; \
  NS_IMETHOD GetLabel(nsMsgLabelValue *aLabel) override; \
  NS_IMETHOD SetLabel(nsMsgLabelValue aLabel) override; \
  NS_IMETHOD GetJunkStatus(nsMsgJunkStatus *aJunkStatus) override; \
  NS_IMETHOD SetJunkStatus(nsMsgJunkStatus aJunkStatus) override; \
  NS_IMETHOD GetJunkPercent(uint32_t *aJunkPercent) override; \
  NS_IMETHOD SetJunkPercent(uint32_t aJunkPercent) override; \
  NS_IMETHOD ToString(nsAString& _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_NSIMSGSEARCHVALUE \
  nsresult GetAttrib(nsMsgSearchAttribValue *aAttrib); \
  nsresult SetAttrib(nsMsgSearchAttribValue aAttrib); \
  nsresult GetStr(nsAString& aStr); \
  nsresult SetStr(const nsAString& aStr); \
  nsresult GetPriority(nsMsgPriorityValue *aPriority); \
  nsresult SetPriority(nsMsgPriorityValue aPriority); \
  nsresult GetDate(PRTime *aDate); \
  nsresult SetDate(PRTime aDate); \
  nsresult GetStatus(uint32_t *aStatus); \
  nsresult SetStatus(uint32_t aStatus); \
  nsresult GetSize(uint32_t *aSize); \
  nsresult SetSize(uint32_t aSize); \
  nsresult GetMsgKey(nsMsgKey *aMsgKey); \
  nsresult SetMsgKey(nsMsgKey aMsgKey); \
  nsresult GetAge(int32_t *aAge); \
  nsresult SetAge(int32_t aAge); \
  nsresult GetFolder(nsIMsgFolder **aFolder); \
  nsresult SetFolder(nsIMsgFolder *aFolder); \
  nsresult GetLabel(nsMsgLabelValue *aLabel); \
  nsresult SetLabel(nsMsgLabelValue aLabel); \
  nsresult GetJunkStatus(nsMsgJunkStatus *aJunkStatus); \
  nsresult SetJunkStatus(nsMsgJunkStatus aJunkStatus); \
  nsresult GetJunkPercent(uint32_t *aJunkPercent); \
  nsresult SetJunkPercent(uint32_t aJunkPercent); \
  nsresult ToString(nsAString& _retval); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIMSGSEARCHVALUE(_to) \
  NS_IMETHOD GetAttrib(nsMsgSearchAttribValue *aAttrib) override { return _to GetAttrib(aAttrib); } \
  NS_IMETHOD SetAttrib(nsMsgSearchAttribValue aAttrib) override { return _to SetAttrib(aAttrib); } \
  NS_IMETHOD GetStr(nsAString& aStr) override { return _to GetStr(aStr); } \
  NS_IMETHOD SetStr(const nsAString& aStr) override { return _to SetStr(aStr); } \
  NS_IMETHOD GetPriority(nsMsgPriorityValue *aPriority) override { return _to GetPriority(aPriority); } \
  NS_IMETHOD SetPriority(nsMsgPriorityValue aPriority) override { return _to SetPriority(aPriority); } \
  NS_IMETHOD GetDate(PRTime *aDate) override { return _to GetDate(aDate); } \
  NS_IMETHOD SetDate(PRTime aDate) override { return _to SetDate(aDate); } \
  NS_IMETHOD GetStatus(uint32_t *aStatus) override { return _to GetStatus(aStatus); } \
  NS_IMETHOD SetStatus(uint32_t aStatus) override { return _to SetStatus(aStatus); } \
  NS_IMETHOD GetSize(uint32_t *aSize) override { return _to GetSize(aSize); } \
  NS_IMETHOD SetSize(uint32_t aSize) override { return _to SetSize(aSize); } \
  NS_IMETHOD GetMsgKey(nsMsgKey *aMsgKey) override { return _to GetMsgKey(aMsgKey); } \
  NS_IMETHOD SetMsgKey(nsMsgKey aMsgKey) override { return _to SetMsgKey(aMsgKey); } \
  NS_IMETHOD GetAge(int32_t *aAge) override { return _to GetAge(aAge); } \
  NS_IMETHOD SetAge(int32_t aAge) override { return _to SetAge(aAge); } \
  NS_IMETHOD GetFolder(nsIMsgFolder **aFolder) override { return _to GetFolder(aFolder); } \
  NS_IMETHOD SetFolder(nsIMsgFolder *aFolder) override { return _to SetFolder(aFolder); } \
  NS_IMETHOD GetLabel(nsMsgLabelValue *aLabel) override { return _to GetLabel(aLabel); } \
  NS_IMETHOD SetLabel(nsMsgLabelValue aLabel) override { return _to SetLabel(aLabel); } \
  NS_IMETHOD GetJunkStatus(nsMsgJunkStatus *aJunkStatus) override { return _to GetJunkStatus(aJunkStatus); } \
  NS_IMETHOD SetJunkStatus(nsMsgJunkStatus aJunkStatus) override { return _to SetJunkStatus(aJunkStatus); } \
  NS_IMETHOD GetJunkPercent(uint32_t *aJunkPercent) override { return _to GetJunkPercent(aJunkPercent); } \
  NS_IMETHOD SetJunkPercent(uint32_t aJunkPercent) override { return _to SetJunkPercent(aJunkPercent); } \
  NS_IMETHOD ToString(nsAString& _retval) override { return _to ToString(_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_NSIMSGSEARCHVALUE(_to) \
  NS_IMETHOD GetAttrib(nsMsgSearchAttribValue *aAttrib) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAttrib(aAttrib); } \
  NS_IMETHOD SetAttrib(nsMsgSearchAttribValue aAttrib) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetAttrib(aAttrib); } \
  NS_IMETHOD GetStr(nsAString& aStr) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetStr(aStr); } \
  NS_IMETHOD SetStr(const nsAString& aStr) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetStr(aStr); } \
  NS_IMETHOD GetPriority(nsMsgPriorityValue *aPriority) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetPriority(aPriority); } \
  NS_IMETHOD SetPriority(nsMsgPriorityValue aPriority) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetPriority(aPriority); } \
  NS_IMETHOD GetDate(PRTime *aDate) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDate(aDate); } \
  NS_IMETHOD SetDate(PRTime aDate) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetDate(aDate); } \
  NS_IMETHOD GetStatus(uint32_t *aStatus) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetStatus(aStatus); } \
  NS_IMETHOD SetStatus(uint32_t aStatus) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetStatus(aStatus); } \
  NS_IMETHOD GetSize(uint32_t *aSize) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSize(aSize); } \
  NS_IMETHOD SetSize(uint32_t aSize) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetSize(aSize); } \
  NS_IMETHOD GetMsgKey(nsMsgKey *aMsgKey) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetMsgKey(aMsgKey); } \
  NS_IMETHOD SetMsgKey(nsMsgKey aMsgKey) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetMsgKey(aMsgKey); } \
  NS_IMETHOD GetAge(int32_t *aAge) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAge(aAge); } \
  NS_IMETHOD SetAge(int32_t aAge) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetAge(aAge); } \
  NS_IMETHOD GetFolder(nsIMsgFolder **aFolder) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetFolder(aFolder); } \
  NS_IMETHOD SetFolder(nsIMsgFolder *aFolder) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetFolder(aFolder); } \
  NS_IMETHOD GetLabel(nsMsgLabelValue *aLabel) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLabel(aLabel); } \
  NS_IMETHOD SetLabel(nsMsgLabelValue aLabel) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetLabel(aLabel); } \
  NS_IMETHOD GetJunkStatus(nsMsgJunkStatus *aJunkStatus) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetJunkStatus(aJunkStatus); } \
  NS_IMETHOD SetJunkStatus(nsMsgJunkStatus aJunkStatus) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetJunkStatus(aJunkStatus); } \
  NS_IMETHOD GetJunkPercent(uint32_t *aJunkPercent) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetJunkPercent(aJunkPercent); } \
  NS_IMETHOD SetJunkPercent(uint32_t aJunkPercent) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetJunkPercent(aJunkPercent); } \
  NS_IMETHOD ToString(nsAString& _retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->ToString(_retval); } 


#endif /* __gen_nsIMsgSearchValue_h__ */