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

#ifndef __gen_calIIcsParser_h__
#define __gen_calIIcsParser_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 calIIcalProperty; /* forward declaration */

class calIIcalComponent; /* forward declaration */

class calIItemBase; /* forward declaration */

class nsIInputStream; /* forward declaration */

class calITimezoneProvider; /* forward declaration */

class calIIcsParser; /* forward declaration */


/* starting interface:    calIIcsParsingListener */
#define CALIICSPARSINGLISTENER_IID_STR "d22527da-b0e2-41b7-b6f4-ee9c243cd285"

#define CALIICSPARSINGLISTENER_IID \
  {0xd22527da, 0xb0e2, 0x41b7, \
    { 0xb6, 0xf4, 0xee, 0x9c, 0x24, 0x3c, 0xd2, 0x85 }}

class NS_NO_VTABLE calIIcsParsingListener : public nsISupports {
 public:

  NS_DECLARE_STATIC_IID_ACCESSOR(CALIICSPARSINGLISTENER_IID)

  /* void onParsingComplete (in nsresult rc, in calIIcsParser parser); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD OnParsingComplete(nsresult rc, calIIcsParser *parser) = 0;

};

  NS_DEFINE_STATIC_IID_ACCESSOR(calIIcsParsingListener, CALIICSPARSINGLISTENER_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_CALIICSPARSINGLISTENER \
  NS_IMETHOD OnParsingComplete(nsresult rc, calIIcsParser *parser) 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_CALIICSPARSINGLISTENER \
  nsresult OnParsingComplete(nsresult rc, calIIcsParser *parser); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_CALIICSPARSINGLISTENER(_to) \
  NS_IMETHOD OnParsingComplete(nsresult rc, calIIcsParser *parser) override { return _to OnParsingComplete(rc, parser); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_CALIICSPARSINGLISTENER(_to) \
  NS_IMETHOD OnParsingComplete(nsresult rc, calIIcsParser *parser) override { return !_to ? NS_ERROR_NULL_POINTER : _to->OnParsingComplete(rc, parser); } 


/* starting interface:    calIIcsParser */
#define CALIICSPARSER_IID_STR "83e9befe-5e9e-49de-8bc2-d882f464f7e7"

#define CALIICSPARSER_IID \
  {0x83e9befe, 0x5e9e, 0x49de, \
    { 0x8b, 0xc2, 0xd8, 0x82, 0xf4, 0x64, 0xf7, 0xe7 }}

class NS_NO_VTABLE calIIcsParser : public nsISupports {
 public:

  NS_DECLARE_STATIC_IID_ACCESSOR(CALIICSPARSER_IID)

