/* * DO NOT EDIT. THIS FILE IS GENERATED FROM nsISignonViewer.idl */ #ifndef __gen_nsISignonViewer_h__ #define __gen_nsISignonViewer_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 nsIDOMWindowInternal; /* forward declaration */ /* starting interface: nsISignonViewer */ #define NS_ISIGNONVIEWER_IID_STR "c425fae0-20f0-11d3-abaa-0080c787ad96" #define NS_ISIGNONVIEWER_IID \ {0xc425fae0, 0x20f0, 0x11d3, \ { 0xab, 0xaa, 0x00, 0x80, 0xc7, 0x87, 0xad, 0x96 }} class NS_NO_VTABLE nsISignonViewer : public nsISupports { public: NS_DEFINE_STATIC_IID_ACCESSOR(NS_ISIGNONVIEWER_IID) /* void setValue (in wstring aValue, in nsIDOMWindowInternal win); */ NS_IMETHOD SetValue(const PRUnichar *aValue, nsIDOMWindowInternal *win) = 0; /* wstring getNopreviewValue (); */ NS_IMETHOD GetNopreviewValue(PRUnichar **_retval) = 0; /* wstring getNocaptureValue (); */ NS_IMETHOD GetNocaptureValue(PRUnichar **_retval) = 0; }; /* Use this macro when declaring classes that implement this interface. */ #define NS_DECL_NSISIGNONVIEWER \ NS_IMETHOD SetValue(const PRUnichar *aValue, nsIDOMWindowInternal *win); \ NS_IMETHOD GetNopreviewValue(PRUnichar **_retval); \ NS_IMETHOD GetNocaptureValue(PRUnichar **_retval); /* Use this macro to declare functions that forward the behavior of this interface to another object. */ #define NS_FORWARD_NSISIGNONVIEWER(_to) \ NS_IMETHOD SetValue(const PRUnichar *aValue, nsIDOMWindowInternal *win) { return _to SetValue(aValue, win); } \ NS_IMETHOD GetNopreviewValue(PRUnichar **_retval) { return _to GetNopreviewValue(_retval); } \ NS_IMETHOD GetNocaptureValue(PRUnichar **_retval) { return _to GetNocaptureValue(_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_NSISIGNONVIEWER(_to) \ NS_IMETHOD SetValue(const PRUnichar *aValue, nsIDOMWindowInternal *win) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetValue(aValue, win); } \ NS_IMETHOD GetNopreviewValue(PRUnichar **_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetNopreviewValue(_retval); } \ NS_IMETHOD GetNocaptureValue(PRUnichar **_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetNocaptureValue(_retval); } #if 0 /* Use the code below as a template for the implementation class for this interface. */ /* Header file */ class nsSignonViewer : public nsISignonViewer { public: NS_DECL_ISUPPORTS NS_DECL_NSISIGNONVIEWER nsSignonViewer(); virtual ~nsSignonViewer(); /* additional members */ }; /* Implementation file */ NS_IMPL_ISUPPORTS1(nsSignonViewer, nsISignonViewer) nsSignonViewer::nsSignonViewer() { NS_INIT_ISUPPORTS(); /* member initializers and constructor code */ } nsSignonViewer::~nsSignonViewer() { /* destructor code */ } /* void setValue (in wstring aValue, in nsIDOMWindowInternal win); */ NS_IMETHODIMP nsSignonViewer::SetValue(const PRUnichar *aValue, nsIDOMWindowInternal *win) { return NS_ERROR_NOT_IMPLEMENTED; } /* wstring getNopreviewValue (); */ NS_IMETHODIMP nsSignonViewer::GetNopreviewValue(PRUnichar **_retval) { return NS_ERROR_NOT_IMPLEMENTED; } /* wstring getNocaptureValue (); */ NS_IMETHODIMP nsSignonViewer::GetNocaptureValue(PRUnichar **_retval) { return NS_ERROR_NOT_IMPLEMENTED; } /* End of implementation class template. */ #endif // {C425FAE1-20F0-11d3-ABAA-0080C787AD96} #define NS_SIGNONVIEWER_CID \ { 0xc425fae1, 0x20f0, 0x11d3, { 0xab, 0xaa, 0x0, 0x80, 0xc7, 0x87, 0xad, 0x96 } } #endif /* __gen_nsISignonViewer_h__ */ .