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

#ifndef __gen_calIPeriod_h__
#define __gen_calIPeriod_h__


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

#include "js/Value.h"

#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 calIDuration; /* forward declaration */


/* starting interface:    calIPeriod */
#define CALIPERIOD_IID_STR "ace2a74c-bd08-476f-be8b-6565abc50339"

#define CALIPERIOD_IID \
  {0xace2a74c, 0xbd08, 0x476f, \
    { 0xbe, 0x8b, 0x65, 0x65, 0xab, 0xc5, 0x03, 0x39 }}

class NS_NO_VTABLE calIPeriod : public nsISupports {
 public:

  NS_DECLARE_STATIC_IID_ACCESSOR(CALIPERIOD_IID)

  /* attribute jsval icalPeriod; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetIcalPeriod(JS::MutableHandleValue aIcalPeriod) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetIcalPeriod(JS::HandleValue aIcalPeriod) = 0;

  /* 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;

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

  /* attribute calIDateTime start; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetStart(calIDateTime **aStart) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetStart(calIDateTime *aStart) = 0;

  /* attribute calIDateTime end; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetEnd(calIDateTime **aEnd) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetEnd(calIDateTime *aEnd) = 0;

  /* readonly attribute calIDuration duration; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetDuration(calIDuration **aDuration) = 0;

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

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

};

  NS_DEFINE_STATIC_IID_ACCESSOR(calIPeriod, CALIPERIOD_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_CALIPERIOD \
  NS_IMETHOD GetIcalPeriod(JS::MutableHandleValue aIcalPeriod) override; \
  NS_IMETHOD SetIcalPeriod(JS::HandleValue aIcalPeriod) override; \
  NS_IMETHOD GetIsMutable(bool *aIsMutable) override; \
  NS_IMETHOD MakeImmutable(void) override; \
  NS_IMETHOD Clone(calIPeriod **_retval) override; \
  NS_IMETHOD GetStart(calIDateTime **aStart) override; \
  NS_IMETHOD SetStart(calIDateTime *aStart) override; \
  NS_IMETHOD GetEnd(calIDateTime **aEnd) override; \
  NS_IMETHOD SetEnd(calIDateTime *aEnd) override; \
  NS_IMETHOD GetDuration(calIDuration **aDuration) override; \
  NS_IMETHOD ToString(nsACString& _retval) override; \
  NS_IMETHOD GetIcalString(nsACString& aIcalString) override; \
  NS_IMETHOD SetIcalString(const nsACString& aIcalString) 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_CALIPERIOD \
  nsresult GetIcalPeriod(JS::MutableHandleValue aIcalPeriod); \
  nsresult SetIcalPeriod(JS::HandleValue aIcalPeriod); \
  nsresult GetIsMutable(bool *aIsMutable); \
  nsresult MakeImmutable(void); \
  nsresult Clone(calIPeriod **_retval); \
  nsresult GetStart(calIDateTime **aStart); \
  nsresult SetStart(calIDateTime *aStart); \
  nsresult GetEnd(calIDateTime **aEnd); \
  nsresult SetEnd(calIDateTime *aEnd); \
  nsresult GetDuration(calIDuration **aDuration); \
  nsresult ToString(nsACString& _retval); \
  nsresult GetIcalString(nsACString& aIcalString); \
  nsresult SetIcalString(const nsACString& aIcalString); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_CALIPERIOD(_to) \
  NS_IMETHOD GetIcalPeriod(JS::MutableHandleValue aIcalPeriod) override { return _to GetIcalPeriod(aIcalPeriod); } \
  NS_IMETHOD SetIcalPeriod(JS::HandleValue aIcalPeriod) override { return _to SetIcalPeriod(aIcalPeriod); } \
  NS_IMETHOD GetIsMutable(bool *aIsMutable) override { return _to GetIsMutable(aIsMutable); } \
  NS_IMETHOD MakeImmutable(void) override { return _to MakeImmutable(); } \
  NS_IMETHOD Clone(calIPeriod **_retval) override { return _to Clone(_retval); } \
  NS_IMETHOD GetStart(calIDateTime **aStart) override { return _to GetStart(aStart); } \
  NS_IMETHOD SetStart(calIDateTime *aStart) override { return _to SetStart(aStart); } \
  NS_IMETHOD GetEnd(calIDateTime **aEnd) override { return _to GetEnd(aEnd); } \
  NS_IMETHOD SetEnd(calIDateTime *aEnd) override { return _to SetEnd(aEnd); } \
  NS_IMETHOD GetDuration(calIDuration **aDuration) override { return _to GetDuration(aDuration); } \
  NS_IMETHOD ToString(nsACString& _retval) override { return _to ToString(_retval); } \
  NS_IMETHOD GetIcalString(nsACString& aIcalString) override { return _to GetIcalString(aIcalString); } \
  NS_IMETHOD SetIcalString(const nsACString& aIcalString) override { return _to SetIcalString(aIcalString); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_CALIPERIOD(_to) \
  NS_IMETHOD GetIcalPeriod(JS::MutableHandleValue aIcalPeriod) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetIcalPeriod(aIcalPeriod); } \
  NS_IMETHOD SetIcalPeriod(JS::HandleValue aIcalPeriod) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetIcalPeriod(aIcalPeriod); } \
  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(calIPeriod **_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->Clone(_retval); } \
  NS_IMETHOD GetStart(calIDateTime **aStart) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetStart(aStart); } \
  NS_IMETHOD SetStart(calIDateTime *aStart) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetStart(aStart); } \
  NS_IMETHOD GetEnd(calIDateTime **aEnd) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetEnd(aEnd); } \
  NS_IMETHOD SetEnd(calIDateTime *aEnd) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetEnd(aEnd); } \
  NS_IMETHOD GetDuration(calIDuration **aDuration) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDuration(aDuration); } \
  NS_IMETHOD ToString(nsACString& _retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->ToString(_retval); } \
  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); } 


/* starting interface:    calIPeriodLibical */
#define CALIPERIODLIBICAL_IID_STR "04ee525f-96db-4731-8d61-688e754df24f"

#define CALIPERIODLIBICAL_IID \
  {0x04ee525f, 0x96db, 0x4731, \
    { 0x8d, 0x61, 0x68, 0x8e, 0x75, 0x4d, 0xf2, 0x4f }}

class NS_NO_VTABLE calIPeriodLibical : public calIPeriod {
 public:

  NS_DECLARE_STATIC_IID_ACCESSOR(CALIPERIODLIBICAL_IID)

  /* [noscript,notxpcom] void toIcalPeriod (in icalperiodtypeptr idt); */
  NS_IMETHOD_(void) ToIcalPeriod(struct icalperiodtype * idt) = 0;

};

  NS_DEFINE_STATIC_IID_ACCESSOR(calIPeriodLibical, CALIPERIODLIBICAL_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_CALIPERIODLIBICAL \
  NS_IMETHOD_(void) ToIcalPeriod(struct icalperiodtype * idt) 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_CALIPERIODLIBICAL \
  nsresult_(void) ToIcalPeriod(struct icalperiodtype * idt); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_CALIPERIODLIBICAL(_to) \
  NS_IMETHOD_(void) ToIcalPeriod(struct icalperiodtype * idt) override { return _to ToIcalPeriod(idt); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_CALIPERIODLIBICAL(_to) \
  NS_IMETHOD_(void) ToIcalPeriod(struct icalperiodtype * idt) override; 


#endif /* __gen_calIPeriod_h__ */