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

#ifndef __gen_calITimezone_h__
#define __gen_calITimezone_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 calIIcalComponent; /* forward declaration */

class calITimezoneProvider; /* forward declaration */


/* starting interface:    calITimezone */
#define CALITIMEZONE_IID_STR "d79161e7-0db9-427d-a0c3-27e0db3b030f"

#define CALITIMEZONE_IID \
  {0xd79161e7, 0x0db9, 0x427d, \
    { 0xa0, 0xc3, 0x27, 0xe0, 0xdb, 0x3b, 0x03, 0x0f }}

class NS_NO_VTABLE calITimezone : public nsISupports {
 public:

  NS_DECLARE_STATIC_IID_ACCESSOR(CALITIMEZONE_IID)

  /* readonly attribute calITimezoneProvider provider; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetProvider(calITimezoneProvider **aProvider) = 0;

  /* readonly attribute calIIcalComponent icalComponent; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetIcalComponent(calIIcalComponent **aIcalComponent) = 0;

  /* readonly attribute AUTF8String tzid; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetTzid(nsACString& aTzid) = 0;

  /* readonly attribute boolean isFloating; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetIsFloating(bool *aIsFloating) = 0;

  /* readonly attribute boolean isUTC; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetIsUTC(bool *aIsUTC) = 0;

  /* readonly attribute AUTF8String latitude; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetLatitude(nsACString& aLatitude) = 0;

  /* readonly attribute AUTF8String longitude; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetLongitude(nsACString& aLongitude) = 0;

  /* readonly attribute AString displayName; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetDisplayName(nsAString& aDisplayName) = 0;

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

};

  NS_DEFINE_STATIC_IID_ACCESSOR(calITimezone, CALITIMEZONE_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_CALITIMEZONE \
  NS_IMETHOD GetProvider(calITimezoneProvider **aProvider) override; \
  NS_IMETHOD GetIcalComponent(calIIcalComponent **aIcalComponent) override; \
  NS_IMETHOD GetTzid(nsACString& aTzid) override; \
  NS_IMETHOD GetIsFloating(bool *aIsFloating) override; \
  NS_IMETHOD GetIsUTC(bool *aIsUTC) override; \
  NS_IMETHOD GetLatitude(nsACString& aLatitude) override; \
  NS_IMETHOD GetLongitude(nsACString& aLongitude) override; \
  NS_IMETHOD GetDisplayName(nsAString& aDisplayName) override; \
  NS_IMETHOD ToString(nsACString& _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_CALITIMEZONE \
  nsresult GetProvider(calITimezoneProvider **aProvider); \
  nsresult GetIcalComponent(calIIcalComponent **aIcalComponent); \
  nsresult GetTzid(nsACString& aTzid); \
  nsresult GetIsFloating(bool *aIsFloating); \
  nsresult GetIsUTC(bool *aIsUTC); \
  nsresult GetLatitude(nsACString& aLatitude); \
  nsresult GetLongitude(nsACString& aLongitude); \
  nsresult GetDisplayName(nsAString& aDisplayName); \
  nsresult ToString(nsACString& _retval); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_CALITIMEZONE(_to) \
  NS_IMETHOD GetProvider(calITimezoneProvider **aProvider) override { return _to GetProvider(aProvider); } \
  NS_IMETHOD GetIcalComponent(calIIcalComponent **aIcalComponent) override { return _to GetIcalComponent(aIcalComponent); } \
  NS_IMETHOD GetTzid(nsACString& aTzid) override { return _to GetTzid(aTzid); } \
  NS_IMETHOD GetIsFloating(bool *aIsFloating) override { return _to GetIsFloating(aIsFloating); } \
  NS_IMETHOD GetIsUTC(bool *aIsUTC) override { return _to GetIsUTC(aIsUTC); } \
  NS_IMETHOD GetLatitude(nsACString& aLatitude) override { return _to GetLatitude(aLatitude); } \
  NS_IMETHOD GetLongitude(nsACString& aLongitude) override { return _to GetLongitude(aLongitude); } \
  NS_IMETHOD GetDisplayName(nsAString& aDisplayName) override { return _to GetDisplayName(aDisplayName); } \
  NS_IMETHOD ToString(nsACString& _retval) override { return _to ToString(_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_CALITIMEZONE(_to) \
  NS_IMETHOD GetProvider(calITimezoneProvider **aProvider) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetProvider(aProvider); } \
  NS_IMETHOD GetIcalComponent(calIIcalComponent **aIcalComponent) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetIcalComponent(aIcalComponent); } \
  NS_IMETHOD GetTzid(nsACString& aTzid) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetTzid(aTzid); } \
  NS_IMETHOD GetIsFloating(bool *aIsFloating) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetIsFloating(aIsFloating); } \
  NS_IMETHOD GetIsUTC(bool *aIsUTC) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetIsUTC(aIsUTC); } \
  NS_IMETHOD GetLatitude(nsACString& aLatitude) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLatitude(aLatitude); } \
  NS_IMETHOD GetLongitude(nsACString& aLongitude) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLongitude(aLongitude); } \
  NS_IMETHOD GetDisplayName(nsAString& aDisplayName) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDisplayName(aDisplayName); } \
  NS_IMETHOD ToString(nsACString& _retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->ToString(_retval); } 


#endif /* __gen_calITimezone_h__ */