/usr/include/thunderbird-11.0.1/nsIDOMHTMLAudioElement.h is in thunderbird-dev 11.0.1+build1-0ubuntu2.
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 | /*
* DO NOT EDIT. THIS FILE IS GENERATED FROM /build/buildd/thunderbird-11.0.1+build1/build-tree/mozilla/mozilla/dom/interfaces/html/nsIDOMHTMLAudioElement.idl
*/
#ifndef __gen_nsIDOMHTMLAudioElement_h__
#define __gen_nsIDOMHTMLAudioElement_h__
#ifndef __gen_nsIDOMHTMLMediaElement_h__
#include "nsIDOMHTMLMediaElement.h"
#endif
#include "jspubtd.h"
/* For IDL files that don't want to include root IDL files. */
#ifndef NS_NO_VTABLE
#define NS_NO_VTABLE
#endif
#include "jsapi.h"
/* starting interface: nsIDOMHTMLAudioElement */
#define NS_IDOMHTMLAUDIOELEMENT_IID_STR "c74b835f-bb68-4ab3-a02c-08152cbb09fa"
#define NS_IDOMHTMLAUDIOELEMENT_IID \
{0xc74b835f, 0xbb68, 0x4ab3, \
{ 0xa0, 0x2c, 0x08, 0x15, 0x2c, 0xbb, 0x09, 0xfa }}
class NS_NO_VTABLE NS_SCRIPTABLE nsIDOMHTMLAudioElement : public nsIDOMHTMLMediaElement {
public:
NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMHTMLAUDIOELEMENT_IID)
/* void mozSetup (in PRUint32 channels, in PRUint32 rate); */
NS_SCRIPTABLE NS_IMETHOD MozSetup(PRUint32 channels, PRUint32 rate) = 0;
/* [implicit_jscontext] unsigned long mozWriteAudio (in jsval data); */
NS_SCRIPTABLE NS_IMETHOD MozWriteAudio(const JS::Value & data, JSContext* cx, PRUint32 *_retval NS_OUTPARAM) = 0;
/* unsigned long long mozCurrentSampleOffset (); */
NS_SCRIPTABLE NS_IMETHOD MozCurrentSampleOffset(PRUint64 *_retval NS_OUTPARAM) = 0;
};
NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMHTMLAudioElement, NS_IDOMHTMLAUDIOELEMENT_IID)
/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIDOMHTMLAUDIOELEMENT \
NS_SCRIPTABLE NS_IMETHOD MozSetup(PRUint32 channels, PRUint32 rate); \
NS_SCRIPTABLE NS_IMETHOD MozWriteAudio(const JS::Value & data, JSContext* cx, PRUint32 *_retval NS_OUTPARAM); \
NS_SCRIPTABLE NS_IMETHOD MozCurrentSampleOffset(PRUint64 *_retval NS_OUTPARAM);
/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIDOMHTMLAUDIOELEMENT(_to) \
NS_SCRIPTABLE NS_IMETHOD MozSetup(PRUint32 channels, PRUint32 rate) { return _to MozSetup(channels, rate); } \
NS_SCRIPTABLE NS_IMETHOD MozWriteAudio(const JS::Value & data, JSContext* cx, PRUint32 *_retval NS_OUTPARAM) { return _to MozWriteAudio(data, cx, _retval); } \
NS_SCRIPTABLE NS_IMETHOD MozCurrentSampleOffset(PRUint64 *_retval NS_OUTPARAM) { return _to MozCurrentSampleOffset(_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_NSIDOMHTMLAUDIOELEMENT(_to) \
NS_SCRIPTABLE NS_IMETHOD MozSetup(PRUint32 channels, PRUint32 rate) { return !_to ? NS_ERROR_NULL_POINTER : _to->MozSetup(channels, rate); } \
NS_SCRIPTABLE NS_IMETHOD MozWriteAudio(const JS::Value & data, JSContext* cx, PRUint32 *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->MozWriteAudio(data, cx, _retval); } \
NS_SCRIPTABLE NS_IMETHOD MozCurrentSampleOffset(PRUint64 *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->MozCurrentSampleOffset(_retval); }
#if 0
/* Use the code below as a template for the implementation class for this interface. */
/* Header file */
class nsDOMHTMLAudioElement : public nsIDOMHTMLAudioElement
{
public:
NS_DECL_ISUPPORTS
NS_DECL_NSIDOMHTMLAUDIOELEMENT
nsDOMHTMLAudioElement();
private:
~nsDOMHTMLAudioElement();
protected:
/* additional members */
};
/* Implementation file */
NS_IMPL_ISUPPORTS1(nsDOMHTMLAudioElement, nsIDOMHTMLAudioElement)
nsDOMHTMLAudioElement::nsDOMHTMLAudioElement()
{
/* member initializers and constructor code */
}
nsDOMHTMLAudioElement::~nsDOMHTMLAudioElement()
{
/* destructor code */
}
/* void mozSetup (in PRUint32 channels, in PRUint32 rate); */
NS_IMETHODIMP nsDOMHTMLAudioElement::MozSetup(PRUint32 channels, PRUint32 rate)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* [implicit_jscontext] unsigned long mozWriteAudio (in jsval data); */
NS_IMETHODIMP nsDOMHTMLAudioElement::MozWriteAudio(const JS::Value & data, JSContext* cx, PRUint32 *_retval NS_OUTPARAM)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* unsigned long long mozCurrentSampleOffset (); */
NS_IMETHODIMP nsDOMHTMLAudioElement::MozCurrentSampleOffset(PRUint64 *_retval NS_OUTPARAM)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* End of implementation class template. */
#endif
#endif /* __gen_nsIDOMHTMLAudioElement_h__ */
|