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 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218
/*
 * DO NOT EDIT.  THIS FILE IS GENERATED FROM /home/jenkins/src/releases/comm-beta/calendar/base/public/calIAttendee.idl
 */

#ifndef __gen_calIAttendee_h__
#define __gen_calIAttendee_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 calIIcalProperty; /* forward declaration */

class nsISimpleEnumerator; /* forward declaration */


/* starting interface:    calIAttendee */
#define CALIATTENDEE_IID_STR "73a074ad-8812-4055-af75-14b509b8c5fe"

#define CALIATTENDEE_IID \
  {0x73a074ad, 0x8812, 0x4055, \
    { 0xaf, 0x75, 0x14, 0xb5, 0x09, 0xb8, 0xc5, 0xfe }}

class NS_NO_VTABLE calIAttendee : public nsISupports {
 public:

  NS_DECLARE_STATIC_IID_ACCESSOR(CALIATTENDEE_IID)

  /* readonly attribute boolean isMutable; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetIsMutable(bool *aIsMutable) = 0;

  /* void makeImmutable (); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD MakeImmutable(void) = 0;

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

  /* attribute AUTF8String id; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetId(nsACString& aId) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetId(const nsACString& aId) = 0;

  /* attribute AUTF8String commonName; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetCommonName(nsACString& aCommonName) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetCommonName(const nsACString& aCommonName) = 0;

  /* attribute AUTF8String rsvp; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetRsvp(nsACString& aRsvp) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetRsvp(const nsACString& aRsvp) = 0;

  /* attribute boolean isOrganizer; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetIsOrganizer(bool *aIsOrganizer) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetIsOrganizer(bool aIsOrganizer) = 0;

  /* attribute AUTF8String role; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetRole(nsACString& aRole) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetRole(const nsACString& aRole) = 0;

  /* attribute AUTF8String participationStatus; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetParticipationStatus(nsACString& aParticipationStatus) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetParticipationStatus(const nsACString& aParticipationStatus) = 0;

  /* attribute AUTF8String userType; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetUserType(nsACString& aUserType) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetUserType(const nsACString& aUserType) = 0;

  /* readonly attribute nsISimpleEnumerator propertyEnumerator; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetPropertyEnumerator(nsISimpleEnumerator **aPropertyEnumerator) = 0;

  /* AUTF8String getProperty (in AString name); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetProperty(const nsAString& name, nsACString& _retval) = 0;

  /* void setProperty (in AString name, in AUTF8String value); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetProperty(const nsAString& name, const nsACString& value) = 0;

  /* void deleteProperty (in AString name); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD DeleteProperty(const nsAString& name) = 0;

  /* attribute calIIcalProperty icalProperty; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetIcalProperty(calIIcalProperty **aIcalProperty) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetIcalProperty(calIIcalProperty *aIcalProperty) = 0;

  /* attribute AUTF8String icalString; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetIcalString(nsACString& aIcalString) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetIcalString(const nsACString& aIcalString) = 0;

  /* AUTF8String toString (); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD ToString(nsACString& _retval) = 0;

};

  NS_DEFINE_STATIC_IID_ACCESSOR(calIAttendee, CALIATTENDEE_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_CALIATTENDEE \
  NS_IMETHOD GetIsMutable(bool *aIsMutable) override; \
  NS_IMETHOD MakeImmutable(void) override; \
  NS_IMETHOD Clone(calIAttendee **_retval) override; \
  NS_IMETHOD GetId(nsACString& aId) override; \
  NS_IMETHOD SetId(const nsACString& aId) override; \
  NS_IMETHOD GetCommonName(nsACString& aCommonName) override; \
  NS_IMETHOD SetCommonName(const nsACString& aCommonName) override; \
  NS_IMETHOD GetRsvp(nsACString& aRsvp) override; \
  NS_IMETHOD SetRsvp(const nsACString& aRsvp) override; \
  NS_IMETHOD GetIsOrganizer(bool *aIsOrganizer) override; \
  NS_IMETHOD SetIsOrganizer(bool aIsOrganizer) override; \
  NS_IMETHOD GetRole(nsACString& aRole) override; \
  NS_IMETHOD SetRole(const nsACString& aRole) override; \
  NS_IMETHOD GetParticipationStatus(nsACString& aParticipationStatus) override; \
  NS_IMETHOD SetParticipationStatus(const nsACString& aParticipationStatus) override; \
  NS_IMETHOD GetUserType(nsACString& aUserType) override; \
  NS_IMETHOD SetUserType(const nsACString& aUserType) override; \
  NS_IMETHOD GetPropertyEnumerator(nsISimpleEnumerator **aPropertyEnumerator) override; \
  NS_IMETHOD GetProperty(const nsAString& name, nsACString& _retval) override; \
  NS_IMETHOD SetProperty(const nsAString& name, const nsACString& value) override; \
  NS_IMETHOD DeleteProperty(const nsAString& name) override; \
  NS_IMETHOD GetIcalProperty(calIIcalProperty **aIcalProperty) override; \
  NS_IMETHOD SetIcalProperty(calIIcalProperty *aIcalProperty) override; \
  NS_IMETHOD GetIcalString(nsACString& aIcalString) override; \
  NS_IMETHOD SetIcalString(const nsACString& aIcalString) override; \
  NS_IMETHOD ToString(nsACString& _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_CALIATTENDEE \
  nsresult GetIsMutable(bool *aIsMutable); \
  nsresult MakeImmutable(void); \
  nsresult Clone(calIAttendee **_retval); \
  nsresult GetId(nsACString& aId); \
  nsresult SetId(const nsACString& aId); \
  nsresult GetCommonName(nsACString& aCommonName); \
  nsresult SetCommonName(const nsACString& aCommonName); \
  nsresult GetRsvp(nsACString& aRsvp); \
  nsresult SetRsvp(const nsACString& aRsvp); \
  nsresult GetIsOrganizer(bool *aIsOrganizer); \
  nsresult SetIsOrganizer(bool aIsOrganizer); \
  nsresult GetRole(nsACString& aRole); \
  nsresult SetRole(const nsACString& aRole); \
  nsresult GetParticipationStatus(nsACString& aParticipationStatus); \
  nsresult SetParticipationStatus(const nsACString& aParticipationStatus); \
  nsresult GetUserType(nsACString& aUserType); \
  nsresult SetUserType(const nsACString& aUserType); \
  nsresult GetPropertyEnumerator(nsISimpleEnumerator **aPropertyEnumerator); \
  nsresult GetProperty(const nsAString& name, nsACString& _retval); \
  nsresult SetProperty(const nsAString& name, const nsACString& value); \
  nsresult DeleteProperty(const nsAString& name); \
  nsresult GetIcalProperty(calIIcalProperty **aIcalProperty); \
  nsresult SetIcalProperty(calIIcalProperty *aIcalProperty); \
  nsresult GetIcalString(nsACString& aIcalString); \
  nsresult SetIcalString(const nsACString& aIcalString); \
  nsresult ToString(nsACString& _retval); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_CALIATTENDEE(_to) \
  NS_IMETHOD GetIsMutable(bool *aIsMutable) override { return _to GetIsMutable(aIsMutable); } \
  NS_IMETHOD MakeImmutable(void) override { return _to MakeImmutable(); } \
  NS_IMETHOD Clone(calIAttendee **_retval) override { return _to Clone(_retval); } \
  NS_IMETHOD GetId(nsACString& aId) override { return _to GetId(aId); } \
  NS_IMETHOD SetId(const nsACString& aId) override { return _to SetId(aId); } \
  NS_IMETHOD GetCommonName(nsACString& aCommonName) override { return _to GetCommonName(aCommonName); } \
  NS_IMETHOD SetCommonName(const nsACString& aCommonName) override { return _to SetCommonName(aCommonName); } \
  NS_IMETHOD GetRsvp(nsACString& aRsvp) override { return _to GetRsvp(aRsvp); } \
  NS_IMETHOD SetRsvp(const nsACString& aRsvp) override { return _to SetRsvp(aRsvp); } \
  NS_IMETHOD GetIsOrganizer(bool *aIsOrganizer) override { return _to GetIsOrganizer(aIsOrganizer); } \
  NS_IMETHOD SetIsOrganizer(bool aIsOrganizer) override { return _to SetIsOrganizer(aIsOrganizer); } \
  NS_IMETHOD GetRole(nsACString& aRole) override { return _to GetRole(aRole); } \
  NS_IMETHOD SetRole(const nsACString& aRole) override { return _to SetRole(aRole); } \
  NS_IMETHOD GetParticipationStatus(nsACString& aParticipationStatus) override { return _to GetParticipationStatus(aParticipationStatus); } \
  NS_IMETHOD SetParticipationStatus(const nsACString& aParticipationStatus) override { return _to SetParticipationStatus(aParticipationStatus); } \
  NS_IMETHOD GetUserType(nsACString& aUserType) override { return _to GetUserType(aUserType); } \
  NS_IMETHOD SetUserType(const nsACString& aUserType) override { return _to SetUserType(aUserType); } \
  NS_IMETHOD GetPropertyEnumerator(nsISimpleEnumerator **aPropertyEnumerator) override { return _to GetPropertyEnumerator(aPropertyEnumerator); } \
  NS_IMETHOD GetProperty(const nsAString& name, nsACString& _retval) override { return _to GetProperty(name, _retval); } \
  NS_IMETHOD SetProperty(const nsAString& name, const nsACString& value) override { return _to SetProperty(name, value); } \
  NS_IMETHOD DeleteProperty(const nsAString& name) override { return _to DeleteProperty(name); } \
  NS_IMETHOD GetIcalProperty(calIIcalProperty **aIcalProperty) override { return _to GetIcalProperty(aIcalProperty); } \
  NS_IMETHOD SetIcalProperty(calIIcalProperty *aIcalProperty) override { return _to SetIcalProperty(aIcalProperty); } \
  NS_IMETHOD GetIcalString(nsACString& aIcalString) override { return _to GetIcalString(aIcalString); } \
  NS_IMETHOD SetIcalString(const nsACString& aIcalString) override { return _to SetIcalString(aIcalString); } \
  NS_IMETHOD ToString(nsACString& _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_CALIATTENDEE(_to) \
  NS_IMETHOD GetIsMutable(bool *aIsMutable) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetIsMutable(aIsMutable); } \
  NS_IMETHOD MakeImmutable(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->MakeImmutable(); } \
  NS_IMETHOD Clone(calIAttendee **_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->Clone(_retval); } \
  NS_IMETHOD GetId(nsACString& aId) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetId(aId); } \
  NS_IMETHOD SetId(const nsACString& aId) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetId(aId); } \
  NS_IMETHOD GetCommonName(nsACString& aCommonName) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCommonName(aCommonName); } \
  NS_IMETHOD SetCommonName(const nsACString& aCommonName) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetCommonName(aCommonName); } \
  NS_IMETHOD GetRsvp(nsACString& aRsvp) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetRsvp(aRsvp); } \
  NS_IMETHOD SetRsvp(const nsACString& aRsvp) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetRsvp(aRsvp); } \
  NS_IMETHOD GetIsOrganizer(bool *aIsOrganizer) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetIsOrganizer(aIsOrganizer); } \
  NS_IMETHOD SetIsOrganizer(bool aIsOrganizer) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetIsOrganizer(aIsOrganizer); } \
  NS_IMETHOD GetRole(nsACString& aRole) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetRole(aRole); } \
  NS_IMETHOD SetRole(const nsACString& aRole) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetRole(aRole); } \
  NS_IMETHOD GetParticipationStatus(nsACString& aParticipationStatus) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetParticipationStatus(aParticipationStatus); } \
  NS_IMETHOD SetParticipationStatus(const nsACString& aParticipationStatus) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetParticipationStatus(aParticipationStatus); } \
  NS_IMETHOD GetUserType(nsACString& aUserType) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetUserType(aUserType); } \
  NS_IMETHOD SetUserType(const nsACString& aUserType) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetUserType(aUserType); } \
  NS_IMETHOD GetPropertyEnumerator(nsISimpleEnumerator **aPropertyEnumerator) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetPropertyEnumerator(aPropertyEnumerator); } \
  NS_IMETHOD GetProperty(const nsAString& name, nsACString& _retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetProperty(name, _retval); } \
  NS_IMETHOD SetProperty(const nsAString& name, const nsACString& value) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetProperty(name, value); } \
  NS_IMETHOD DeleteProperty(const nsAString& name) override { return !_to ? NS_ERROR_NULL_POINTER : _to->DeleteProperty(name); } \
  NS_IMETHOD GetIcalProperty(calIIcalProperty **aIcalProperty) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetIcalProperty(aIcalProperty); } \
  NS_IMETHOD SetIcalProperty(calIIcalProperty *aIcalProperty) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetIcalProperty(aIcalProperty); } \
  NS_IMETHOD GetIcalString(nsACString& aIcalString) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetIcalString(aIcalString); } \
  NS_IMETHOD SetIcalString(const nsACString& aIcalString) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetIcalString(aIcalString); } \
  NS_IMETHOD ToString(nsACString& _retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->ToString(_retval); } 


#endif /* __gen_calIAttendee_h__ */