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
/*
 * DO NOT EDIT.  THIS FILE IS GENERATED FROM /home/jenkins/src/releases/comm-beta/calendar/base/public/calIItipItem.idl
 */

#ifndef __gen_calIItipItem_h__
#define __gen_calIItipItem_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 calIItemBase; /* forward declaration */

class calICalendar; /* forward declaration */

class nsISimpleEnumerator; /* forward declaration */


/* starting interface:    calIItipItem */
#define CALIITIPITEM_IID_STR "7539c158-c30d-41d0-90e9-41d315ac3eb1"

#define CALIITIPITEM_IID \
  {0x7539c158, 0xc30d, 0x41d0, \
    { 0x90, 0xe9, 0x41, 0xd3, 0x15, 0xac, 0x3e, 0xb1 }}

class NS_NO_VTABLE calIItipItem : public nsISupports {
 public:

  NS_DECLARE_STATIC_IID_ACCESSOR(CALIITIPITEM_IID)

  /* void init (in AUTF8String icalData); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD Init(const nsACString& icalData) = 0;

  /* calIItipItem clone (); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD Clone(calIItipItem **_retval) = 0;

  /* attribute boolean isSend; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetIsSend(bool *aIsSend) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetIsSend(bool aIsSend) = 0;

  /* attribute AUTF8String sender; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetSender(nsACString& aSender) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetSender(const nsACString& aSender) = 0;

  /* attribute AUTF8String receivedMethod; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetReceivedMethod(nsACString& aReceivedMethod) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetReceivedMethod(const nsACString& aReceivedMethod) = 0;

  /* attribute AUTF8String responseMethod; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetResponseMethod(nsACString& aResponseMethod) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetResponseMethod(const nsACString& aResponseMethod) = 0;

  /* attribute unsigned long autoResponse; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetAutoResponse(uint32_t *aAutoResponse) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetAutoResponse(uint32_t aAutoResponse) = 0;

  enum {
    AUTO = 0U,
    USER = 1U,
    NONE = 2U
  };

  /* attribute calICalendar targetCalendar; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetTargetCalendar(calICalendar **aTargetCalendar) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetTargetCalendar(calICalendar *aTargetCalendar) = 0;

  /* attribute AUTF8String identity; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetIdentity(nsACString& aIdentity) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetIdentity(const nsACString& aIdentity) = 0;

  /* attribute AUTF8String localStatus; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetLocalStatus(nsACString& aLocalStatus) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetLocalStatus(const nsACString& aLocalStatus) = 0;

  /* void getItemList (out unsigned long itemCount, [array, size_is (itemCount), retval] out calIItemBase items); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetItemList(uint32_t *itemCount, calIItemBase ***items) = 0;

  /* void setAttendeeStatus (in AString attendeeId, in AString status); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetAttendeeStatus(const nsAString& attendeeId, const nsAString& status) = 0;

};

  NS_DEFINE_STATIC_IID_ACCESSOR(calIItipItem, CALIITIPITEM_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_CALIITIPITEM \
  NS_IMETHOD Init(const nsACString& icalData) override; \
  NS_IMETHOD Clone(calIItipItem **_retval) override; \
  NS_IMETHOD GetIsSend(bool *aIsSend) override; \
  NS_IMETHOD SetIsSend(bool aIsSend) override; \
  NS_IMETHOD GetSender(nsACString& aSender) override; \
  NS_IMETHOD SetSender(const nsACString& aSender) override; \
  NS_IMETHOD GetReceivedMethod(nsACString& aReceivedMethod) override; \
  NS_IMETHOD SetReceivedMethod(const nsACString& aReceivedMethod) override; \
  NS_IMETHOD GetResponseMethod(nsACString& aResponseMethod) override; \
  NS_IMETHOD SetResponseMethod(const nsACString& aResponseMethod) override; \
  NS_IMETHOD GetAutoResponse(uint32_t *aAutoResponse) override; \
  NS_IMETHOD SetAutoResponse(uint32_t aAutoResponse) override; \
  NS_IMETHOD GetTargetCalendar(calICalendar **aTargetCalendar) override; \
  NS_IMETHOD SetTargetCalendar(calICalendar *aTargetCalendar) override; \
  NS_IMETHOD GetIdentity(nsACString& aIdentity) override; \
  NS_IMETHOD SetIdentity(const nsACString& aIdentity) override; \
  NS_IMETHOD GetLocalStatus(nsACString& aLocalStatus) override; \
  NS_IMETHOD SetLocalStatus(const nsACString& aLocalStatus) override; \
  NS_IMETHOD GetItemList(uint32_t *itemCount, calIItemBase ***items) override; \
  NS_IMETHOD SetAttendeeStatus(const nsAString& attendeeId, const nsAString& status) 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_CALIITIPITEM \
  nsresult Init(const nsACString& icalData); \
  nsresult Clone(calIItipItem **_retval); \
  nsresult GetIsSend(bool *aIsSend); \
  nsresult SetIsSend(bool aIsSend); \
  nsresult GetSender(nsACString& aSender); \
  nsresult SetSender(const nsACString& aSender); \
  nsresult GetReceivedMethod(nsACString& aReceivedMethod); \
  nsresult SetReceivedMethod(const nsACString& aReceivedMethod); \
  nsresult GetResponseMethod(nsACString& aResponseMethod); \
  nsresult SetResponseMethod(const nsACString& aResponseMethod); \
  nsresult GetAutoResponse(uint32_t *aAutoResponse); \
  nsresult SetAutoResponse(uint32_t aAutoResponse); \
  nsresult GetTargetCalendar(calICalendar **aTargetCalendar); \
  nsresult SetTargetCalendar(calICalendar *aTargetCalendar); \
  nsresult GetIdentity(nsACString& aIdentity); \
  nsresult SetIdentity(const nsACString& aIdentity); \
  nsresult GetLocalStatus(nsACString& aLocalStatus); \
  nsresult SetLocalStatus(const nsACString& aLocalStatus); \
  nsresult GetItemList(uint32_t *itemCount, calIItemBase ***items); \
  nsresult SetAttendeeStatus(const nsAString& attendeeId, const nsAString& status); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_CALIITIPITEM(_to) \
  NS_IMETHOD Init(const nsACString& icalData) override { return _to Init(icalData); } \
  NS_IMETHOD Clone(calIItipItem **_retval) override { return _to Clone(_retval); } \
  NS_IMETHOD GetIsSend(bool *aIsSend) override { return _to GetIsSend(aIsSend); } \
  NS_IMETHOD SetIsSend(bool aIsSend) override { return _to SetIsSend(aIsSend); } \
  NS_IMETHOD GetSender(nsACString& aSender) override { return _to GetSender(aSender); } \
  NS_IMETHOD SetSender(const nsACString& aSender) override { return _to SetSender(aSender); } \
  NS_IMETHOD GetReceivedMethod(nsACString& aReceivedMethod) override { return _to GetReceivedMethod(aReceivedMethod); } \
  NS_IMETHOD SetReceivedMethod(const nsACString& aReceivedMethod) override { return _to SetReceivedMethod(aReceivedMethod); } \
  NS_IMETHOD GetResponseMethod(nsACString& aResponseMethod) override { return _to GetResponseMethod(aResponseMethod); } \
  NS_IMETHOD SetResponseMethod(const nsACString& aResponseMethod) override { return _to SetResponseMethod(aResponseMethod); } \
  NS_IMETHOD GetAutoResponse(uint32_t *aAutoResponse) override { return _to GetAutoResponse(aAutoResponse); } \
  NS_IMETHOD SetAutoResponse(uint32_t aAutoResponse) override { return _to SetAutoResponse(aAutoResponse); } \
  NS_IMETHOD GetTargetCalendar(calICalendar **aTargetCalendar) override { return _to GetTargetCalendar(aTargetCalendar); } \
  NS_IMETHOD SetTargetCalendar(calICalendar *aTargetCalendar) override { return _to SetTargetCalendar(aTargetCalendar); } \
  NS_IMETHOD GetIdentity(nsACString& aIdentity) override { return _to GetIdentity(aIdentity); } \
  NS_IMETHOD SetIdentity(const nsACString& aIdentity) override { return _to SetIdentity(aIdentity); } \
  NS_IMETHOD GetLocalStatus(nsACString& aLocalStatus) override { return _to GetLocalStatus(aLocalStatus); } \
  NS_IMETHOD SetLocalStatus(const nsACString& aLocalStatus) override { return _to SetLocalStatus(aLocalStatus); } \
  NS_IMETHOD GetItemList(uint32_t *itemCount, calIItemBase ***items) override { return _to GetItemList(itemCount, items); } \
  NS_IMETHOD SetAttendeeStatus(const nsAString& attendeeId, const nsAString& status) override { return _to SetAttendeeStatus(attendeeId, status); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_CALIITIPITEM(_to) \
  NS_IMETHOD Init(const nsACString& icalData) override { return !_to ? NS_ERROR_NULL_POINTER : _to->Init(icalData); } \
  NS_IMETHOD Clone(calIItipItem **_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->Clone(_retval); } \
  NS_IMETHOD GetIsSend(bool *aIsSend) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetIsSend(aIsSend); } \
  NS_IMETHOD SetIsSend(bool aIsSend) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetIsSend(aIsSend); } \
  NS_IMETHOD GetSender(nsACString& aSender) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSender(aSender); } \
  NS_IMETHOD SetSender(const nsACString& aSender) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetSender(aSender); } \
  NS_IMETHOD GetReceivedMethod(nsACString& aReceivedMethod) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetReceivedMethod(aReceivedMethod); } \
  NS_IMETHOD SetReceivedMethod(const nsACString& aReceivedMethod) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetReceivedMethod(aReceivedMethod); } \
  NS_IMETHOD GetResponseMethod(nsACString& aResponseMethod) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetResponseMethod(aResponseMethod); } \
  NS_IMETHOD SetResponseMethod(const nsACString& aResponseMethod) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetResponseMethod(aResponseMethod); } \
  NS_IMETHOD GetAutoResponse(uint32_t *aAutoResponse) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAutoResponse(aAutoResponse); } \
  NS_IMETHOD SetAutoResponse(uint32_t aAutoResponse) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetAutoResponse(aAutoResponse); } \
  NS_IMETHOD GetTargetCalendar(calICalendar **aTargetCalendar) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetTargetCalendar(aTargetCalendar); } \
  NS_IMETHOD SetTargetCalendar(calICalendar *aTargetCalendar) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetTargetCalendar(aTargetCalendar); } \
  NS_IMETHOD GetIdentity(nsACString& aIdentity) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetIdentity(aIdentity); } \
  NS_IMETHOD SetIdentity(const nsACString& aIdentity) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetIdentity(aIdentity); } \
  NS_IMETHOD GetLocalStatus(nsACString& aLocalStatus) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLocalStatus(aLocalStatus); } \
  NS_IMETHOD SetLocalStatus(const nsACString& aLocalStatus) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetLocalStatus(aLocalStatus); } \
  NS_IMETHOD GetItemList(uint32_t *itemCount, calIItemBase ***items) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetItemList(itemCount, items); } \
  NS_IMETHOD SetAttendeeStatus(const nsAString& attendeeId, const nsAString& status) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetAttendeeStatus(attendeeId, status); } 


#endif /* __gen_calIItipItem_h__ */