/usr/include/thunderbird-11.0.1/nsIPop3URL.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 | /*
* DO NOT EDIT. THIS FILE IS GENERATED FROM /build/buildd/thunderbird-11.0.1+build1/build-tree/mozilla/mailnews/local/public/nsIPop3URL.idl
*/
#ifndef __gen_nsIPop3URL_h__
#define __gen_nsIPop3URL_h__
#ifndef __gen_nsISupports_h__
#include "nsISupports.h"
#endif
#ifndef __gen_nsIPop3Sink_h__
#include "nsIPop3Sink.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: nsIPop3URL */
#define NS_IPOP3URL_IID_STR "5fb87ae7-a3a0-440a-8b49-6bca42fb7ff2"
#define NS_IPOP3URL_IID \
{0x5fb87ae7, 0xa3a0, 0x440a, \
{ 0x8b, 0x49, 0x6b, 0xca, 0x42, 0xfb, 0x7f, 0xf2 }}
class NS_NO_VTABLE NS_SCRIPTABLE nsIPop3URL : public nsISupports {
public:
NS_DECLARE_STATIC_IID_ACCESSOR(NS_IPOP3URL_IID)
/* attribute nsIPop3Sink pop3Sink; */
NS_SCRIPTABLE NS_IMETHOD GetPop3Sink(nsIPop3Sink * *aPop3Sink) = 0;
NS_SCRIPTABLE NS_IMETHOD SetPop3Sink(nsIPop3Sink *aPop3Sink) = 0;
/* attribute string messageUri; */
NS_SCRIPTABLE NS_IMETHOD GetMessageUri(char * *aMessageUri) = 0;
NS_SCRIPTABLE NS_IMETHOD SetMessageUri(const char * aMessageUri) = 0;
enum {
DEFAULT_POP3_PORT = 110,
DEFAULT_POP3S_PORT = 995
};
};
NS_DEFINE_STATIC_IID_ACCESSOR(nsIPop3URL, NS_IPOP3URL_IID)
/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIPOP3URL \
NS_SCRIPTABLE NS_IMETHOD GetPop3Sink(nsIPop3Sink * *aPop3Sink); \
NS_SCRIPTABLE NS_IMETHOD SetPop3Sink(nsIPop3Sink *aPop3Sink); \
NS_SCRIPTABLE NS_IMETHOD GetMessageUri(char * *aMessageUri); \
NS_SCRIPTABLE NS_IMETHOD SetMessageUri(const char * aMessageUri); \
/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIPOP3URL(_to) \
NS_SCRIPTABLE NS_IMETHOD GetPop3Sink(nsIPop3Sink * *aPop3Sink) { return _to GetPop3Sink(aPop3Sink); } \
NS_SCRIPTABLE NS_IMETHOD SetPop3Sink(nsIPop3Sink *aPop3Sink) { return _to SetPop3Sink(aPop3Sink); } \
NS_SCRIPTABLE NS_IMETHOD GetMessageUri(char * *aMessageUri) { return _to GetMessageUri(aMessageUri); } \
NS_SCRIPTABLE NS_IMETHOD SetMessageUri(const char * aMessageUri) { return _to SetMessageUri(aMessageUri); } \
/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSIPOP3URL(_to) \
NS_SCRIPTABLE NS_IMETHOD GetPop3Sink(nsIPop3Sink * *aPop3Sink) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetPop3Sink(aPop3Sink); } \
NS_SCRIPTABLE NS_IMETHOD SetPop3Sink(nsIPop3Sink *aPop3Sink) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetPop3Sink(aPop3Sink); } \
NS_SCRIPTABLE NS_IMETHOD GetMessageUri(char * *aMessageUri) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetMessageUri(aMessageUri); } \
NS_SCRIPTABLE NS_IMETHOD SetMessageUri(const char * aMessageUri) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetMessageUri(aMessageUri); } \
#if 0
/* Use the code below as a template for the implementation class for this interface. */
/* Header file */
class nsPop3URL : public nsIPop3URL
{
public:
NS_DECL_ISUPPORTS
NS_DECL_NSIPOP3URL
nsPop3URL();
private:
~nsPop3URL();
protected:
/* additional members */
};
/* Implementation file */
NS_IMPL_ISUPPORTS1(nsPop3URL, nsIPop3URL)
nsPop3URL::nsPop3URL()
{
/* member initializers and constructor code */
}
nsPop3URL::~nsPop3URL()
{
/* destructor code */
}
/* attribute nsIPop3Sink pop3Sink; */
NS_IMETHODIMP nsPop3URL::GetPop3Sink(nsIPop3Sink * *aPop3Sink)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsPop3URL::SetPop3Sink(nsIPop3Sink *aPop3Sink)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute string messageUri; */
NS_IMETHODIMP nsPop3URL::GetMessageUri(char * *aMessageUri)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsPop3URL::SetMessageUri(const char * aMessageUri)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* End of implementation class template. */
#endif
#endif /* __gen_nsIPop3URL_h__ */
|