From 4e9693cba4a14e9290d74ac4f0f863c1d0168704 Mon Sep 17 00:00:00 2001 From: "pinkerton%netscape.com" Date: Thu, 4 Feb 1999 18:29:36 +0000 Subject: [PATCH] add IID --- dom/public/nsIScriptContext.h | 2 ++ dom/public/nsIScriptContextOwner.h | 2 ++ 2 files changed, 4 insertions(+) diff --git a/dom/public/nsIScriptContext.h b/dom/public/nsIScriptContext.h index acd02591472c..651d58493997 100644 --- a/dom/public/nsIScriptContext.h +++ b/dom/public/nsIScriptContext.h @@ -41,6 +41,8 @@ class nsIScriptNameSpaceManager; */ class nsIScriptContext : public nsISupports { public: + static const nsIID& IID() { static nsIID iid = NS_ISCRIPTCONTEXT_IID; return iid; } + /** * Execute a script. * diff --git a/dom/public/nsIScriptContextOwner.h b/dom/public/nsIScriptContextOwner.h index 5187954596b4..7d63264af412 100644 --- a/dom/public/nsIScriptContextOwner.h +++ b/dom/public/nsIScriptContextOwner.h @@ -38,6 +38,8 @@ class nsIScriptContext; class nsIScriptContextOwner : public nsISupports { public: + static const nsIID& IID() { static nsIID iid = NS_ISCRIPTCONTEXTOWNER_IID; return iid; } + /** * Returns a script context. The assumption is that the * script context has an associated script global object and