/usr/include/thunderbird/nsINNTPNewsgroupList.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 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 | /*
* DO NOT EDIT. THIS FILE IS GENERATED FROM ../../../dist/idl/nsINNTPNewsgroupList.idl
*/
#ifndef __gen_nsINNTPNewsgroupList_h__
#define __gen_nsINNTPNewsgroupList_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 nsIMsgNewsFolder; /* forward declaration */
class nsINntpUrl; /* forward declaration */
class nsIMsgWindow; /* forward declaration */
/* starting interface: nsINNTPNewsgroupList */
#define NS_INNTPNEWSGROUPLIST_IID_STR "579aa17b-4c77-465d-8eb6-feaa927cb19c"
#define NS_INNTPNEWSGROUPLIST_IID \
{0x579aa17b, 0x4c77, 0x465d, \
{ 0x8e, 0xb6, 0xfe, 0xaa, 0x92, 0x7c, 0xb1, 0x9c }}
class NS_NO_VTABLE nsINNTPNewsgroupList : public nsISupports {
public:
NS_DECLARE_STATIC_IID_ACCESSOR(NS_INNTPNEWSGROUPLIST_IID)
/* void initialize (in nsINntpUrl runningURL, in nsIMsgNewsFolder newsFolder); */
NS_IMETHOD Initialize(nsINntpUrl *runningURL, nsIMsgNewsFolder *newsFolder) = 0;
/* long getRangeOfArtsToDownload (in nsIMsgWindow aMsgWindow, in long first_message, in long last_message, in long maxextra, out long real_first_message, out long real_last_message); */
NS_IMETHOD GetRangeOfArtsToDownload(nsIMsgWindow *aMsgWindow, int32_t first_message, int32_t last_message, int32_t maxextra, int32_t *real_first_message, int32_t *real_last_message, int32_t *_retval) = 0;
/* void addToKnownArticles (in long first_message, in long last_message); */
NS_IMETHOD AddToKnownArticles(int32_t first_message, int32_t last_message) = 0;
/* void initXOVER (in long first_message, in long last_message); */
NS_IMETHOD InitXOVER(int32_t first_message, int32_t last_message) = 0;
/* void processXOVERLINE (in string line, out unsigned long status); */
NS_IMETHOD ProcessXOVERLINE(const char * line, uint32_t *status) = 0;
/* void resetXOVER (); */
NS_IMETHOD ResetXOVER(void) = 0;
/* void finishXOVERLINE (in long status, out long newstatus); */
NS_IMETHOD FinishXOVERLINE(int32_t status, int32_t *newstatus) = 0;
/* ACString initXHDR (); */
NS_IMETHOD InitXHDR(nsACString & _retval) = 0;
/* void processXHDRLine (in ACString aLine); */
NS_IMETHOD ProcessXHDRLine(const nsACString & aLine) = 0;
/* void initHEAD (in long aMessage); */
NS_IMETHOD InitHEAD(int32_t aMessage) = 0;
/* void processHEADLine (in ACString aLine); */
NS_IMETHOD ProcessHEADLine(const nsACString & aLine) = 0;
/* void HEADFailed (in long aMessage); */
NS_IMETHOD HEADFailed(int32_t aMessage) = 0;
/* void callFilters (); */
NS_IMETHOD CallFilters(void) = 0;
/* attribute boolean getOldMessages; */
NS_IMETHOD GetGetOldMessages(bool *aGetOldMessages) = 0;
NS_IMETHOD SetGetOldMessages(bool aGetOldMessages) = 0;
};
NS_DEFINE_STATIC_IID_ACCESSOR(nsINNTPNewsgroupList, NS_INNTPNEWSGROUPLIST_IID)
/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSINNTPNEWSGROUPLIST \
NS_IMETHOD Initialize(nsINntpUrl *runningURL, nsIMsgNewsFolder *newsFolder) override; \
NS_IMETHOD GetRangeOfArtsToDownload(nsIMsgWindow *aMsgWindow, int32_t first_message, int32_t last_message, int32_t maxextra, int32_t *real_first_message, int32_t *real_last_message, int32_t *_retval) override; \
NS_IMETHOD AddToKnownArticles(int32_t first_message, int32_t last_message) override; \
NS_IMETHOD InitXOVER(int32_t first_message, int32_t last_message) override; \
NS_IMETHOD ProcessXOVERLINE(const char * line, uint32_t *status) override; \
NS_IMETHOD ResetXOVER(void) override; \
NS_IMETHOD FinishXOVERLINE(int32_t status, int32_t *newstatus) override; \
NS_IMETHOD InitXHDR(nsACString & _retval) override; \
NS_IMETHOD ProcessXHDRLine(const nsACString & aLine) override; \
NS_IMETHOD InitHEAD(int32_t aMessage) override; \
NS_IMETHOD ProcessHEADLine(const nsACString & aLine) override; \
NS_IMETHOD HEADFailed(int32_t aMessage) override; \
NS_IMETHOD CallFilters(void) override; \
NS_IMETHOD GetGetOldMessages(bool *aGetOldMessages) override; \
NS_IMETHOD SetGetOldMessages(bool aGetOldMessages) 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_NSINNTPNEWSGROUPLIST \
NS_METHOD Initialize(nsINntpUrl *runningURL, nsIMsgNewsFolder *newsFolder); \
NS_METHOD GetRangeOfArtsToDownload(nsIMsgWindow *aMsgWindow, int32_t first_message, int32_t last_message, int32_t maxextra, int32_t *real_first_message, int32_t *real_last_message, int32_t *_retval); \
NS_METHOD AddToKnownArticles(int32_t first_message, int32_t last_message); \
NS_METHOD InitXOVER(int32_t first_message, int32_t last_message); \
NS_METHOD ProcessXOVERLINE(const char * line, uint32_t *status); \
NS_METHOD ResetXOVER(void); \
NS_METHOD FinishXOVERLINE(int32_t status, int32_t *newstatus); \
NS_METHOD InitXHDR(nsACString & _retval); \
NS_METHOD ProcessXHDRLine(const nsACString & aLine); \
NS_METHOD InitHEAD(int32_t aMessage); \
NS_METHOD ProcessHEADLine(const nsACString & aLine); \
NS_METHOD HEADFailed(int32_t aMessage); \
NS_METHOD CallFilters(void); \
NS_METHOD GetGetOldMessages(bool *aGetOldMessages); \
NS_METHOD SetGetOldMessages(bool aGetOldMessages);
/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSINNTPNEWSGROUPLIST(_to) \
NS_IMETHOD Initialize(nsINntpUrl *runningURL, nsIMsgNewsFolder *newsFolder) override { return _to Initialize(runningURL, newsFolder); } \
NS_IMETHOD GetRangeOfArtsToDownload(nsIMsgWindow *aMsgWindow, int32_t first_message, int32_t last_message, int32_t maxextra, int32_t *real_first_message, int32_t *real_last_message, int32_t *_retval) override { return _to GetRangeOfArtsToDownload(aMsgWindow, first_message, last_message, maxextra, real_first_message, real_last_message, _retval); } \
NS_IMETHOD AddToKnownArticles(int32_t first_message, int32_t last_message) override { return _to AddToKnownArticles(first_message, last_message); } \
NS_IMETHOD InitXOVER(int32_t first_message, int32_t last_message) override { return _to InitXOVER(first_message, last_message); } \
NS_IMETHOD ProcessXOVERLINE(const char * line, uint32_t *status) override { return _to ProcessXOVERLINE(line, status); } \
NS_IMETHOD ResetXOVER(void) override { return _to ResetXOVER(); } \
NS_IMETHOD FinishXOVERLINE(int32_t status, int32_t *newstatus) override { return _to FinishXOVERLINE(status, newstatus); } \
NS_IMETHOD InitXHDR(nsACString & _retval) override { return _to InitXHDR(_retval); } \
NS_IMETHOD ProcessXHDRLine(const nsACString & aLine) override { return _to ProcessXHDRLine(aLine); } \
NS_IMETHOD InitHEAD(int32_t aMessage) override { return _to InitHEAD(aMessage); } \
NS_IMETHOD ProcessHEADLine(const nsACString & aLine) override { return _to ProcessHEADLine(aLine); } \
NS_IMETHOD HEADFailed(int32_t aMessage) override { return _to HEADFailed(aMessage); } \
NS_IMETHOD CallFilters(void) override { return _to CallFilters(); } \
NS_IMETHOD GetGetOldMessages(bool *aGetOldMessages) override { return _to GetGetOldMessages(aGetOldMessages); } \
NS_IMETHOD SetGetOldMessages(bool aGetOldMessages) override { return _to SetGetOldMessages(aGetOldMessages); }
/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSINNTPNEWSGROUPLIST(_to) \
NS_IMETHOD Initialize(nsINntpUrl *runningURL, nsIMsgNewsFolder *newsFolder) override { return !_to ? NS_ERROR_NULL_POINTER : _to->Initialize(runningURL, newsFolder); } \
NS_IMETHOD GetRangeOfArtsToDownload(nsIMsgWindow *aMsgWindow, int32_t first_message, int32_t last_message, int32_t maxextra, int32_t *real_first_message, int32_t *real_last_message, int32_t *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetRangeOfArtsToDownload(aMsgWindow, first_message, last_message, maxextra, real_first_message, real_last_message, _retval); } \
NS_IMETHOD AddToKnownArticles(int32_t first_message, int32_t last_message) override { return !_to ? NS_ERROR_NULL_POINTER : _to->AddToKnownArticles(first_message, last_message); } \
NS_IMETHOD InitXOVER(int32_t first_message, int32_t last_message) override { return !_to ? NS_ERROR_NULL_POINTER : _to->InitXOVER(first_message, last_message); } \
NS_IMETHOD ProcessXOVERLINE(const char * line, uint32_t *status) override { return !_to ? NS_ERROR_NULL_POINTER : _to->ProcessXOVERLINE(line, status); } \
NS_IMETHOD ResetXOVER(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->ResetXOVER(); } \
NS_IMETHOD FinishXOVERLINE(int32_t status, int32_t *newstatus) override { return !_to ? NS_ERROR_NULL_POINTER : _to->FinishXOVERLINE(status, newstatus); } \
NS_IMETHOD InitXHDR(nsACString & _retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->InitXHDR(_retval); } \
NS_IMETHOD ProcessXHDRLine(const nsACString & aLine) override { return !_to ? NS_ERROR_NULL_POINTER : _to->ProcessXHDRLine(aLine); } \
NS_IMETHOD InitHEAD(int32_t aMessage) override { return !_to ? NS_ERROR_NULL_POINTER : _to->InitHEAD(aMessage); } \
NS_IMETHOD ProcessHEADLine(const nsACString & aLine) override { return !_to ? NS_ERROR_NULL_POINTER : _to->ProcessHEADLine(aLine); } \
NS_IMETHOD HEADFailed(int32_t aMessage) override { return !_to ? NS_ERROR_NULL_POINTER : _to->HEADFailed(aMessage); } \
NS_IMETHOD CallFilters(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->CallFilters(); } \
NS_IMETHOD GetGetOldMessages(bool *aGetOldMessages) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetGetOldMessages(aGetOldMessages); } \
NS_IMETHOD SetGetOldMessages(bool aGetOldMessages) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetGetOldMessages(aGetOldMessages); }
#if 0
/* Use the code below as a template for the implementation class for this interface. */
/* Header file */
class nsNNTPNewsgroupList : public nsINNTPNewsgroupList
{
public:
NS_DECL_ISUPPORTS
NS_DECL_NSINNTPNEWSGROUPLIST
nsNNTPNewsgroupList();
private:
~nsNNTPNewsgroupList();
protected:
/* additional members */
};
/* Implementation file */
NS_IMPL_ISUPPORTS(nsNNTPNewsgroupList, nsINNTPNewsgroupList)
nsNNTPNewsgroupList::nsNNTPNewsgroupList()
{
/* member initializers and constructor code */
}
nsNNTPNewsgroupList::~nsNNTPNewsgroupList()
{
/* destructor code */
}
/* void initialize (in nsINntpUrl runningURL, in nsIMsgNewsFolder newsFolder); */
NS_IMETHODIMP nsNNTPNewsgroupList::Initialize(nsINntpUrl *runningURL, nsIMsgNewsFolder *newsFolder)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* long getRangeOfArtsToDownload (in nsIMsgWindow aMsgWindow, in long first_message, in long last_message, in long maxextra, out long real_first_message, out long real_last_message); */
NS_IMETHODIMP nsNNTPNewsgroupList::GetRangeOfArtsToDownload(nsIMsgWindow *aMsgWindow, int32_t first_message, int32_t last_message, int32_t maxextra, int32_t *real_first_message, int32_t *real_last_message, int32_t *_retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void addToKnownArticles (in long first_message, in long last_message); */
NS_IMETHODIMP nsNNTPNewsgroupList::AddToKnownArticles(int32_t first_message, int32_t last_message)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void initXOVER (in long first_message, in long last_message); */
NS_IMETHODIMP nsNNTPNewsgroupList::InitXOVER(int32_t first_message, int32_t last_message)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void processXOVERLINE (in string line, out unsigned long status); */
NS_IMETHODIMP nsNNTPNewsgroupList::ProcessXOVERLINE(const char * line, uint32_t *status)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void resetXOVER (); */
NS_IMETHODIMP nsNNTPNewsgroupList::ResetXOVER()
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void finishXOVERLINE (in long status, out long newstatus); */
NS_IMETHODIMP nsNNTPNewsgroupList::FinishXOVERLINE(int32_t status, int32_t *newstatus)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* ACString initXHDR (); */
NS_IMETHODIMP nsNNTPNewsgroupList::InitXHDR(nsACString & _retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void processXHDRLine (in ACString aLine); */
NS_IMETHODIMP nsNNTPNewsgroupList::ProcessXHDRLine(const nsACString & aLine)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void initHEAD (in long aMessage); */
NS_IMETHODIMP nsNNTPNewsgroupList::InitHEAD(int32_t aMessage)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void processHEADLine (in ACString aLine); */
NS_IMETHODIMP nsNNTPNewsgroupList::ProcessHEADLine(const nsACString & aLine)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void HEADFailed (in long aMessage); */
NS_IMETHODIMP nsNNTPNewsgroupList::HEADFailed(int32_t aMessage)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void callFilters (); */
NS_IMETHODIMP nsNNTPNewsgroupList::CallFilters()
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute boolean getOldMessages; */
NS_IMETHODIMP nsNNTPNewsgroupList::GetGetOldMessages(bool *aGetOldMessages)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsNNTPNewsgroupList::SetGetOldMessages(bool aGetOldMessages)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* End of implementation class template. */
#endif
#endif /* __gen_nsINNTPNewsgroupList_h__ */
|