/usr/include/thunderbird/nsIImportSettings.h is in thunderbird-dev 1:52.8.0-1~deb8u1.
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 | /*
* DO NOT EDIT. THIS FILE IS GENERATED FROM ../../../dist/idl/nsIImportSettings.idl
*/
#ifndef __gen_nsIImportSettings_h__
#define __gen_nsIImportSettings_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 nsIMsgAccount; /* forward declaration */
class nsIFile; /* forward declaration */
/* starting interface: nsIImportSettings */
#define NS_IIMPORTSETTINGS_IID_STR "1c0e3012-bc4d-4fb2-be6a-0335c7bab9ac"
#define NS_IIMPORTSETTINGS_IID \
{0x1c0e3012, 0xbc4d, 0x4fb2, \
{ 0xbe, 0x6a, 0x03, 0x35, 0xc7, 0xba, 0xb9, 0xac }}
class NS_NO_VTABLE nsIImportSettings : public nsISupports {
public:
NS_DECLARE_STATIC_IID_ACCESSOR(NS_IIMPORTSETTINGS_IID)
/* boolean AutoLocate (out wstring description, out nsIFile location); */
NS_IMETHOD AutoLocate(char16_t * *description, nsIFile * *location, bool *_retval) = 0;
/* void SetLocation (in nsIFile location); */
NS_IMETHOD SetLocation(nsIFile *location) = 0;
/* boolean Import (out nsIMsgAccount localMailAccount); */
NS_IMETHOD Import(nsIMsgAccount * *localMailAccount, bool *_retval) = 0;
};
NS_DEFINE_STATIC_IID_ACCESSOR(nsIImportSettings, NS_IIMPORTSETTINGS_IID)
/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIIMPORTSETTINGS \
NS_IMETHOD AutoLocate(char16_t * *description, nsIFile * *location, bool *_retval) override; \
NS_IMETHOD SetLocation(nsIFile *location) override; \
NS_IMETHOD Import(nsIMsgAccount * *localMailAccount, bool *_retval) 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_NSIIMPORTSETTINGS \
NS_METHOD AutoLocate(char16_t * *description, nsIFile * *location, bool *_retval); \
NS_METHOD SetLocation(nsIFile *location); \
NS_METHOD Import(nsIMsgAccount * *localMailAccount, bool *_retval);
/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIIMPORTSETTINGS(_to) \
NS_IMETHOD AutoLocate(char16_t * *description, nsIFile * *location, bool *_retval) override { return _to AutoLocate(description, location, _retval); } \
NS_IMETHOD SetLocation(nsIFile *location) override { return _to SetLocation(location); } \
NS_IMETHOD Import(nsIMsgAccount * *localMailAccount, bool *_retval) override { return _to Import(localMailAccount, _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_NSIIMPORTSETTINGS(_to) \
NS_IMETHOD AutoLocate(char16_t * *description, nsIFile * *location, bool *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->AutoLocate(description, location, _retval); } \
NS_IMETHOD SetLocation(nsIFile *location) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetLocation(location); } \
NS_IMETHOD Import(nsIMsgAccount * *localMailAccount, bool *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->Import(localMailAccount, _retval); }
#if 0
/* Use the code below as a template for the implementation class for this interface. */
/* Header file */
class nsImportSettings : public nsIImportSettings
{
public:
NS_DECL_ISUPPORTS
NS_DECL_NSIIMPORTSETTINGS
nsImportSettings();
private:
~nsImportSettings();
protected:
/* additional members */
};
/* Implementation file */
NS_IMPL_ISUPPORTS(nsImportSettings, nsIImportSettings)
nsImportSettings::nsImportSettings()
{
/* member initializers and constructor code */
}
nsImportSettings::~nsImportSettings()
{
/* destructor code */
}
/* boolean AutoLocate (out wstring description, out nsIFile location); */
NS_IMETHODIMP nsImportSettings::AutoLocate(char16_t * *description, nsIFile * *location, bool *_retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void SetLocation (in nsIFile location); */
NS_IMETHODIMP nsImportSettings::SetLocation(nsIFile *location)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* boolean Import (out nsIMsgAccount localMailAccount); */
NS_IMETHODIMP nsImportSettings::Import(nsIMsgAccount * *localMailAccount, bool *_retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* End of implementation class template. */
#endif
#endif /* __gen_nsIImportSettings_h__ */
|