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 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433
/*
 * DO NOT EDIT.  THIS FILE IS GENERATED FROM ../../../dist/idl/calICalendarACLManager.idl
 */

#ifndef __gen_calICalendarACLManager_h__
#define __gen_calICalendarACLManager_h__


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

/* For IDL files that don't want to include root IDL files. */
#ifndef NS_NO_VTABLE
#define NS_NO_VTABLE
#endif
class nsIMsgIdentity; /* forward declaration */

class nsIURI; /* forward declaration */

class calICalendar; /* forward declaration */

class calIItemBase; /* forward declaration */

class calIOperationListener; /* forward declaration */

class calIItemACLEntry; /* forward declaration */


/* starting interface:    calICalendarACLManager */
#define CALICALENDARACLMANAGER_IID_STR "a64bd8a0-e9f0-4f64-928a-1c98861e4703"

#define CALICALENDARACLMANAGER_IID \
  {0xa64bd8a0, 0xe9f0, 0x4f64, \
    { 0x92, 0x8a, 0x1c, 0x98, 0x86, 0x1e, 0x47, 0x03 }}

class NS_NO_VTABLE calICalendarACLManager : public nsISupports {
 public:

  NS_DECLARE_STATIC_IID_ACCESSOR(CALICALENDARACLMANAGER_IID)

  /* void getCalendarEntry (in calICalendar aCalendar, in calIOperationListener aListener); */
  NS_IMETHOD GetCalendarEntry(calICalendar *aCalendar, calIOperationListener *aListener) = 0;