  /* void parseString (in AString aICSString, [optional] in calITimezoneProvider aTzProvider, [optional] in calIIcsParsingListener aAsyncParsing); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD ParseString(const nsAString& aICSString, calITimezoneProvider *aTzProvider, calIIcsParsingListener *aAsyncParsing) = 0;

  /* void parseFromStream (in nsIInputStream aStream, [optional] in calITimezoneProvider aTzProvider, [optional] in calIIcsParsingListener aAsyncParsing); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD ParseFromStream(nsIInputStream *aStream, calITimezoneProvider *aTzProvider, calIIcsParsingListener *aAsyncParsing) = 0;

  /* void getItems (out uint32_t aCount, [array, size_is (aCount), retval] out calIItemBase aItems); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetItems(uint32_t *aCount, calIItemBase ***aItems) = 0;

  /* void getParentlessItems (out uint32_t aCount, [array, size_is (aCount), retval] out calIItemBase aItems); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetParentlessItems(uint32_t *aCount, calIItemBase ***aItems) = 0;

  /* void getProperties (out uint32_t aCount, [array, size_is (aCount), retval] out calIIcalProperty aProperties); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetProperties(uint32_t *aCount, calIIcalProperty ***aProperties) = 0;

  /* void getComponents (out uint32_t aCount, [array, size_is (aCount), retval] out calIIcalComponent aComponents); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetComponents(uint32_t *aCount, calIIcalComponent ***aComponents) = 0;

};

  NS_DEFINE_STATIC_IID_ACCESSOR(calIIcsParser, CALIICSPARSER_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_CALIICSPARSER \
  NS_IMETHOD ParseString(const nsAString& aICSString, calITimezoneProvider *aTzProvider, calIIcsParsingListener *aAsyncParsing) override; \
  NS_IMETHOD ParseFromStream(nsIInputStream *aStream, calITimezoneProvider *aTzProvider, calIIcsParsingListener *aAsyncParsing) override; \
  NS_IMETHOD GetItems(uint32_t *aCount, calIItemBase ***aItems) override; \
  NS_IMETHOD GetParentlessItems(uint32_t *aCount, calIItemBase ***aItems) override; \
  NS_IMETHOD GetProperties(uint32_t *aCount, calIIcalProperty ***aProperties) override; \
  NS_IMETHOD GetComponents(uint32_t *aCount, calIIcalComponent ***aComponents) 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_CALIICSPARSER \
  nsresult ParseString(const nsAString& aICSString, calITimezoneProvider *aTzProvider, calIIcsParsingListener *aAsyncParsing); \
  nsresult ParseFromStream(nsIInputStream *aStream, calITimezoneProvider *aTzProvider, calIIcsParsingListener *aAsyncParsing); \
  nsresult GetItems(uint32_t *aCount, calIItemBase ***aItems); \
  nsresult GetParentlessItems(uint32_t *aCount, calIItemBase ***aItems); \
  nsresult GetProperties(uint32_t *aCount, calIIcalProperty ***aProperties); \
  nsresult GetComponents(uint32_t *aCount, calIIcalComponent ***aComponents); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_CALIICSPARSER(_to) \
  NS_IMETHOD ParseString(const nsAString& aICSString, calITimezoneProvider *aTzProvider, calIIcsParsingListener *aAsyncParsing) override { return _to ParseString(aICSString, aTzProvider, aAsyncParsing); } \
  NS_IMETHOD ParseFromStream(nsIInputStream *aStream, calITimezoneProvider *aTzProvider, calIIcsParsingListener *aAsyncParsing) override { return _to ParseFromStream(aStream, aTzProvider, aAsyncParsing); } \
  NS_IMETHOD GetItems(uint32_t *aCount, calIItemBase ***aItems) override { return _to GetItems(aCount, aItems); } \
  NS_IMETHOD GetParentlessItems(uint32_t *aCount, calIItemBase ***aItems) override { return _to GetParentlessItems(aCount, aItems); } \
  NS_IMETHOD GetProperties(uint32_t *aCount, calIIcalProperty ***aProperties) override { return _to GetProperties(aCount, aProperties); } \
  NS_IMETHOD GetComponents(uint32_t *aCount, calIIcalComponent ***aComponents) override { return _to GetComponents(aCount, aComponents); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_CALIICSPARSER(_to) \
  NS_IMETHOD ParseString(const nsAString& aICSString, calITimezoneProvider *aTzProvider, calIIcsParsingListener *aAsyncParsing) override { return !_to ? NS_ERROR_NULL_POINTER : _to->ParseString(aICSString, aTzProvider, aAsyncParsing); } \
  NS_IMETHOD ParseFromStream(nsIInputStream *aStream, calITimezoneProvider *aTzProvider, calIIcsParsingListener *aAsyncParsing) override { return !_to ? NS_ERROR_NULL_POINTER : _to->ParseFromStream(aStream, aTzProvider, aAsyncParsing); } \
  NS_IMETHOD GetItems(uint32_t *aCount, calIItemBase ***aItems) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetItems(aCount, aItems); } \
  NS_IMETHOD GetParentlessItems(uint32_t *aCount, calIItemBase ***aItems) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetParentlessItems(aCount, aItems); } \
  NS_IMETHOD GetProperties(uint32_t *aCount, calIIcalProperty ***aProperties) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetProperties(aCount, aProperties); } \
  NS_IMETHOD GetComponents(uint32_t *aCount, calIIcalComponent ***aComponents) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetComponents(aCount, aComponents); } 


#endif /* __gen_calIIcsParser_h__ */