/usr/include/thunderbird/nsIDOMSpeechRecognitionEvent.h is in thunderbird-dev 1:24.4.0+build1-0ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 /build/buildd/thunderbird-24.4.0+build1/mozilla/content/media/webspeech/recognition/nsIDOMSpeechRecognitionEvent.idl
*/
#ifndef __gen_nsIDOMSpeechRecognitionEvent_h__
#define __gen_nsIDOMSpeechRecognitionEvent_h__
#ifndef __gen_nsIDOMEvent_h__
#include "nsIDOMEvent.h"
#endif
/* For IDL files that don't want to include root IDL files. */
#ifndef NS_NO_VTABLE
#define NS_NO_VTABLE
#endif
class SpeechRecognitionResultList; /* forward declaration */
/* starting interface: nsIDOMSpeechRecognitionEvent */
#define NS_IDOMSPEECHRECOGNITIONEVENT_IID_STR "98dded70-33af-42d5-819d-e15b6f4a3aba"
#define NS_IDOMSPEECHRECOGNITIONEVENT_IID \
{0x98dded70, 0x33af, 0x42d5, \
{ 0x81, 0x9d, 0xe1, 0x5b, 0x6f, 0x4a, 0x3a, 0xba }}
class NS_NO_VTABLE nsIDOMSpeechRecognitionEvent : public nsIDOMEvent {
public:
NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMSPEECHRECOGNITIONEVENT_IID)
/* [noscript] void initSpeechRecognitionEvent (in DOMString eventTypeArg, in boolean canBubbleArg, in boolean cancelableArg, in unsigned long resultIndex, in nsISupports results, in DOMString interpretation, in nsIDOMDocument emma); */
NS_IMETHOD InitSpeechRecognitionEvent(const nsAString & eventTypeArg, bool canBubbleArg, bool cancelableArg, uint32_t resultIndex, nsISupports *results, const nsAString & interpretation, nsIDOMDocument *emma) = 0;
/* readonly attribute unsigned long resultIndex; */
NS_IMETHOD GetResultIndex(uint32_t *aResultIndex) = 0;
/* readonly attribute nsISupports results; */
NS_IMETHOD GetResults(nsISupports * *aResults) = 0;
/* readonly attribute DOMString interpretation; */
NS_IMETHOD GetInterpretation(nsAString & aInterpretation) = 0;
/* readonly attribute nsIDOMDocument emma; */
NS_IMETHOD GetEmma(nsIDOMDocument * *aEmma) = 0;
};
NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMSpeechRecognitionEvent, NS_IDOMSPEECHRECOGNITIONEVENT_IID)
/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIDOMSPEECHRECOGNITIONEVENT \
NS_IMETHOD InitSpeechRecognitionEvent(const nsAString & eventTypeArg, bool canBubbleArg, bool cancelableArg, uint32_t resultIndex, nsISupports *results, const nsAString & interpretation, nsIDOMDocument *emma); \
NS_IMETHOD GetResultIndex(uint32_t *aResultIndex); \
NS_IMETHOD GetResults(nsISupports * *aResults); \
NS_IMETHOD GetInterpretation(nsAString & aInterpretation); \
NS_IMETHOD GetEmma(nsIDOMDocument * *aEmma);
/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIDOMSPEECHRECOGNITIONEVENT(_to) \
NS_IMETHOD InitSpeechRecognitionEvent(const nsAString & eventTypeArg, bool canBubbleArg, bool cancelableArg, uint32_t resultIndex, nsISupports *results, const nsAString & interpretation, nsIDOMDocument *emma) { return _to InitSpeechRecognitionEvent(eventTypeArg, canBubbleArg, cancelableArg, resultIndex, results, interpretation, emma); } \
NS_IMETHOD GetResultIndex(uint32_t *aResultIndex) { return _to GetResultIndex(aResultIndex); } \
NS_IMETHOD GetResults(nsISupports * *aResults) { return _to GetResults(aResults); } \
NS_IMETHOD GetInterpretation(nsAString & aInterpretation) { return _to GetInterpretation(aInterpretation); } \
NS_IMETHOD GetEmma(nsIDOMDocument * *aEmma) { return _to GetEmma(aEmma); }
/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSIDOMSPEECHRECOGNITIONEVENT(_to) \
NS_IMETHOD InitSpeechRecognitionEvent(const nsAString & eventTypeArg, bool canBubbleArg, bool cancelableArg, uint32_t resultIndex, nsISupports *results, const nsAString & interpretation, nsIDOMDocument *emma) { return !_to ? NS_ERROR_NULL_POINTER : _to->InitSpeechRecognitionEvent(eventTypeArg, canBubbleArg, cancelableArg, resultIndex, results, interpretation, emma); } \
NS_IMETHOD GetResultIndex(uint32_t *aResultIndex) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetResultIndex(aResultIndex); } \
NS_IMETHOD GetResults(nsISupports * *aResults) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetResults(aResults); } \
NS_IMETHOD GetInterpretation(nsAString & aInterpretation) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetInterpretation(aInterpretation); } \
NS_IMETHOD GetEmma(nsIDOMDocument * *aEmma) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetEmma(aEmma); }
#if 0
/* Use the code below as a template for the implementation class for this interface. */
/* Header file */
class nsDOMSpeechRecognitionEvent : public nsIDOMSpeechRecognitionEvent
{
public:
NS_DECL_ISUPPORTS
NS_DECL_NSIDOMSPEECHRECOGNITIONEVENT
nsDOMSpeechRecognitionEvent();
private:
~nsDOMSpeechRecognitionEvent();
protected:
/* additional members */
};
/* Implementation file */
NS_IMPL_ISUPPORTS1(nsDOMSpeechRecognitionEvent, nsIDOMSpeechRecognitionEvent)
nsDOMSpeechRecognitionEvent::nsDOMSpeechRecognitionEvent()
{
/* member initializers and constructor code */
}
nsDOMSpeechRecognitionEvent::~nsDOMSpeechRecognitionEvent()
{
/* destructor code */
}
/* [noscript] void initSpeechRecognitionEvent (in DOMString eventTypeArg, in boolean canBubbleArg, in boolean cancelableArg, in unsigned long resultIndex, in nsISupports results, in DOMString interpretation, in nsIDOMDocument emma); */
NS_IMETHODIMP nsDOMSpeechRecognitionEvent::InitSpeechRecognitionEvent(const nsAString & eventTypeArg, bool canBubbleArg, bool cancelableArg, uint32_t resultIndex, nsISupports *results, const nsAString & interpretation, nsIDOMDocument *emma)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute unsigned long resultIndex; */
NS_IMETHODIMP nsDOMSpeechRecognitionEvent::GetResultIndex(uint32_t *aResultIndex)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute nsISupports results; */
NS_IMETHODIMP nsDOMSpeechRecognitionEvent::GetResults(nsISupports * *aResults)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute DOMString interpretation; */
NS_IMETHODIMP nsDOMSpeechRecognitionEvent::GetInterpretation(nsAString & aInterpretation)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute nsIDOMDocument emma; */
NS_IMETHODIMP nsDOMSpeechRecognitionEvent::GetEmma(nsIDOMDocument * *aEmma)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* End of implementation class template. */
#endif
#endif /* __gen_nsIDOMSpeechRecognitionEvent_h__ */
|