1 : /*
2 : * DO NOT EDIT. THIS FILE IS GENERATED FROM /builds/slave/m-beta-lnx-codecoverage/build/toolkit/components/satchel/nsIFormFillController.idl
3 : */
4 :
5 : #ifndef __gen_nsIFormFillController_h__
6 : #define __gen_nsIFormFillController_h__
7 :
8 :
9 : #ifndef __gen_nsISupports_h__
10 : #include "nsISupports.h"
11 : #endif
12 :
13 : /* For IDL files that don't want to include root IDL files. */
14 : #ifndef NS_NO_VTABLE
15 : #define NS_NO_VTABLE
16 : #endif
17 : class nsIDocShell; /* forward declaration */
18 :
19 : class nsIAutoCompletePopup; /* forward declaration */
20 :
21 : class nsIDOMHTMLInputElement; /* forward declaration */
22 :
23 :
24 : /* starting interface: nsIFormFillController */
25 : #define NS_IFORMFILLCONTROLLER_IID_STR "07f0a0dc-f6e9-4cdd-a55f-56d770523a4c"
26 :
27 : #define NS_IFORMFILLCONTROLLER_IID \
28 : {0x07f0a0dc, 0xf6e9, 0x4cdd, \
29 : { 0xa5, 0x5f, 0x56, 0xd7, 0x70, 0x52, 0x3a, 0x4c }}
30 :
31 0 : class NS_NO_VTABLE NS_SCRIPTABLE nsIFormFillController : public nsISupports {
32 : public:
33 :
34 : NS_DECLARE_STATIC_IID_ACCESSOR(NS_IFORMFILLCONTROLLER_IID)
35 :
36 : /* void attachToBrowser (in nsIDocShell docShell, in nsIAutoCompletePopup popup); */
37 : NS_SCRIPTABLE NS_IMETHOD AttachToBrowser(nsIDocShell *docShell, nsIAutoCompletePopup *popup) = 0;
38 :
39 : /* void detachFromBrowser (in nsIDocShell docShell); */
40 : NS_SCRIPTABLE NS_IMETHOD DetachFromBrowser(nsIDocShell *docShell) = 0;
41 :
42 : /* void markAsLoginManagerField (in nsIDOMHTMLInputElement aInput); */
43 : NS_SCRIPTABLE NS_IMETHOD MarkAsLoginManagerField(nsIDOMHTMLInputElement *aInput) = 0;
44 :
45 : };
46 :
47 : NS_DEFINE_STATIC_IID_ACCESSOR(nsIFormFillController, NS_IFORMFILLCONTROLLER_IID)
48 :
49 : /* Use this macro when declaring classes that implement this interface. */
50 : #define NS_DECL_NSIFORMFILLCONTROLLER \
51 : NS_SCRIPTABLE NS_IMETHOD AttachToBrowser(nsIDocShell *docShell, nsIAutoCompletePopup *popup); \
52 : NS_SCRIPTABLE NS_IMETHOD DetachFromBrowser(nsIDocShell *docShell); \
53 : NS_SCRIPTABLE NS_IMETHOD MarkAsLoginManagerField(nsIDOMHTMLInputElement *aInput);
54 :
55 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
56 : #define NS_FORWARD_NSIFORMFILLCONTROLLER(_to) \
57 : NS_SCRIPTABLE NS_IMETHOD AttachToBrowser(nsIDocShell *docShell, nsIAutoCompletePopup *popup) { return _to AttachToBrowser(docShell, popup); } \
58 : NS_SCRIPTABLE NS_IMETHOD DetachFromBrowser(nsIDocShell *docShell) { return _to DetachFromBrowser(docShell); } \
59 : NS_SCRIPTABLE NS_IMETHOD MarkAsLoginManagerField(nsIDOMHTMLInputElement *aInput) { return _to MarkAsLoginManagerField(aInput); }
60 :
61 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
62 : #define NS_FORWARD_SAFE_NSIFORMFILLCONTROLLER(_to) \
63 : NS_SCRIPTABLE NS_IMETHOD AttachToBrowser(nsIDocShell *docShell, nsIAutoCompletePopup *popup) { return !_to ? NS_ERROR_NULL_POINTER : _to->AttachToBrowser(docShell, popup); } \
64 : NS_SCRIPTABLE NS_IMETHOD DetachFromBrowser(nsIDocShell *docShell) { return !_to ? NS_ERROR_NULL_POINTER : _to->DetachFromBrowser(docShell); } \
65 : NS_SCRIPTABLE NS_IMETHOD MarkAsLoginManagerField(nsIDOMHTMLInputElement *aInput) { return !_to ? NS_ERROR_NULL_POINTER : _to->MarkAsLoginManagerField(aInput); }
66 :
67 : #if 0
68 : /* Use the code below as a template for the implementation class for this interface. */
69 :
70 : /* Header file */
71 : class nsFormFillController : public nsIFormFillController
72 : {
73 : public:
74 : NS_DECL_ISUPPORTS
75 : NS_DECL_NSIFORMFILLCONTROLLER
76 :
77 : nsFormFillController();
78 :
79 : private:
80 : ~nsFormFillController();
81 :
82 : protected:
83 : /* additional members */
84 : };
85 :
86 : /* Implementation file */
87 : NS_IMPL_ISUPPORTS1(nsFormFillController, nsIFormFillController)
88 :
89 : nsFormFillController::nsFormFillController()
90 : {
91 : /* member initializers and constructor code */
92 : }
93 :
94 : nsFormFillController::~nsFormFillController()
95 : {
96 : /* destructor code */
97 : }
98 :
99 : /* void attachToBrowser (in nsIDocShell docShell, in nsIAutoCompletePopup popup); */
100 : NS_IMETHODIMP nsFormFillController::AttachToBrowser(nsIDocShell *docShell, nsIAutoCompletePopup *popup)
101 : {
102 : return NS_ERROR_NOT_IMPLEMENTED;
103 : }
104 :
105 : /* void detachFromBrowser (in nsIDocShell docShell); */
106 : NS_IMETHODIMP nsFormFillController::DetachFromBrowser(nsIDocShell *docShell)
107 : {
108 : return NS_ERROR_NOT_IMPLEMENTED;
109 : }
110 :
111 : /* void markAsLoginManagerField (in nsIDOMHTMLInputElement aInput); */
112 : NS_IMETHODIMP nsFormFillController::MarkAsLoginManagerField(nsIDOMHTMLInputElement *aInput)
113 : {
114 : return NS_ERROR_NOT_IMPLEMENTED;
115 : }
116 :
117 : /* End of implementation class template. */
118 : #endif
119 :
120 :
121 : #endif /* __gen_nsIFormFillController_h__ */
|