From 54cd9ac8db947de2f257f3f6a8489c5cbeec36aa Mon Sep 17 00:00:00 2001 From: "michaelp%netscape.com" Date: Sun, 27 Sep 1998 22:17:00 +0000 Subject: [PATCH] removed attribute queries. added ShowStatus(). git-svn-id: svn://10.0.0.236/trunk@11184 18797224-902f-48f8-a5cc-f745e15eee43 --- .../plugin/base/src/nsIPluginInstanceOwner.h | 28 +++++-------------- .../plugin/nglsrc/nsIPluginInstanceOwner.h | 28 +++++-------------- 2 files changed, 14 insertions(+), 42 deletions(-) diff --git a/mozilla/modules/plugin/base/src/nsIPluginInstanceOwner.h b/mozilla/modules/plugin/base/src/nsIPluginInstanceOwner.h index db85eb3c292..0def06e8255 100644 --- a/mozilla/modules/plugin/base/src/nsIPluginInstanceOwner.h +++ b/mozilla/modules/plugin/base/src/nsIPluginInstanceOwner.h @@ -58,27 +58,6 @@ public: NS_IMETHOD GetMode(nsPluginMode *aMode) = 0; - /** - * Get a ptr to the paired list of attribute names and values, - * returns the length of the array. - * - * Each name or value is a null-terminated string. - */ - NS_IMETHOD - GetAttributes(PRUint16& n, const char*const*& names, const char*const*& values) = 0; - - /** - * Gets the value for the named attribute. - * - * @param name - the name of the attribute to find - * @param result - the resulting attribute - * @result - NS_OK if this operation was successful, NS_ERROR_FAILURE if - * this operation failed. result is set to NULL if the attribute is not found - * else to the found value. - */ - NS_IMETHOD - GetAttribute(const char* name, const char* *result) = 0; - /** * Create a place for the plugin to live in the owner's * environment. this may or may not create a window @@ -96,6 +75,13 @@ public: */ NS_IMETHOD GetURL(const char *aURL, const char *aTarget, void *aPostData) = 0; + + /** + * Show a status message in the host environment. + * + */ + NS_IMETHOD + ShowStatus(const char *aStatusMsg) = 0; }; #endif diff --git a/mozilla/modules/plugin/nglsrc/nsIPluginInstanceOwner.h b/mozilla/modules/plugin/nglsrc/nsIPluginInstanceOwner.h index db85eb3c292..0def06e8255 100644 --- a/mozilla/modules/plugin/nglsrc/nsIPluginInstanceOwner.h +++ b/mozilla/modules/plugin/nglsrc/nsIPluginInstanceOwner.h @@ -58,27 +58,6 @@ public: NS_IMETHOD GetMode(nsPluginMode *aMode) = 0; - /** - * Get a ptr to the paired list of attribute names and values, - * returns the length of the array. - * - * Each name or value is a null-terminated string. - */ - NS_IMETHOD - GetAttributes(PRUint16& n, const char*const*& names, const char*const*& values) = 0; - - /** - * Gets the value for the named attribute. - * - * @param name - the name of the attribute to find - * @param result - the resulting attribute - * @result - NS_OK if this operation was successful, NS_ERROR_FAILURE if - * this operation failed. result is set to NULL if the attribute is not found - * else to the found value. - */ - NS_IMETHOD - GetAttribute(const char* name, const char* *result) = 0; - /** * Create a place for the plugin to live in the owner's * environment. this may or may not create a window @@ -96,6 +75,13 @@ public: */ NS_IMETHOD GetURL(const char *aURL, const char *aTarget, void *aPostData) = 0; + + /** + * Show a status message in the host environment. + * + */ + NS_IMETHOD + ShowStatus(const char *aStatusMsg) = 0; }; #endif