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

#ifndef __gen_calIWcapCalendar_h__
#define __gen_calIWcapCalendar_h__


#ifndef __gen_calICalendar_h__
#include "calICalendar.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 calIDateTime; /* forward declaration */

class calIWcapSession; /* forward declaration */


/* starting interface:    calIWcapCalendar */
#define CALIWCAPCALENDAR_IID_STR "21a189df-6c92-41f6-9e2b-1929ef25caee"

#define CALIWCAPCALENDAR_IID \
  {0x21a189df, 0x6c92, 0x41f6, \
    { 0x9e, 0x2b, 0x19, 0x29, 0xef, 0x25, 0xca, 0xee }}

class NS_NO_VTABLE calIWcapCalendar : public calICalendar {
 public:

  NS_DECLARE_STATIC_IID_ACCESSOR(CALIWCAPCALENDAR_IID)

  /* readonly attribute calIWcapSession session; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetSession(calIWcapSession **aSession) = 0;

  /* readonly attribute string calId; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetCalId(char * *aCalId) = 0;

  /* readonly attribute string ownerId; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetOwnerId(char * *aOwnerId) = 0;

  /* readonly attribute boolean isDefaultCalendar; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetIsDefaultCalendar(bool *aIsDefaultCalendar) = 0;

  /* readonly attribute boolean isOwnedCalendar; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetIsOwnedCalendar(bool *aIsOwnedCalendar) = 0;

  /* readonly attribute string description; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetDescription(char * *aDescription) = 0;

  /* readonly attribute string displayName; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetDisplayName(char * *aDisplayName) = 0;

  /* readonly attribute string defaultTimezone; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetDefaultTimezone(char * *aDefaultTimezone) = 0;

  /* void getCalendarProperties (in string propName, out unsigned long count, [array, size_is (count), retval] out string props); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetCalendarProperties(const char * propName, uint32_t *count, char * **props) = 0;

  enum {
    AC_FREEBUSY = 1U,
    AC_SCHEDULE = 2U,
    AC_COMP_READ = 4U,
    AC_COMP_WRITE = 8U,
    AC_PROP_READ = 16U,
    AC_PROP_WRITE = 32U,
    AC_FULL = 63U
  };

  /* boolean checkAccess (in unsigned long accessControlBits); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD CheckAccess(uint32_t accessControlBits, bool *_retval) = 0;

};

  NS_DEFINE_STATIC_IID_ACCESSOR(calIWcapCalendar, CALIWCAPCALENDAR_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_CALIWCAPCALENDAR \
  NS_IMETHOD GetSession(calIWcapSession **aSession) override; \
  NS_IMETHOD GetCalId(char * *aCalId) override; \
  NS_IMETHOD GetOwnerId(char * *aOwnerId) override; \
  NS_IMETHOD GetIsDefaultCalendar(bool *aIsDefaultCalendar) override; \
  NS_IMETHOD GetIsOwnedCalendar(bool *aIsOwnedCalendar) override; \
  NS_IMETHOD GetDescription(char * *aDescription) override; \
  NS_IMETHOD GetDisplayName(char * *aDisplayName) override; \
  NS_IMETHOD GetDefaultTimezone(char * *aDefaultTimezone) override; \
  NS_IMETHOD GetCalendarProperties(const char * propName, uint32_t *count, char * **props) override; \
  NS_IMETHOD CheckAccess(uint32_t accessControlBits, bool *_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_CALIWCAPCALENDAR \
  nsresult GetSession(calIWcapSession **aSession); \
  nsresult GetCalId(char * *aCalId); \
  nsresult GetOwnerId(char * *aOwnerId); \
  nsresult GetIsDefaultCalendar(bool *aIsDefaultCalendar); \
  nsresult GetIsOwnedCalendar(bool *aIsOwnedCalendar); \
  nsresult GetDescription(char * *aDescription); \
  nsresult GetDisplayName(char * *aDisplayName); \
  nsresult GetDefaultTimezone(char * *aDefaultTimezone); \
  nsresult GetCalendarProperties(const char * propName, uint32_t *count, char * **props); \
  nsresult CheckAccess(uint32_t accessControlBits, bool *_retval); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_CALIWCAPCALENDAR(_to) \
  NS_IMETHOD GetSession(calIWcapSession **aSession) override { return _to GetSession(aSession); } \
  NS_IMETHOD GetCalId(char * *aCalId) override { return _to GetCalId(aCalId); } \
  NS_IMETHOD GetOwnerId(char * *aOwnerId) override { return _to GetOwnerId(aOwnerId); } \
  NS_IMETHOD GetIsDefaultCalendar(bool *aIsDefaultCalendar) override { return _to GetIsDefaultCalendar(aIsDefaultCalendar); } \
  NS_IMETHOD GetIsOwnedCalendar(bool *aIsOwnedCalendar) override { return _to GetIsOwnedCalendar(aIsOwnedCalendar); } \
  NS_IMETHOD GetDescription(char * *aDescription) override { return _to GetDescription(aDescription); } \
  NS_IMETHOD GetDisplayName(char * *aDisplayName) override { return _to GetDisplayName(aDisplayName); } \
  NS_IMETHOD GetDefaultTimezone(char * *aDefaultTimezone) override { return _to GetDefaultTimezone(aDefaultTimezone); } \
  NS_IMETHOD GetCalendarProperties(const char * propName, uint32_t *count, char * **props) override { return _to GetCalendarProperties(propName, count, props); } \
  NS_IMETHOD CheckAccess(uint32_t accessControlBits, bool *_retval) override { return _to CheckAccess(accessControlBits, _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_CALIWCAPCALENDAR(_to) \
  NS_IMETHOD GetSession(calIWcapSession **aSession) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSession(aSession); } \
  NS_IMETHOD GetCalId(char * *aCalId) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCalId(aCalId); } \
  NS_IMETHOD GetOwnerId(char * *aOwnerId) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetOwnerId(aOwnerId); } \
  NS_IMETHOD GetIsDefaultCalendar(bool *aIsDefaultCalendar) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetIsDefaultCalendar(aIsDefaultCalendar); } \
  NS_IMETHOD GetIsOwnedCalendar(bool *aIsOwnedCalendar) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetIsOwnedCalendar(aIsOwnedCalendar); } \
  NS_IMETHOD GetDescription(char * *aDescription) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDescription(aDescription); } \
  NS_IMETHOD GetDisplayName(char * *aDisplayName) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDisplayName(aDisplayName); } \
  NS_IMETHOD GetDefaultTimezone(char * *aDefaultTimezone) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDefaultTimezone(aDefaultTimezone); } \
  NS_IMETHOD GetCalendarProperties(const char * propName, uint32_t *count, char * **props) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCalendarProperties(propName, count, props); } \
  NS_IMETHOD CheckAccess(uint32_t accessControlBits, bool *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->CheckAccess(accessControlBits, _retval); } 


#endif /* __gen_calIWcapCalendar_h__ */