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

#ifndef __gen_calIAttachment_h__
#define __gen_calIAttachment_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 nsIURI; /* forward declaration */

class calIIcalProperty; /* forward declaration */

class calIItemBase; /* forward declaration */


/* starting interface:    calIAttachment */
#define CALIATTACHMENT_IID_STR "7a17d45d-1c0e-4877-baa3-0eb67e770498"

#define CALIATTACHMENT_IID \
  {0x7a17d45d, 0x1c0e, 0x4877, \
    { 0xba, 0xa3, 0x0e, 0xb6, 0x7e, 0x77, 0x04, 0x98 }}

class NS_NO_VTABLE calIAttachment : public nsISupports {
 public:

  NS_DECLARE_STATIC_IID_ACCESSOR(CALIATTACHMENT_IID)

  /* readonly attribute AUTF8String hashId; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetHashId(nsACString& aHashId) = 0;

  /* attribute nsIURI uri; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetUri(nsIURI **aUri) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetUri(nsIURI *aUri) = 0;

  /* attribute AUTF8String rawData; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetRawData(nsACString& aRawData) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetRawData(const nsACString& aRawData) = 0;

  /* attribute AString formatType; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetFormatType(nsAString& aFormatType) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetFormatType(const nsAString& aFormatType) = 0;

  /* attribute AUTF8String encoding; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetEncoding(nsACString& aEncoding) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetEncoding(const nsACString& aEncoding) = 0;

  /* attribute calIIcalProperty icalProperty; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetIcalProperty(calIIcalProperty **aIcalProperty) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetIcalProperty(calIIcalProperty *aIcalProperty) = 0;

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

  /* AUTF8String getParameter (in AString name); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetParameter(const nsAString& name, nsACString& _retval) = 0;

  /* void setParameter (in AString name, in AUTF8String value); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetParameter(const nsAString& name, const nsACString& value) = 0;

  /* void deleteParameter (in AString name); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD DeleteParameter(const nsAString& name) = 0;

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

};

  NS_DEFINE_STATIC_IID_ACCESSOR(calIAttachment, CALIATTACHMENT_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_CALIATTACHMENT \
  NS_IMETHOD GetHashId(nsACString& aHashId) override; \
  NS_IMETHOD GetUri(nsIURI **aUri) override; \
  NS_IMETHOD SetUri(nsIURI *aUri) override; \
  NS_IMETHOD GetRawData(nsACString& aRawData) override; \
  NS_IMETHOD SetRawData(const nsACString& aRawData) override; \
  NS_IMETHOD GetFormatType(nsAString& aFormatType) override; \
  NS_IMETHOD SetFormatType(const nsAString& aFormatType) override; \
  NS_IMETHOD GetEncoding(nsACString& aEncoding) override; \
  NS_IMETHOD SetEncoding(const nsACString& aEncoding) override; \
  NS_IMETHOD GetIcalProperty(calIIcalProperty **aIcalProperty) override; \
  NS_IMETHOD SetIcalProperty(calIIcalProperty *aIcalProperty) override; \
  NS_IMETHOD GetIcalString(nsACString& aIcalString) override; \
  NS_IMETHOD SetIcalString(const nsACString& aIcalString) override; \
  NS_IMETHOD GetParameter(const nsAString& name, nsACString& _retval) override; \
  NS_IMETHOD SetParameter(const nsAString& name, const nsACString& value) override; \
  NS_IMETHOD DeleteParameter(const nsAString& name) override; \
  NS_IMETHOD Clone(calIAttachment **_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_CALIATTACHMENT \
  nsresult GetHashId(nsACString& aHashId); \
  nsresult GetUri(nsIURI **aUri); \
  nsresult SetUri(nsIURI *aUri); \
  nsresult GetRawData(nsACString& aRawData); \
  nsresult SetRawData(const nsACString& aRawData); \
  nsresult GetFormatType(nsAString& aFormatType); \
  nsresult SetFormatType(const nsAString& aFormatType); \
  nsresult GetEncoding(nsACString& aEncoding); \
  nsresult SetEncoding(const nsACString& aEncoding); \
  nsresult GetIcalProperty(calIIcalProperty **aIcalProperty); \
  nsresult SetIcalProperty(calIIcalProperty *aIcalProperty); \
  nsresult GetIcalString(nsACString& aIcalString); \
  nsresult SetIcalString(const nsACString& aIcalString); \
  nsresult GetParameter(const nsAString& name, nsACString& _retval); \
  nsresult SetParameter(const nsAString& name, const nsACString& value); \
  nsresult DeleteParameter(const nsAString& name); \
  nsresult Clone(calIAttachment **_retval); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_CALIATTACHMENT(_to) \
  NS_IMETHOD GetHashId(nsACString& aHashId) override { return _to GetHashId(aHashId); } \
  NS_IMETHOD GetUri(nsIURI **aUri) override { return _to GetUri(aUri); } \
  NS_IMETHOD SetUri(nsIURI *aUri) override { return _to SetUri(aUri); } \
  NS_IMETHOD GetRawData(nsACString& aRawData) override { return _to GetRawData(aRawData); } \
  NS_IMETHOD SetRawData(const nsACString& aRawData) override { return _to SetRawData(aRawData); } \
  NS_IMETHOD GetFormatType(nsAString& aFormatType) override { return _to GetFormatType(aFormatType); } \
  NS_IMETHOD SetFormatType(const nsAString& aFormatType) override { return _to SetFormatType(aFormatType); } \
  NS_IMETHOD GetEncoding(nsACString& aEncoding) override { return _to GetEncoding(aEncoding); } \
  NS_IMETHOD SetEncoding(const nsACString& aEncoding) override { return _to SetEncoding(aEncoding); } \
  NS_IMETHOD GetIcalProperty(calIIcalProperty **aIcalProperty) override { return _to GetIcalProperty(aIcalProperty); } \
  NS_IMETHOD SetIcalProperty(calIIcalProperty *aIcalProperty) override { return _to SetIcalProperty(aIcalProperty); } \
  NS_IMETHOD GetIcalString(nsACString& aIcalString) override { return _to GetIcalString(aIcalString); } \
  NS_IMETHOD SetIcalString(const nsACString& aIcalString) override { return _to SetIcalString(aIcalString); } \
  NS_IMETHOD GetParameter(const nsAString& name, nsACString& _retval) override { return _to GetParameter(name, _retval); } \
  NS_IMETHOD SetParameter(const nsAString& name, const nsACString& value) override { return _to SetParameter(name, value); } \
  NS_IMETHOD DeleteParameter(const nsAString& name) override { return _to DeleteParameter(name); } \
  NS_IMETHOD Clone(calIAttachment **_retval) override { return _to Clone(_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_CALIATTACHMENT(_to) \
  NS_IMETHOD GetHashId(nsACString& aHashId) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetHashId(aHashId); } \
  NS_IMETHOD GetUri(nsIURI **aUri) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetUri(aUri); } \
  NS_IMETHOD SetUri(nsIURI *aUri) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetUri(aUri); } \
  NS_IMETHOD GetRawData(nsACString& aRawData) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetRawData(aRawData); } \
  NS_IMETHOD SetRawData(const nsACString& aRawData) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetRawData(aRawData); } \
  NS_IMETHOD GetFormatType(nsAString& aFormatType) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetFormatType(aFormatType); } \
  NS_IMETHOD SetFormatType(const nsAString& aFormatType) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetFormatType(aFormatType); } \
  NS_IMETHOD GetEncoding(nsACString& aEncoding) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetEncoding(aEncoding); } \
  NS_IMETHOD SetEncoding(const nsACString& aEncoding) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetEncoding(aEncoding); } \
  NS_IMETHOD GetIcalProperty(calIIcalProperty **aIcalProperty) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetIcalProperty(aIcalProperty); } \
  NS_IMETHOD SetIcalProperty(calIIcalProperty *aIcalProperty) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetIcalProperty(aIcalProperty); } \
  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); } \
  NS_IMETHOD GetParameter(const nsAString& name, nsACString& _retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetParameter(name, _retval); } \
  NS_IMETHOD SetParameter(const nsAString& name, const nsACString& value) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetParameter(name, value); } \
  NS_IMETHOD DeleteParameter(const nsAString& name) override { return !_to ? NS_ERROR_NULL_POINTER : _to->DeleteParameter(name); } \
  NS_IMETHOD Clone(calIAttachment **_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->Clone(_retval); } 


#endif /* __gen_calIAttachment_h__ */