  /* calIItemACLEntry getItemEntry (in calIItemBase aItem); */
  NS_IMETHOD GetItemEntry(calIItemBase *aItem, calIItemACLEntry * *_retval) = 0;

};

  NS_DEFINE_STATIC_IID_ACCESSOR(calICalendarACLManager, CALICALENDARACLMANAGER_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_CALICALENDARACLMANAGER \
  NS_IMETHOD GetCalendarEntry(calICalendar *aCalendar, calIOperationListener *aListener) override; \
  NS_IMETHOD GetItemEntry(calIItemBase *aItem, calIItemACLEntry * *_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_CALICALENDARACLMANAGER \
  nsresult GetCalendarEntry(calICalendar *aCalendar, calIOperationListener *aListener); \
  nsresult GetItemEntry(calIItemBase *aItem, calIItemACLEntry * *_retval); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_CALICALENDARACLMANAGER(_to) \
  NS_IMETHOD GetCalendarEntry(calICalendar *aCalendar, calIOperationListener *aListener) override { return _to GetCalendarEntry(aCalendar, aListener); } \
  NS_IMETHOD GetItemEntry(calIItemBase *aItem, calIItemACLEntry * *_retval) override { return _to GetItemEntry(aItem, _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_CALICALENDARACLMANAGER(_to) \
  NS_IMETHOD GetCalendarEntry(calICalendar *aCalendar, calIOperationListener *aListener) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCalendarEntry(aCalendar, aListener); } \
  NS_IMETHOD GetItemEntry(calIItemBase *aItem, calIItemACLEntry * *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetItemEntry(aItem, _retval); } 

#if 0
/* Use the code below as a template for the implementation class for this interface. */

/* Header file */
class _MYCLASS_ : public calICalendarACLManager
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_CALICALENDARACLMANAGER

  _MYCLASS_();

private:
  ~_MYCLASS_();

protected:
  /* additional members */
};

/* Implementation file */
NS_IMPL_ISUPPORTS(_MYCLASS_, calICalendarACLManager)

_MYCLASS_::_MYCLASS_()
{
  /* member initializers and constructor code */
}

_MYCLASS_::~_MYCLASS_()
{
  /* destructor code */
}

/* void getCalendarEntry (in calICalendar aCalendar, in calIOperationListener aListener); */
NS_IMETHODIMP _MYCLASS_::GetCalendarEntry(calICalendar *aCalendar, calIOperationListener *aListener)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* calIItemACLEntry getItemEntry (in calIItemBase aItem); */
NS_IMETHODIMP _MYCLASS_::GetItemEntry(calIItemBase *aItem, calIItemACLEntry * *_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* End of implementation class template. */
#endif


/* starting interface:    calICalendarACLEntry */
#define CALICALENDARACLENTRY_IID_STR "f3da7954-52a4-45a9-bd7d-96c518133d0c"

#define CALICALENDARACLENTRY_IID \
  {0xf3da7954, 0x52a4, 0x45a9, \
    { 0xbd, 0x7d, 0x96, 0xc5, 0x18, 0x13, 0x3d, 0x0c }}

class NS_NO_VTABLE calICalendarACLEntry : public nsISupports {
 public:

  NS_DECLARE_STATIC_IID_ACCESSOR(CALICALENDARACLENTRY_IID)

  /* readonly attribute calICalendarACLManager aclManager; */
  NS_IMETHOD GetAclManager(calICalendarACLManager * *aAclManager) = 0;

  /* readonly attribute boolean hasAccessControl; */
  NS_IMETHOD GetHasAccessControl(bool *aHasAccessControl) = 0;

  /* readonly attribute boolean userIsOwner; */
  NS_IMETHOD GetUserIsOwner(bool *aUserIsOwner) = 0;

  /* readonly attribute boolean userCanAddItems; */
  NS_IMETHOD GetUserCanAddItems(bool *aUserCanAddItems) = 0;

  /* readonly attribute boolean userCanDeleteItems; */
  NS_IMETHOD GetUserCanDeleteItems(bool *aUserCanDeleteItems) = 0;

  /* void getUserAddresses (out uint32_t aCount, [array, size_is (aCount), retval] out wstring aAddresses); */
  NS_IMETHOD GetUserAddresses(uint32_t *aCount, char16_t * **aAddresses) = 0;

  /* void getUserIdentities (out uint32_t aCount, [array, size_is (aCount), retval] out nsIMsgIdentity aIdentities); */
  NS_IMETHOD GetUserIdentities(uint32_t *aCount, nsIMsgIdentity * **aIdentities) = 0;

  /* void getOwnerIdentities (out uint32_t aCount, [array, size_is (aCount), retval] out nsIMsgIdentity aIdentities); */
  NS_IMETHOD GetOwnerIdentities(uint32_t *aCount, nsIMsgIdentity * **aIdentities) = 0;

  /* void refresh (); */
  NS_IMETHOD Refresh(void) = 0;

};

  NS_DEFINE_STATIC_IID_ACCESSOR(calICalendarACLEntry, CALICALENDARACLENTRY_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_CALICALENDARACLENTRY \
  NS_IMETHOD GetAclManager(calICalendarACLManager * *aAclManager) override; \
  NS_IMETHOD GetHasAccessControl(bool *aHasAccessControl) override; \
  NS_IMETHOD GetUserIsOwner(bool *aUserIsOwner) override; \
  NS_IMETHOD GetUserCanAddItems(bool *aUserCanAddItems) override; \
  NS_IMETHOD GetUserCanDeleteItems(bool *aUserCanDeleteItems) override; \
  NS_IMETHOD GetUserAddresses(uint32_t *aCount, char16_t * **aAddresses) override; \
  NS_IMETHOD GetUserIdentities(uint32_t *aCount, nsIMsgIdentity * **aIdentities) override; \
  NS_IMETHOD GetOwnerIdentities(uint32_t *aCount, nsIMsgIdentity * **aIdentities) override; \
  NS_IMETHOD Refresh(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_CALICALENDARACLENTRY \
  nsresult GetAclManager(calICalendarACLManager * *aAclManager); \
  nsresult GetHasAccessControl(bool *aHasAccessControl); \
  nsresult GetUserIsOwner(bool *aUserIsOwner); \
  nsresult GetUserCanAddItems(bool *aUserCanAddItems); \
  nsresult GetUserCanDeleteItems(bool *aUserCanDeleteItems); \
  nsresult GetUserAddresses(uint32_t *aCount, char16_t * **aAddresses); \
  nsresult GetUserIdentities(uint32_t *aCount, nsIMsgIdentity * **aIdentities); \
  nsresult GetOwnerIdentities(uint32_t *aCount, nsIMsgIdentity * **aIdentities); \
  nsresult Refresh(void); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_CALICALENDARACLENTRY(_to) \
  NS_IMETHOD GetAclManager(calICalendarACLManager * *aAclManager) override { return _to GetAclManager(aAclManager); } \
  NS_IMETHOD GetHasAccessControl(bool *aHasAccessControl) override { return _to GetHasAccessControl(aHasAccessControl); } \
  NS_IMETHOD GetUserIsOwner(bool *aUserIsOwner) override { return _to GetUserIsOwner(aUserIsOwner); } \
  NS_IMETHOD GetUserCanAddItems(bool *aUserCanAddItems) override { return _to GetUserCanAddItems(aUserCanAddItems); } \
  NS_IMETHOD GetUserCanDeleteItems(bool *aUserCanDeleteItems) override { return _to GetUserCanDeleteItems(aUserCanDeleteItems); } \
  NS_IMETHOD GetUserAddresses(uint32_t *aCount, char16_t * **aAddresses) override { return _to GetUserAddresses(aCount, aAddresses); } \
  NS_IMETHOD GetUserIdentities(uint32_t *aCount, nsIMsgIdentity * **aIdentities) override { return _to GetUserIdentities(aCount, aIdentities); } \
  NS_IMETHOD GetOwnerIdentities(uint32_t *aCount, nsIMsgIdentity * **aIdentities) override { return _to GetOwnerIdentities(aCount, aIdentities); } \
  NS_IMETHOD Refresh(void) override { return _to Refresh(); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_CALICALENDARACLENTRY(_to) \
  NS_IMETHOD GetAclManager(calICalendarACLManager * *aAclManager) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAclManager(aAclManager); } \
  NS_IMETHOD GetHasAccessControl(bool *aHasAccessControl) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetHasAccessControl(aHasAccessControl); } \
  NS_IMETHOD GetUserIsOwner(bool *aUserIsOwner) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetUserIsOwner(aUserIsOwner); } \
  NS_IMETHOD GetUserCanAddItems(bool *aUserCanAddItems) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetUserCanAddItems(aUserCanAddItems); } \
  NS_IMETHOD GetUserCanDeleteItems(bool *aUserCanDeleteItems) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetUserCanDeleteItems(aUserCanDeleteItems); } \
  NS_IMETHOD GetUserAddresses(uint32_t *aCount, char16_t * **aAddresses) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetUserAddresses(aCount, aAddresses); } \
  NS_IMETHOD GetUserIdentities(uint32_t *aCount, nsIMsgIdentity * **aIdentities) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetUserIdentities(aCount, aIdentities); } \
  NS_IMETHOD GetOwnerIdentities(uint32_t *aCount, nsIMsgIdentity * **aIdentities) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetOwnerIdentities(aCount, aIdentities); } \
  NS_IMETHOD Refresh(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->Refresh(); } 

