/* * DO NOT EDIT. THIS FILE IS GENERATED FROM $SRCDIR/toolkit/components/places/mozIPlacesAutoComplete.idl */ #ifndef __gen_mozIPlacesAutoComplete_h__ #define __gen_mozIPlacesAutoComplete_h__ #include "nsISupports.h" /* For IDL files that don't want to include root IDL files. */ #ifndef NS_NO_VTABLE #define NS_NO_VTABLE #endif class nsIURI; /* forward declaration */ /* starting interface: mozIPlacesAutoComplete */ #define MOZIPLACESAUTOCOMPLETE_IID_STR "61b6348a-09e1-4810-8057-f8cb3cec6ef8" #define MOZIPLACESAUTOCOMPLETE_IID \ {0x61b6348a, 0x09e1, 0x4810, \ { 0x80, 0x57, 0xf8, 0xcb, 0x3c, 0xec, 0x6e, 0xf8 }} class NS_NO_VTABLE MOZ_BINDING(binding_to, idl, class, XPIDL_mozIPlacesAutoComplete) mozIPlacesAutoComplete : public nsISupports { public: NS_INLINE_DECL_STATIC_IID(MOZIPLACESAUTOCOMPLETE_IID) /* Used by ToJSValue to check which scriptable interface is implemented. */ using ScriptableInterfaceType = mozIPlacesAutoComplete; enum MOZ_BINDING(binding_to, idl, class, XPIDL_mozIPlacesAutoComplete_MatchBehaviors) MatchBehaviors : uint8_t { MATCH_ANYWHERE MOZ_BINDING(binding_to, idl, const, XPIDL_mozIPlacesAutoComplete_MatchBehaviors_MATCH_ANYWHERE) = 0, MATCH_BOUNDARY MOZ_BINDING(binding_to, idl, const, XPIDL_mozIPlacesAutoComplete_MatchBehaviors_MATCH_BOUNDARY) = 2, MATCH_ANYWHERE_UNMODIFIED MOZ_BINDING(binding_to, idl, const, XPIDL_mozIPlacesAutoComplete_MatchBehaviors_MATCH_ANYWHERE_UNMODIFIED) = 4, }; enum MOZ_BINDING(binding_to, idl, class, XPIDL_mozIPlacesAutoComplete_SearchBehaviors) SearchBehaviors : uint16_t { BEHAVIOR_HISTORY MOZ_BINDING(binding_to, idl, const, XPIDL_mozIPlacesAutoComplete_SearchBehaviors_BEHAVIOR_HISTORY) = 1, BEHAVIOR_BOOKMARK MOZ_BINDING(binding_to, idl, const, XPIDL_mozIPlacesAutoComplete_SearchBehaviors_BEHAVIOR_BOOKMARK) = 2, BEHAVIOR_TAG MOZ_BINDING(binding_to, idl, const, XPIDL_mozIPlacesAutoComplete_SearchBehaviors_BEHAVIOR_TAG) = 4, BEHAVIOR_TITLE MOZ_BINDING(binding_to, idl, const, XPIDL_mozIPlacesAutoComplete_SearchBehaviors_BEHAVIOR_TITLE) = 8, BEHAVIOR_URL MOZ_BINDING(binding_to, idl, const, XPIDL_mozIPlacesAutoComplete_SearchBehaviors_BEHAVIOR_URL) = 16, BEHAVIOR_TYPED MOZ_BINDING(binding_to, idl, const, XPIDL_mozIPlacesAutoComplete_SearchBehaviors_BEHAVIOR_TYPED) = 32, BEHAVIOR_JAVASCRIPT MOZ_BINDING(binding_to, idl, const, XPIDL_mozIPlacesAutoComplete_SearchBehaviors_BEHAVIOR_JAVASCRIPT) = 64, BEHAVIOR_OPENPAGE MOZ_BINDING(binding_to, idl, const, XPIDL_mozIPlacesAutoComplete_SearchBehaviors_BEHAVIOR_OPENPAGE) = 128, BEHAVIOR_RESTRICT MOZ_BINDING(binding_to, idl, const, XPIDL_mozIPlacesAutoComplete_SearchBehaviors_BEHAVIOR_RESTRICT) = 256, BEHAVIOR_SEARCH MOZ_BINDING(binding_to, idl, const, XPIDL_mozIPlacesAutoComplete_SearchBehaviors_BEHAVIOR_SEARCH) = 512, }; }; /* Use this macro when declaring classes that implement this interface. */ #define NS_DECL_MOZIPLACESAUTOCOMPLETE \ /* 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_MOZIPLACESAUTOCOMPLETE \ /* Use this macro to declare functions that forward the behavior of this interface to another object. */ #define NS_FORWARD_MOZIPLACESAUTOCOMPLETE(_to) \ /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */ #define NS_FORWARD_SAFE_MOZIPLACESAUTOCOMPLETE(_to) \ #endif /* __gen_mozIPlacesAutoComplete_h__ */