/usr/include/thunderbird-11.0.1/nsIAbLDAPAutoCompFormatter.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 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 | /*
* DO NOT EDIT. THIS FILE IS GENERATED FROM /build/buildd/thunderbird-11.0.1+build1/build-tree/mozilla/mailnews/addrbook/public/nsIAbLDAPAutoCompFormatter.idl
*/
#ifndef __gen_nsIAbLDAPAutoCompFormatter_h__
#define __gen_nsIAbLDAPAutoCompFormatter_h__
#ifndef __gen_nsILDAPAutoCompFormatter_h__
#include "nsILDAPAutoCompFormatter.h"
#endif
/* For IDL files that don't want to include root IDL files. */
#ifndef NS_NO_VTABLE
#define NS_NO_VTABLE
#endif
/* starting interface: nsIAbLDAPAutoCompFormatter */
#define NS_IABLDAPAUTOCOMPFORMATTER_IID_STR "cde8836e-1dd1-11b2-baff-a6d918243e80"
#define NS_IABLDAPAUTOCOMPFORMATTER_IID \
{0xcde8836e, 0x1dd1, 0x11b2, \
{ 0xba, 0xff, 0xa6, 0xd9, 0x18, 0x24, 0x3e, 0x80 }}
class NS_NO_VTABLE NS_SCRIPTABLE nsIAbLDAPAutoCompFormatter : public nsILDAPAutoCompFormatter {
public:
NS_DECLARE_STATIC_IID_ACCESSOR(NS_IABLDAPAUTOCOMPFORMATTER_IID)
/* attribute AString nameFormat; */
NS_SCRIPTABLE NS_IMETHOD GetNameFormat(nsAString & aNameFormat) = 0;
NS_SCRIPTABLE NS_IMETHOD SetNameFormat(const nsAString & aNameFormat) = 0;
/* attribute AString addressFormat; */
NS_SCRIPTABLE NS_IMETHOD GetAddressFormat(nsAString & aAddressFormat) = 0;
NS_SCRIPTABLE NS_IMETHOD SetAddressFormat(const nsAString & aAddressFormat) = 0;
/* attribute AString commentFormat; */
NS_SCRIPTABLE NS_IMETHOD GetCommentFormat(nsAString & aCommentFormat) = 0;
NS_SCRIPTABLE NS_IMETHOD SetCommentFormat(const nsAString & aCommentFormat) = 0;
};
NS_DEFINE_STATIC_IID_ACCESSOR(nsIAbLDAPAutoCompFormatter, NS_IABLDAPAUTOCOMPFORMATTER_IID)
/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIABLDAPAUTOCOMPFORMATTER \
NS_SCRIPTABLE NS_IMETHOD GetNameFormat(nsAString & aNameFormat); \
NS_SCRIPTABLE NS_IMETHOD SetNameFormat(const nsAString & aNameFormat); \
NS_SCRIPTABLE NS_IMETHOD GetAddressFormat(nsAString & aAddressFormat); \
NS_SCRIPTABLE NS_IMETHOD SetAddressFormat(const nsAString & aAddressFormat); \
NS_SCRIPTABLE NS_IMETHOD GetCommentFormat(nsAString & aCommentFormat); \
NS_SCRIPTABLE NS_IMETHOD SetCommentFormat(const nsAString & aCommentFormat);
/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIABLDAPAUTOCOMPFORMATTER(_to) \
NS_SCRIPTABLE NS_IMETHOD GetNameFormat(nsAString & aNameFormat) { return _to GetNameFormat(aNameFormat); } \
NS_SCRIPTABLE NS_IMETHOD SetNameFormat(const nsAString & aNameFormat) { return _to SetNameFormat(aNameFormat); } \
NS_SCRIPTABLE NS_IMETHOD GetAddressFormat(nsAString & aAddressFormat) { return _to GetAddressFormat(aAddressFormat); } \
NS_SCRIPTABLE NS_IMETHOD SetAddressFormat(const nsAString & aAddressFormat) { return _to SetAddressFormat(aAddressFormat); } \
NS_SCRIPTABLE NS_IMETHOD GetCommentFormat(nsAString & aCommentFormat) { return _to GetCommentFormat(aCommentFormat); } \
NS_SCRIPTABLE NS_IMETHOD SetCommentFormat(const nsAString & aCommentFormat) { return _to SetCommentFormat(aCommentFormat); }
/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSIABLDAPAUTOCOMPFORMATTER(_to) \
NS_SCRIPTABLE NS_IMETHOD GetNameFormat(nsAString & aNameFormat) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetNameFormat(aNameFormat); } \
NS_SCRIPTABLE NS_IMETHOD SetNameFormat(const nsAString & aNameFormat) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetNameFormat(aNameFormat); } \
NS_SCRIPTABLE NS_IMETHOD GetAddressFormat(nsAString & aAddressFormat) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAddressFormat(aAddressFormat); } \
NS_SCRIPTABLE NS_IMETHOD SetAddressFormat(const nsAString & aAddressFormat) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetAddressFormat(aAddressFormat); } \
NS_SCRIPTABLE NS_IMETHOD GetCommentFormat(nsAString & aCommentFormat) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCommentFormat(aCommentFormat); } \
NS_SCRIPTABLE NS_IMETHOD SetCommentFormat(const nsAString & aCommentFormat) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetCommentFormat(aCommentFormat); }
#if 0
/* Use the code below as a template for the implementation class for this interface. */
/* Header file */
class nsAbLDAPAutoCompFormatter : public nsIAbLDAPAutoCompFormatter
{
public:
NS_DECL_ISUPPORTS
NS_DECL_NSIABLDAPAUTOCOMPFORMATTER
nsAbLDAPAutoCompFormatter();
private:
~nsAbLDAPAutoCompFormatter();
protected:
/* additional members */
};
/* Implementation file */
NS_IMPL_ISUPPORTS1(nsAbLDAPAutoCompFormatter, nsIAbLDAPAutoCompFormatter)
nsAbLDAPAutoCompFormatter::nsAbLDAPAutoCompFormatter()
{
/* member initializers and constructor code */
}
nsAbLDAPAutoCompFormatter::~nsAbLDAPAutoCompFormatter()
{
/* destructor code */
}
/* attribute AString nameFormat; */
NS_IMETHODIMP nsAbLDAPAutoCompFormatter::GetNameFormat(nsAString & aNameFormat)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsAbLDAPAutoCompFormatter::SetNameFormat(const nsAString & aNameFormat)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute AString addressFormat; */
NS_IMETHODIMP nsAbLDAPAutoCompFormatter::GetAddressFormat(nsAString & aAddressFormat)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsAbLDAPAutoCompFormatter::SetAddressFormat(const nsAString & aAddressFormat)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute AString commentFormat; */
NS_IMETHODIMP nsAbLDAPAutoCompFormatter::GetCommentFormat(nsAString & aCommentFormat)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsAbLDAPAutoCompFormatter::SetCommentFormat(const nsAString & aCommentFormat)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* End of implementation class template. */
#endif
#endif /* __gen_nsIAbLDAPAutoCompFormatter_h__ */
|