/usr/include/thunderbird/nsITooltipTextProvider.h is in thunderbird-dev 1:38.6.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 | /*
* DO NOT EDIT. THIS FILE IS GENERATED FROM ../../../dist/idl/nsITooltipTextProvider.idl
*/
#ifndef __gen_nsITooltipTextProvider_h__
#define __gen_nsITooltipTextProvider_h__
#ifndef __gen_nsISupports_h__
#include "nsISupports.h"
#endif
/* For IDL files that don't want to include root IDL files. */
#ifndef NS_NO_VTABLE
#define NS_NO_VTABLE
#endif
class nsIDOMNode; /* forward declaration */
/* starting interface: nsITooltipTextProvider */
#define NS_ITOOLTIPTEXTPROVIDER_IID_STR "b128a1e6-44f3-4331-8fbe-5af360ff21ee"
#define NS_ITOOLTIPTEXTPROVIDER_IID \
{0xb128a1e6, 0x44f3, 0x4331, \
{ 0x8f, 0xbe, 0x5a, 0xf3, 0x60, 0xff, 0x21, 0xee }}
class NS_NO_VTABLE nsITooltipTextProvider : public nsISupports {
public:
NS_DECLARE_STATIC_IID_ACCESSOR(NS_ITOOLTIPTEXTPROVIDER_IID)
/* boolean getNodeText (in nsIDOMNode aNode, out wstring aText); */
NS_IMETHOD GetNodeText(nsIDOMNode *aNode, char16_t * *aText, bool *_retval) = 0;
};
NS_DEFINE_STATIC_IID_ACCESSOR(nsITooltipTextProvider, NS_ITOOLTIPTEXTPROVIDER_IID)
/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSITOOLTIPTEXTPROVIDER \
NS_IMETHOD GetNodeText(nsIDOMNode *aNode, char16_t * *aText, bool *_retval) override;
/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSITOOLTIPTEXTPROVIDER(_to) \
NS_IMETHOD GetNodeText(nsIDOMNode *aNode, char16_t * *aText, bool *_retval) override { return _to GetNodeText(aNode, aText, _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_NSITOOLTIPTEXTPROVIDER(_to) \
NS_IMETHOD GetNodeText(nsIDOMNode *aNode, char16_t * *aText, bool *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetNodeText(aNode, aText, _retval); }
#if 0
/* Use the code below as a template for the implementation class for this interface. */
/* Header file */
class nsTooltipTextProvider : public nsITooltipTextProvider
{
public:
NS_DECL_ISUPPORTS
NS_DECL_NSITOOLTIPTEXTPROVIDER
nsTooltipTextProvider();
private:
~nsTooltipTextProvider();
protected:
/* additional members */
};
/* Implementation file */
NS_IMPL_ISUPPORTS(nsTooltipTextProvider, nsITooltipTextProvider)
nsTooltipTextProvider::nsTooltipTextProvider()
{
/* member initializers and constructor code */
}
nsTooltipTextProvider::~nsTooltipTextProvider()
{
/* destructor code */
}
/* boolean getNodeText (in nsIDOMNode aNode, out wstring aText); */
NS_IMETHODIMP nsTooltipTextProvider::GetNodeText(nsIDOMNode *aNode, char16_t * *aText, bool *_retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* End of implementation class template. */
#endif
#endif /* __gen_nsITooltipTextProvider_h__ */
|