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

#ifndef __gen_calIRecurrenceRule_h__
#define __gen_calIRecurrenceRule_h__


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

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


/* starting interface:    calIRecurrenceRule */
#define CALIRECURRENCERULE_IID_STR "e965a91a-49fa-41b5-b668-1a824a73bdbf"

#define CALIRECURRENCERULE_IID \
  {0xe965a91a, 0x49fa, 0x41b5, \
    { 0xb6, 0x68, 0x1a, 0x82, 0x4a, 0x73, 0xbd, 0xbf }}

class NS_NO_VTABLE calIRecurrenceRule : public calIRecurrenceItem {
 public:

  NS_DECLARE_STATIC_IID_ACCESSOR(CALIRECURRENCERULE_IID)

  /* attribute AUTF8String type; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetType(nsACString& aType) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetType(const nsACString& aType) = 0;

  /* attribute long interval; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetInterval(int32_t *aInterval) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetInterval(int32_t aInterval) = 0;

  /* attribute long count; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetCount(int32_t *aCount) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetCount(int32_t aCount) = 0;

  /* attribute calIDateTime untilDate; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetUntilDate(calIDateTime **aUntilDate) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetUntilDate(calIDateTime *aUntilDate) = 0;

  /* readonly attribute boolean isByCount; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetIsByCount(bool *aIsByCount) = 0;

  /* attribute short weekStart; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetWeekStart(int16_t *aWeekStart) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetWeekStart(int16_t aWeekStart) = 0;

  /* void getComponent (in AUTF8String aComponentType, out unsigned long aCount, [array, size_is (aCount), retval] out short aValues); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetComponent(const nsACString& aComponentType, uint32_t *aCount, int16_t **aValues) = 0;

  /* void setComponent (in AUTF8String aComponentType, in unsigned long aCount, [array, size_is (aCount)] in short aValues); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetComponent(const nsACString& aComponentType, uint32_t aCount, int16_t *aValues) = 0;

};

  NS_DEFINE_STATIC_IID_ACCESSOR(calIRecurrenceRule, CALIRECURRENCERULE_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_CALIRECURRENCERULE \
  NS_IMETHOD GetType(nsACString& aType) override; \
  NS_IMETHOD SetType(const nsACString& aType) override; \
  NS_IMETHOD GetInterval(int32_t *aInterval) override; \
  NS_IMETHOD SetInterval(int32_t aInterval) override; \
  NS_IMETHOD GetCount(int32_t *aCount) override; \
  NS_IMETHOD SetCount(int32_t aCount) override; \
  NS_IMETHOD GetUntilDate(calIDateTime **aUntilDate) override; \
  NS_IMETHOD SetUntilDate(calIDateTime *aUntilDate) override; \
  NS_IMETHOD GetIsByCount(bool *aIsByCount) override; \
  NS_IMETHOD GetWeekStart(int16_t *aWeekStart) override; \
  NS_IMETHOD SetWeekStart(int16_t aWeekStart) override; \
  NS_IMETHOD GetComponent(const nsACString& aComponentType, uint32_t *aCount, int16_t **aValues) override; \
  NS_IMETHOD SetComponent(const nsACString& aComponentType, uint32_t aCount, int16_t *aValues) 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_CALIRECURRENCERULE \
  nsresult GetType(nsACString& aType); \
  nsresult SetType(const nsACString& aType); \
  nsresult GetInterval(int32_t *aInterval); \
  nsresult SetInterval(int32_t aInterval); \
  nsresult GetCount(int32_t *aCount); \
  nsresult SetCount(int32_t aCount); \
  nsresult GetUntilDate(calIDateTime **aUntilDate); \
  nsresult SetUntilDate(calIDateTime *aUntilDate); \
  nsresult GetIsByCount(bool *aIsByCount); \
  nsresult GetWeekStart(int16_t *aWeekStart); \
  nsresult SetWeekStart(int16_t aWeekStart); \
  nsresult GetComponent(const nsACString& aComponentType, uint32_t *aCount, int16_t **aValues); \
  nsresult SetComponent(const nsACString& aComponentType, uint32_t aCount, int16_t *aValues); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_CALIRECURRENCERULE(_to) \
  NS_IMETHOD GetType(nsACString& aType) override { return _to GetType(aType); } \
  NS_IMETHOD SetType(const nsACString& aType) override { return _to SetType(aType); } \
  NS_IMETHOD GetInterval(int32_t *aInterval) override { return _to GetInterval(aInterval); } \
  NS_IMETHOD SetInterval(int32_t aInterval) override { return _to SetInterval(aInterval); } \
  NS_IMETHOD GetCount(int32_t *aCount) override { return _to GetCount(aCount); } \
  NS_IMETHOD SetCount(int32_t aCount) override { return _to SetCount(aCount); } \
  NS_IMETHOD GetUntilDate(calIDateTime **aUntilDate) override { return _to GetUntilDate(aUntilDate); } \
  NS_IMETHOD SetUntilDate(calIDateTime *aUntilDate) override { return _to SetUntilDate(aUntilDate); } \
  NS_IMETHOD GetIsByCount(bool *aIsByCount) override { return _to GetIsByCount(aIsByCount); } \
  NS_IMETHOD GetWeekStart(int16_t *aWeekStart) override { return _to GetWeekStart(aWeekStart); } \
  NS_IMETHOD SetWeekStart(int16_t aWeekStart) override { return _to SetWeekStart(aWeekStart); } \
  NS_IMETHOD GetComponent(const nsACString& aComponentType, uint32_t *aCount, int16_t **aValues) override { return _to GetComponent(aComponentType, aCount, aValues); } \
  NS_IMETHOD SetComponent(const nsACString& aComponentType, uint32_t aCount, int16_t *aValues) override { return _to SetComponent(aComponentType, aCount, aValues); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_CALIRECURRENCERULE(_to) \
  NS_IMETHOD GetType(nsACString& aType) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetType(aType); } \
  NS_IMETHOD SetType(const nsACString& aType) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetType(aType); } \
  NS_IMETHOD GetInterval(int32_t *aInterval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetInterval(aInterval); } \
  NS_IMETHOD SetInterval(int32_t aInterval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetInterval(aInterval); } \
  NS_IMETHOD GetCount(int32_t *aCount) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCount(aCount); } \
  NS_IMETHOD SetCount(int32_t aCount) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetCount(aCount); } \
  NS_IMETHOD GetUntilDate(calIDateTime **aUntilDate) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetUntilDate(aUntilDate); } \
  NS_IMETHOD SetUntilDate(calIDateTime *aUntilDate) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetUntilDate(aUntilDate); } \
  NS_IMETHOD GetIsByCount(bool *aIsByCount) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetIsByCount(aIsByCount); } \
  NS_IMETHOD GetWeekStart(int16_t *aWeekStart) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetWeekStart(aWeekStart); } \
  NS_IMETHOD SetWeekStart(int16_t aWeekStart) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetWeekStart(aWeekStart); } \
  NS_IMETHOD GetComponent(const nsACString& aComponentType, uint32_t *aCount, int16_t **aValues) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetComponent(aComponentType, aCount, aValues); } \
  NS_IMETHOD SetComponent(const nsACString& aComponentType, uint32_t aCount, int16_t *aValues) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetComponent(aComponentType, aCount, aValues); } 


#endif /* __gen_calIRecurrenceRule_h__ */