Copy as Markdown
Other Tools
/*
* DO NOT EDIT. THIS FILE IS GENERATED FROM $SRCDIR/dom/geolocation/nsIGeolocationUIUtilsWin.idl
*/
#ifndef __gen_nsIGeolocationUIUtilsWin_h__
#define __gen_nsIGeolocationUIUtilsWin_h__
#include "nsISupports.h"
#include "js/GCAnnotations.h"
/* For IDL files that don't want to include root IDL files. */
#ifndef NS_NO_VTABLE
#define NS_NO_VTABLE
#endif
namespace mozilla {
namespace dom {
class BrowsingContext; /* webidl BrowsingContext */
} // namespace dom
} // namespace mozilla
/* starting interface: nsIGeolocationUIUtilsWin */
#define NS_IGEOLOCATIONUIUTILSWIN_IID_STR "bf4040de-e5e2-4be4-8402-ae0c10c499b6"
#define NS_IGEOLOCATIONUIUTILSWIN_IID \
{0xbf4040de, 0xe5e2, 0x4be4, \
{ 0x84, 0x02, 0xae, 0x0c, 0x10, 0xc4, 0x99, 0xb6 }}
class NS_NO_VTABLE nsIGeolocationUIUtilsWin : public nsISupports {
public:
NS_DECLARE_STATIC_IID_ACCESSOR(NS_IGEOLOCATIONUIUTILSWIN_IID)
/* Used by ToJSValue to check which scriptable interface is implemented. */
using ScriptableInterfaceType = nsIGeolocationUIUtilsWin;
/* void dismissPrompts (in BrowsingContext aBC); */
JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD DismissPrompts(mozilla::dom::BrowsingContext *aBC) = 0;
};
NS_DEFINE_STATIC_IID_ACCESSOR(nsIGeolocationUIUtilsWin, NS_IGEOLOCATIONUIUTILSWIN_IID)
/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIGEOLOCATIONUIUTILSWIN \
NS_IMETHOD DismissPrompts(mozilla::dom::BrowsingContext *aBC) 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_NSIGEOLOCATIONUIUTILSWIN \
nsresult DismissPrompts(mozilla::dom::BrowsingContext *aBC);
/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIGEOLOCATIONUIUTILSWIN(_to) \
NS_IMETHOD DismissPrompts(mozilla::dom::BrowsingContext *aBC) override { return _to DismissPrompts(aBC); }
/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSIGEOLOCATIONUIUTILSWIN(_to) \
NS_IMETHOD DismissPrompts(mozilla::dom::BrowsingContext *aBC) override { return !_to ? NS_ERROR_NULL_POINTER : _to->DismissPrompts(aBC); }
#endif /* __gen_nsIGeolocationUIUtilsWin_h__ */