From eb00ee9f544c6dfdc36e4e618decc3105d92c1c6 Mon Sep 17 00:00:00 2001 From: "dp%netscape.com" Date: Mon, 29 Mar 1999 08:32:27 +0000 Subject: [PATCH] Added RemoveSubtreeRaw() git-svn-id: svn://10.0.0.236/branches/XPCOM_M4_BRANCH@25441 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/xpcom/components/nsIRegistry.h | 10 ++++++++-- mozilla/xpcom/public/nsIRegistry.h | 10 ++++++++-- 2 files changed, 16 insertions(+), 4 deletions(-) diff --git a/mozilla/xpcom/components/nsIRegistry.h b/mozilla/xpcom/components/nsIRegistry.h index 6c708429164..29703db65ec 100644 --- a/mozilla/xpcom/components/nsIRegistry.h +++ b/mozilla/xpcom/components/nsIRegistry.h @@ -224,6 +224,10 @@ struct nsIRegistry : public nsISupports { | | | RemoveSubtree - Removes the specified registry subtree or | | value at the specified location. | + | RemoveSubtreeRaw - Removes the specified registry subtree or | + | value at the specified location. | + | Does not interpret special chars in key names. | + | | | GetSubtree - Returns a nsIRegistry::Key that can be used | | to refer to the specified registry location. | | GetSubtreeRaw - Returns a nsIRegistry::Key that can be used | @@ -251,10 +255,12 @@ struct nsIRegistry : public nsISupports { | a specified location. | --------------------------------------------------------------------------*/ NS_IMETHOD AddSubtree( Key baseKey, const char *path, Key *result ) = 0; - NS_IMETHOD AddSubtreeRaw( Key baseKey, const char *path, Key *result ) = 0; NS_IMETHOD RemoveSubtree( Key baseKey, const char *path ) = 0; NS_IMETHOD GetSubtree( Key baseKey, const char *path, Key *result ) = 0; - NS_IMETHOD GetSubtreeRaw( Key baseKey, const char *path, Key *result ) = 0; + + NS_IMETHOD AddSubtreeRaw( Key baseKey, const char *keyname, Key *result ) = 0; + NS_IMETHOD RemoveSubtreeRaw( Key baseKey, const char *keyname ) = 0; + NS_IMETHOD GetSubtreeRaw( Key baseKey, const char *keyname, Key *result ) = 0; NS_IMETHOD EnumerateSubtrees( Key baseKey, nsIEnumerator **result ) = 0; NS_IMETHOD EnumerateAllSubtrees( Key baseKey, nsIEnumerator **result ) = 0; diff --git a/mozilla/xpcom/public/nsIRegistry.h b/mozilla/xpcom/public/nsIRegistry.h index 6c708429164..29703db65ec 100644 --- a/mozilla/xpcom/public/nsIRegistry.h +++ b/mozilla/xpcom/public/nsIRegistry.h @@ -224,6 +224,10 @@ struct nsIRegistry : public nsISupports { | | | RemoveSubtree - Removes the specified registry subtree or | | value at the specified location. | + | RemoveSubtreeRaw - Removes the specified registry subtree or | + | value at the specified location. | + | Does not interpret special chars in key names. | + | | | GetSubtree - Returns a nsIRegistry::Key that can be used | | to refer to the specified registry location. | | GetSubtreeRaw - Returns a nsIRegistry::Key that can be used | @@ -251,10 +255,12 @@ struct nsIRegistry : public nsISupports { | a specified location. | --------------------------------------------------------------------------*/ NS_IMETHOD AddSubtree( Key baseKey, const char *path, Key *result ) = 0; - NS_IMETHOD AddSubtreeRaw( Key baseKey, const char *path, Key *result ) = 0; NS_IMETHOD RemoveSubtree( Key baseKey, const char *path ) = 0; NS_IMETHOD GetSubtree( Key baseKey, const char *path, Key *result ) = 0; - NS_IMETHOD GetSubtreeRaw( Key baseKey, const char *path, Key *result ) = 0; + + NS_IMETHOD AddSubtreeRaw( Key baseKey, const char *keyname, Key *result ) = 0; + NS_IMETHOD RemoveSubtreeRaw( Key baseKey, const char *keyname ) = 0; + NS_IMETHOD GetSubtreeRaw( Key baseKey, const char *keyname, Key *result ) = 0; NS_IMETHOD EnumerateSubtrees( Key baseKey, nsIEnumerator **result ) = 0; NS_IMETHOD EnumerateAllSubtrees( Key baseKey, nsIEnumerator **result ) = 0;