/usr/include/thunderbird/msgIFooUrl.h is in thunderbird-dev 1:52.7.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 | /*
* DO NOT EDIT. THIS FILE IS GENERATED FROM ../../../dist/idl/msgIFooUrl.idl
*/
#ifndef __gen_msgIFooUrl_h__
#define __gen_msgIFooUrl_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
/* starting interface: msgIFooUrl */
#define MSGIFOOURL_IID_STR "12cad9fc-57fc-4aee-a800-895a289237dd"
#define MSGIFOOURL_IID \
{0x12cad9fc, 0x57fc, 0x4aee, \
{ 0xa8, 0x00, 0x89, 0x5a, 0x28, 0x92, 0x37, 0xdd }}
class NS_NO_VTABLE msgIFooUrl : public nsISupports {
public:
NS_DECLARE_STATIC_IID_ACCESSOR(MSGIFOOURL_IID)
/* attribute AString itemId; */
NS_IMETHOD GetItemId(nsAString & aItemId) = 0;
NS_IMETHOD SetItemId(const nsAString & aItemId) = 0;
/* readonly attribute boolean isAttachment; */
NS_IMETHOD GetIsAttachment(bool *aIsAttachment) = 0;
/* void setUrlType (in unsigned long aType); */
NS_IMETHOD SetUrlType(uint32_t aType) = 0;
};
NS_DEFINE_STATIC_IID_ACCESSOR(msgIFooUrl, MSGIFOOURL_IID)
/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_MSGIFOOURL \
NS_IMETHOD GetItemId(nsAString & aItemId) override; \
NS_IMETHOD SetItemId(const nsAString & aItemId) override; \
NS_IMETHOD GetIsAttachment(bool *aIsAttachment) override; \
NS_IMETHOD SetUrlType(uint32_t aType) 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_MSGIFOOURL \
NS_METHOD GetItemId(nsAString & aItemId); \
NS_METHOD SetItemId(const nsAString & aItemId); \
NS_METHOD GetIsAttachment(bool *aIsAttachment); \
NS_METHOD SetUrlType(uint32_t aType);
/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_MSGIFOOURL(_to) \
NS_IMETHOD GetItemId(nsAString & aItemId) override { return _to GetItemId(aItemId); } \
NS_IMETHOD SetItemId(const nsAString & aItemId) override { return _to SetItemId(aItemId); } \
NS_IMETHOD GetIsAttachment(bool *aIsAttachment) override { return _to GetIsAttachment(aIsAttachment); } \
NS_IMETHOD SetUrlType(uint32_t aType) override { return _to SetUrlType(aType); }
/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_MSGIFOOURL(_to) \
NS_IMETHOD GetItemId(nsAString & aItemId) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetItemId(aItemId); } \
NS_IMETHOD SetItemId(const nsAString & aItemId) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetItemId(aItemId); } \
NS_IMETHOD GetIsAttachment(bool *aIsAttachment) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetIsAttachment(aIsAttachment); } \
NS_IMETHOD SetUrlType(uint32_t aType) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetUrlType(aType); }
#if 0
/* Use the code below as a template for the implementation class for this interface. */
/* Header file */
class _MYCLASS_ : public msgIFooUrl
{
public:
NS_DECL_ISUPPORTS
NS_DECL_MSGIFOOURL
_MYCLASS_();
private:
~_MYCLASS_();
protected:
/* additional members */
};
/* Implementation file */
NS_IMPL_ISUPPORTS(_MYCLASS_, msgIFooUrl)
_MYCLASS_::_MYCLASS_()
{
/* member initializers and constructor code */
}
_MYCLASS_::~_MYCLASS_()
{
/* destructor code */
}
/* attribute AString itemId; */
NS_IMETHODIMP _MYCLASS_::GetItemId(nsAString & aItemId)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP _MYCLASS_::SetItemId(const nsAString & aItemId)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute boolean isAttachment; */
NS_IMETHODIMP _MYCLASS_::GetIsAttachment(bool *aIsAttachment)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void setUrlType (in unsigned long aType); */
NS_IMETHODIMP _MYCLASS_::SetUrlType(uint32_t aType)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* End of implementation class template. */
#endif
#endif /* __gen_msgIFooUrl_h__ */
|