Copy as Markdown
Other Tools
/*
* DO NOT EDIT. THIS FILE IS GENERATED FROM $SRCDIR/browser/app/installation_dir_layout/nsIInstallationDirLayout.idl
*/
#ifndef __gen_nsIInstallationDirLayout_h__
#define __gen_nsIInstallationDirLayout_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
/* starting interface: nsIInstallationDirLayout */
#define NS_IINSTALLATIONDIRLAYOUT_IID_STR "6b5e9bf7-3a2f-4b05-9bd9-55499450ff81"
#define NS_IINSTALLATIONDIRLAYOUT_IID \
{0x6b5e9bf7, 0x3a2f, 0x4b05, \
{ 0x9b, 0xd9, 0x55, 0x49, 0x94, 0x50, 0xff, 0x81 }}
class NS_NO_VTABLE nsIInstallationDirLayout : public nsISupports {
public:
NS_INLINE_DECL_STATIC_IID(NS_IINSTALLATIONDIRLAYOUT_IID)
/* Used by ToJSValue to check which scriptable interface is implemented. */
using ScriptableInterfaceType = nsIInstallationDirLayout;
/* readonly attribute boolean isInstallationLayoutVersioned; */
JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetIsInstallationLayoutVersioned(bool *aIsInstallationLayoutVersioned) = 0;
};
/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIINSTALLATIONDIRLAYOUT \
NS_IMETHOD GetIsInstallationLayoutVersioned(bool *aIsInstallationLayoutVersioned) 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_NSIINSTALLATIONDIRLAYOUT \
nsresult GetIsInstallationLayoutVersioned(bool *aIsInstallationLayoutVersioned);
/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIINSTALLATIONDIRLAYOUT(_to) \
NS_IMETHOD GetIsInstallationLayoutVersioned(bool *aIsInstallationLayoutVersioned) override { return _to GetIsInstallationLayoutVersioned(aIsInstallationLayoutVersioned); }
/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSIINSTALLATIONDIRLAYOUT(_to) \
NS_IMETHOD GetIsInstallationLayoutVersioned(bool *aIsInstallationLayoutVersioned) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetIsInstallationLayoutVersioned(aIsInstallationLayoutVersioned); }
#endif /* __gen_nsIInstallationDirLayout_h__ */