From 3ec00bfa3f0be202fa97b8c9a40aa0e87ed352ff Mon Sep 17 00:00:00 2001 From: "sspitzer%netscape.com" Date: Fri, 28 Jan 2000 06:24:41 +0000 Subject: [PATCH] fix it, to use less %{C++ crap. thanks to mscott for the pointers on how. next step, remove nsIWalletService.h from the build. git-svn-id: svn://10.0.0.236/trunk@59030 18797224-902f-48f8-a5cc-f745e15eee43 --- .../extensions/wallet/public/nsIWalletService.idl | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/mozilla/extensions/wallet/public/nsIWalletService.idl b/mozilla/extensions/wallet/public/nsIWalletService.idl index 69f3a40808e..183a0b47f86 100644 --- a/mozilla/extensions/wallet/public/nsIWalletService.idl +++ b/mozilla/extensions/wallet/public/nsIWalletService.idl @@ -37,7 +37,7 @@ %} interface nsIPresShell; - +native nsAutoString(nsAutoString); [ref] native nsAutoStringRef(nsAutoString); /** @@ -48,15 +48,11 @@ interface nsIPresShell; [scriptable, uuid(738CFD51-ABCF-11d2-AB4B-0080C787AD96)] interface nsIWalletService : nsISupports { [noscript]void WALLET_PreEdit(in nsAutoStringRef walletList); -%{ C++ - void WALLET_PostEdit(nsAutoString walletList); -%} + [noscript]void WALLET_PostEdit(in nsAutoString walletList); void WALLET_ChangePassword(); void WALLET_RequestToCapture(in nsIPresShell shell); void WALLET_Prefill(in nsIPresShell shell, in boolean quick); -%{ C++ - void WALLET_PrefillReturn(nsAutoString results); -%} + [noscript]void WALLET_PrefillReturn(in nsAutoString results); void WALLET_FetchFromNetCenter(); boolean PromptUsernameAndPasswordURL(in wstring text, out wstring user, out wstring pwd, in string urlname, in nsIPrompt dialog); @@ -70,7 +66,5 @@ interface nsIWalletService : nsISupports { [noscript] void WALLET_GetPrefillListForViewer(in nsAutoStringRef aPrefillList); [noscript] void SI_GetSignonListForViewer(in nsAutoStringRef aSignonList); [noscript] void SI_GetRejectListForViewer(in nsAutoStringRef aRejectList); -%{ C++ - void SI_SignonViewerReturn(nsAutoString results); -%} + [noscript] void SI_SignonViewerReturn(in nsAutoString results); };