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

#ifndef __gen_calITimezoneProvider_h__
#define __gen_calITimezoneProvider_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 nsIUTF8StringEnumerator; /* forward declaration */

class calITimezone; /* forward declaration */


/* starting interface:    calITimezoneProvider */
#define CALITIMEZONEPROVIDER_IID_STR "331a7c6d-805a-4926-940b-2d78dcd90554"

#define CALITIMEZONEPROVIDER_IID \
  {0x331a7c6d, 0x805a, 0x4926, \
    { 0x94, 0x0b, 0x2d, 0x78, 0xdc, 0xd9, 0x05, 0x54 }}

class NS_NO_VTABLE calITimezoneProvider : public nsISupports {
 public:

  NS_DECLARE_STATIC_IID_ACCESSOR(CALITIMEZONEPROVIDER_IID)

  /* readonly attribute nsIUTF8StringEnumerator timezoneIds; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetTimezoneIds(nsIUTF8StringEnumerator **aTimezoneIds) = 0;

  /* readonly attribute nsIUTF8StringEnumerator aliasIds; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetAliasIds(nsIUTF8StringEnumerator **aAliasIds) = 0;

  /* calITimezone getTimezone (in AUTF8String tzid); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetTimezone(const nsACString& tzid, calITimezone **_retval) = 0;

};

  NS_DEFINE_STATIC_IID_ACCESSOR(calITimezoneProvider, CALITIMEZONEPROVIDER_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_CALITIMEZONEPROVIDER \
  NS_IMETHOD GetTimezoneIds(nsIUTF8StringEnumerator **aTimezoneIds) override; \
  NS_IMETHOD GetAliasIds(nsIUTF8StringEnumerator **aAliasIds) override; \
  NS_IMETHOD GetTimezone(const nsACString& tzid, calITimezone **_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_CALITIMEZONEPROVIDER \
  nsresult GetTimezoneIds(nsIUTF8StringEnumerator **aTimezoneIds); \
  nsresult GetAliasIds(nsIUTF8StringEnumerator **aAliasIds); \
  nsresult GetTimezone(const nsACString& tzid, calITimezone **_retval); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_CALITIMEZONEPROVIDER(_to) \
  NS_IMETHOD GetTimezoneIds(nsIUTF8StringEnumerator **aTimezoneIds) override { return _to GetTimezoneIds(aTimezoneIds); } \
  NS_IMETHOD GetAliasIds(nsIUTF8StringEnumerator **aAliasIds) override { return _to GetAliasIds(aAliasIds); } \
  NS_IMETHOD GetTimezone(const nsACString& tzid, calITimezone **_retval) override { return _to GetTimezone(tzid, _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_CALITIMEZONEPROVIDER(_to) \
  NS_IMETHOD GetTimezoneIds(nsIUTF8StringEnumerator **aTimezoneIds) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetTimezoneIds(aTimezoneIds); } \
  NS_IMETHOD GetAliasIds(nsIUTF8StringEnumerator **aAliasIds) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAliasIds(aAliasIds); } \
  NS_IMETHOD GetTimezone(const nsACString& tzid, calITimezone **_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetTimezone(tzid, _retval); } 


/* starting interface:    calITimezoneService */
#define CALITIMEZONESERVICE_IID_STR "ab1bfe6a-ee95-4038-b594-34aeeda9911a"

#define CALITIMEZONESERVICE_IID \
  {0xab1bfe6a, 0xee95, 0x4038, \
    { 0xb5, 0x94, 0x34, 0xae, 0xed, 0xa9, 0x91, 0x1a }}

class NS_NO_VTABLE calITimezoneService : public calITimezoneProvider {
 public:

  NS_DECLARE_STATIC_IID_ACCESSOR(CALITIMEZONESERVICE_IID)

  /* readonly attribute calITimezone floating; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetFloating(calITimezone **aFloating) = 0;

  /* readonly attribute calITimezone UTC; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetUTC(calITimezone **aUTC) = 0;

  /* readonly attribute AString version; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetVersion(nsAString& aVersion) = 0;

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

};

  NS_DEFINE_STATIC_IID_ACCESSOR(calITimezoneService, CALITIMEZONESERVICE_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_CALITIMEZONESERVICE \
  NS_IMETHOD GetFloating(calITimezone **aFloating) override; \
  NS_IMETHOD GetUTC(calITimezone **aUTC) override; \
  NS_IMETHOD GetVersion(nsAString& aVersion) override; \
  NS_IMETHOD GetDefaultTimezone(calITimezone **aDefaultTimezone) 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_CALITIMEZONESERVICE \
  nsresult GetFloating(calITimezone **aFloating); \
  nsresult GetUTC(calITimezone **aUTC); \
  nsresult GetVersion(nsAString& aVersion); \
  nsresult GetDefaultTimezone(calITimezone **aDefaultTimezone); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_CALITIMEZONESERVICE(_to) \
  NS_IMETHOD GetFloating(calITimezone **aFloating) override { return _to GetFloating(aFloating); } \
  NS_IMETHOD GetUTC(calITimezone **aUTC) override { return _to GetUTC(aUTC); } \
  NS_IMETHOD GetVersion(nsAString& aVersion) override { return _to GetVersion(aVersion); } \
  NS_IMETHOD GetDefaultTimezone(calITimezone **aDefaultTimezone) override { return _to GetDefaultTimezone(aDefaultTimezone); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_CALITIMEZONESERVICE(_to) \
  NS_IMETHOD GetFloating(calITimezone **aFloating) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetFloating(aFloating); } \
  NS_IMETHOD GetUTC(calITimezone **aUTC) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetUTC(aUTC); } \
  NS_IMETHOD GetVersion(nsAString& aVersion) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetVersion(aVersion); } \
  NS_IMETHOD GetDefaultTimezone(calITimezone **aDefaultTimezone) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDefaultTimezone(aDefaultTimezone); } 


#endif /* __gen_calITimezoneProvider_h__ */