#if 0
/* Use the code below as a template for the implementation class for this interface. */

/* Header file */
class _MYCLASS_ : public calICalendarACLEntry
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_CALICALENDARACLENTRY

  _MYCLASS_();

private:
  ~_MYCLASS_();

protected:
  /* additional members */
};

/* Implementation file */
NS_IMPL_ISUPPORTS(_MYCLASS_, calICalendarACLEntry)

_MYCLASS_::_MYCLASS_()
{
  /* member initializers and constructor code */
}

_MYCLASS_::~_MYCLASS_()
{
  /* destructor code */
}

/* readonly attribute calICalendarACLManager aclManager; */
NS_IMETHODIMP _MYCLASS_::GetAclManager(calICalendarACLManager * *aAclManager)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute boolean hasAccessControl; */
NS_IMETHODIMP _MYCLASS_::GetHasAccessControl(bool *aHasAccessControl)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute boolean userIsOwner; */
NS_IMETHODIMP _MYCLASS_::GetUserIsOwner(bool *aUserIsOwner)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute boolean userCanAddItems; */
NS_IMETHODIMP _MYCLASS_::GetUserCanAddItems(bool *aUserCanAddItems)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute boolean userCanDeleteItems; */
NS_IMETHODIMP _MYCLASS_::GetUserCanDeleteItems(bool *aUserCanDeleteItems)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void getUserAddresses (out uint32_t aCount, [array, size_is (aCount), retval] out wstring aAddresses); */
NS_IMETHODIMP _MYCLASS_::GetUserAddresses(uint32_t *aCount, char16_t * **aAddresses)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void getUserIdentities (out uint32_t aCount, [array, size_is (aCount), retval] out nsIMsgIdentity aIdentities); */
NS_IMETHODIMP _MYCLASS_::GetUserIdentities(uint32_t *aCount, nsIMsgIdentity * **aIdentities)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void getOwnerIdentities (out uint32_t aCount, [array, size_is (aCount), retval] out nsIMsgIdentity aIdentities); */
NS_IMETHODIMP _MYCLASS_::GetOwnerIdentities(uint32_t *aCount, nsIMsgIdentity * **aIdentities)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void refresh (); */
NS_IMETHODIMP _MYCLASS_::Refresh()
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* End of implementation class template. */
#endif


/* starting interface:    calIItemACLEntry */
#define CALIITEMACLENTRY_IID_STR "4d0b7ced-8c57-4efa-87e7-8dd5b7481312"

#define CALIITEMACLENTRY_IID \
  {0x4d0b7ced, 0x8c57, 0x4efa, \
    { 0x87, 0xe7, 0x8d, 0xd5, 0xb7, 0x48, 0x13, 0x12 }}

class NS_NO_VTABLE calIItemACLEntry : public nsISupports {
 public:

  NS_DECLARE_STATIC_IID_ACCESSOR(CALIITEMACLENTRY_IID)

  /* readonly attribute calICalendarACLEntry calendarEntry; */
  NS_IMETHOD GetCalendarEntry(calICalendarACLEntry * *aCalendarEntry) = 0;

  /* readonly attribute boolean userCanModify; */
  NS_IMETHOD GetUserCanModify(bool *aUserCanModify) = 0;

