aboutsummaryrefslogtreecommitdiffstats
path: root/embed/mozilla/ephyIAddCertExceptionParams.h
blob: 1d4d24d7ec434167300995aa4a009a54826bc999 (plain) (blame)
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
/*
 * DO NOT EDIT.  THIS FILE IS GENERATED FROM ephyIAddCertExceptionParams.idl
 */

#ifndef __gen_ephyIAddCertExceptionParams_h__
#define __gen_ephyIAddCertExceptionParams_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:    ephyIAddCertExceptionParams */
#define EPHYIADDCERTEXCEPTIONPARAMS_IID_STR "2bac2eb2-cd10-4e3f-802e-dade8096d6c5"

#define EPHYIADDCERTEXCEPTIONPARAMS_IID \
  {0x2bac2eb2, 0xcd10, 0x4e3f, \
    { 0x80, 0x2e, 0xda, 0xde, 0x80, 0x96, 0xd6, 0xc5 }}

class NS_NO_VTABLE ephyIAddCertExceptionParams : public nsISupports {
 public: 

  NS_DEFINE_STATIC_IID_ACCESSOR(EPHYIADDCERTEXCEPTIONPARAMS_IID)

  /* readonly attribute boolean prefetchCert; */
  NS_IMETHOD GetPrefetchCert(PRBool *aPrefetchCert) = 0;

  /* readonly attribute AString location; */
  NS_IMETHOD GetLocation(nsAString & aLocation) = 0;

  /* attribute boolean exceptionAdded; */
  NS_IMETHOD GetExceptionAdded(PRBool *aExceptionAdded) = 0;
  NS_IMETHOD SetExceptionAdded(PRBool aExceptionAdded) = 0;

};

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_EPHYIADDCERTEXCEPTIONPARAMS \
  NS_IMETHOD GetPrefetchCert(PRBool *aPrefetchCert); \
  NS_IMETHOD GetLocation(nsAString & aLocation); \
  NS_IMETHOD GetExceptionAdded(PRBool *aExceptionAdded); \
  NS_IMETHOD SetExceptionAdded(PRBool aExceptionAdded); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_EPHYIADDCERTEXCEPTIONPARAMS(_to) \
  NS_IMETHOD GetPrefetchCert(PRBool *aPrefetchCert) { return _to GetPrefetchCert(aPrefetchCert); } \
  NS_IMETHOD GetLocation(nsAString & aLocation) { return _to GetLocation(aLocation); } \
  NS_IMETHOD GetExceptionAdded(PRBool *aExceptionAdded) { return _to GetExceptionAdded(aExceptionAdded); } \
  NS_IMETHOD SetExceptionAdded(PRBool aExceptionAdded) { return _to SetExceptionAdded(aExceptionAdded); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_EPHYIADDCERTEXCEPTIONPARAMS(_to) \
  NS_IMETHOD GetPrefetchCert(PRBool *aPrefetchCert) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetPrefetchCert(aPrefetchCert); } \
  NS_IMETHOD GetLocation(nsAString & aLocation) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLocation(aLocation); } \
  NS_IMETHOD GetExceptionAdded(PRBool *aExceptionAdded) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetExceptionAdded(aExceptionAdded); } \
  NS_IMETHOD SetExceptionAdded(PRBool aExceptionAdded) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetExceptionAdded(aExceptionAdded); } 

#if 0
/* Use the code below as a template for the implementation class for this interface. */

/* Header file */
class _MYCLASS_ : public ephyIAddCertExceptionParams
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_EPHYIADDCERTEXCEPTIONPARAMS

  _MYCLASS_();

private:
  ~_MYCLASS_();

protected:
  /* additional members */
};

/* Implementation file */
NS_IMPL_ISUPPORTS1(_MYCLASS_, ephyIAddCertExceptionParams)

_MYCLASS_::_MYCLASS_()
{
  /* member initializers and constructor code */
}

_MYCLASS_::~_MYCLASS_()
{
  /* destructor code */
}

/* readonly attribute boolean prefetchCert; */
NS_IMETHODIMP _MYCLASS_::GetPrefetchCert(PRBool *aPrefetchCert)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute AString location; */
NS_IMETHODIMP _MYCLASS_::GetLocation(nsAString & aLocation)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute boolean exceptionAdded; */
NS_IMETHODIMP _MYCLASS_::GetExceptionAdded(PRBool *aExceptionAdded)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP _MYCLASS_::SetExceptionAdded(PRBool aExceptionAdded)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* End of implementation class template. */
#endif


#endif /* __gen_ephyIAddCertExceptionParams_h__ */