  /* readonly attribute boolean userCanRespond; */
  NS_IMETHOD GetUserCanRespond(bool *aUserCanRespond) = 0;

  /* readonly attribute boolean userCanViewAll; */
  NS_IMETHOD GetUserCanViewAll(bool *aUserCanViewAll) = 0;

  /* readonly attribute boolean userCanViewDateAndTime; */
  NS_IMETHOD GetUserCanViewDateAndTime(bool *aUserCanViewDateAndTime) = 0;

};

  NS_DEFINE_STATIC_IID_ACCESSOR(calIItemACLEntry, CALIITEMACLENTRY_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_CALIITEMACLENTRY \
  NS_IMETHOD GetCalendarEntry(calICalendarACLEntry * *aCalendarEntry) override; \
  NS_IMETHOD GetUserCanModify(bool *aUserCanModify) override; \
  NS_IMETHOD GetUserCanRespond(bool *aUserCanRespond) override; \
  NS_IMETHOD GetUserCanViewAll(bool *aUserCanViewAll) override; \
  NS_IMETHOD GetUserCanViewDateAndTime(bool *aUserCanViewDateAndTime) 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_CALIITEMACLENTRY \
  nsresult GetCalendarEntry(calICalendarACLEntry * *aCalendarEntry); \
  nsresult GetUserCanModify(bool *aUserCanModify); \
  nsresult GetUserCanRespond(bool *aUserCanRespond); \
  nsresult GetUserCanViewAll(bool *aUserCanViewAll); \
  nsresult GetUserCanViewDateAndTime(bool *aUserCanViewDateAndTime); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_CALIITEMACLENTRY(_to) \
  NS_IMETHOD GetCalendarEntry(calICalendarACLEntry * *aCalendarEntry) override { return _to GetCalendarEntry(aCalendarEntry); } \
  NS_IMETHOD GetUserCanModify(bool *aUserCanModify) override { return _to GetUserCanModify(aUserCanModify); } \
  NS_IMETHOD GetUserCanRespond(bool *aUserCanRespond) override { return _to GetUserCanRespond(aUserCanRespond); } \
  NS_IMETHOD GetUserCanViewAll(bool *aUserCanViewAll) override { return _to GetUserCanViewAll(aUserCanViewAll); } \
  NS_IMETHOD GetUserCanViewDateAndTime(bool *aUserCanViewDateAndTime) override { return _to GetUserCanViewDateAndTime(aUserCanViewDateAndTime); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_CALIITEMACLENTRY(_to) \
  NS_IMETHOD GetCalendarEntry(calICalendarACLEntry * *aCalendarEntry) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCalendarEntry(aCalendarEntry); } \
  NS_IMETHOD GetUserCanModify(bool *aUserCanModify) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetUserCanModify(aUserCanModify); } \
  NS_IMETHOD GetUserCanRespond(bool *aUserCanRespond) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetUserCanRespond(aUserCanRespond); } \
  NS_IMETHOD GetUserCanViewAll(bool *aUserCanViewAll) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetUserCanViewAll(aUserCanViewAll); } \
  NS_IMETHOD GetUserCanViewDateAndTime(bool *aUserCanViewDateAndTime) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetUserCanViewDateAndTime(aUserCanViewDateAndTime); } 

#if 0
/* Use the code below as a template for the implementation class for this interface. */

/* Header file */
class _MYCLASS_ : public calIItemACLEntry
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_CALIITEMACLENTRY

  _MYCLASS_();

private:
  ~_MYCLASS_();

protected:
  /* additional members */
};

/* Implementation file */
NS_IMPL_ISUPPORTS(_MYCLASS_, calIItemACLEntry)

_MYCLASS_::_MYCLASS_()
{
  /* member initializers and constructor code */
}

_MYCLASS_::~_MYCLASS_()
{
  /* destructor code */
}

/* readonly attribute calICalendarACLEntry calendarEntry; */
NS_IMETHODIMP _MYCLASS_::GetCalendarEntry(calICalendarACLEntry * *aCalendarEntry)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute boolean userCanModify; */
NS_IMETHODIMP _MYCLASS_::GetUserCanModify(bool *aUserCanModify)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute boolean userCanRespond; */
NS_IMETHODIMP _MYCLASS_::GetUserCanRespond(bool *aUserCanRespond)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute boolean userCanViewAll; */
NS_IMETHODIMP _MYCLASS_::GetUserCanViewAll(bool *aUserCanViewAll)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute boolean userCanViewDateAndTime; */
NS_IMETHODIMP _MYCLASS_::GetUserCanViewDateAndTime(bool *aUserCanViewDateAndTime)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* End of implementation class template. */
#endif


#endif /* __gen_calICalendarACLManager_h__ */