From 80f2cdeabf8785f556a9f23ef89b8f5709d3d551 Mon Sep 17 00:00:00 2001 From: "racham%netscape.com" Date: Fri, 21 Apr 2000 22:27:58 +0000 Subject: [PATCH] Fixing bug 28888, 27948. Moving activation code out of mozilla. r=alecf --- profile/public/MANIFEST_IDL | 1 + profile/public/Makefile.in | 5 ++++- profile/public/makefile.win | 1 + profile/public/nsIProfile.idl | 17 +++++++---------- 4 files changed, 13 insertions(+), 11 deletions(-) diff --git a/profile/public/MANIFEST_IDL b/profile/public/MANIFEST_IDL index 308feca253af..170191bb7f9e 100644 --- a/profile/public/MANIFEST_IDL +++ b/profile/public/MANIFEST_IDL @@ -1 +1,2 @@ nsIProfile.idl +nsIProfileStartupListener.idl diff --git a/profile/public/Makefile.in b/profile/public/Makefile.in index 3cb2ef82b09b..6b0cd36b7bd1 100644 --- a/profile/public/Makefile.in +++ b/profile/public/Makefile.in @@ -28,7 +28,10 @@ include $(DEPTH)/config/autoconf.mk MODULE = profile -XPIDLSRCS = nsIProfile.idl +XPIDLSRCS = \ + nsIProfile.idl \ + nsIProfileStartupListener.idl \ + $(NULL) include $(topsrcdir)/config/rules.mk diff --git a/profile/public/makefile.win b/profile/public/makefile.win index e7a83501e8df..fec9e839a054 100644 --- a/profile/public/makefile.win +++ b/profile/public/makefile.win @@ -31,6 +31,7 @@ EXPORTS=nsIAccount.h \ XPIDLSRCS = \ .\nsIProfile.idl \ + .\nsIProfileStartupListener.idl \ $(NULL) include <$(DEPTH)\config\rules.mak> diff --git a/profile/public/nsIProfile.idl b/profile/public/nsIProfile.idl index 46afa3be4564..90e6b6004b60 100644 --- a/profile/public/nsIProfile.idl +++ b/profile/public/nsIProfile.idl @@ -40,7 +40,8 @@ interface nsIFileSpec; #define NS_PROFILE_PROGID \ "component://netscape/profile/manager" -#define PREG_PREF "browser.registration.enable" +#define NS_PROFILE_STARTUP_CATEGORY \ + "profile-startup-category" %} [ptr] native nsFileSpec(nsFileSpec); @@ -77,14 +78,6 @@ interface nsIProfile : nsISupports { void migrateProfile(in wstring profileName, in boolean showProgressAsModalWindow); - string getCookie(); - - void ProcessPRegCookie(); - - string isPregCookieSet(in wstring profileName); - - void processPREGInfo(in string data); - long get4xProfileCount(); void migrateAllProfiles(); @@ -92,11 +85,15 @@ interface nsIProfile : nsISupports { void forgetCurrentProfile(); void loadNewProfilePrefs(); boolean isCurrentProfileAvailable(); - void removeCookie(in string cookie); attribute boolean automigrate; readonly attribute nsIFileSpec defaultProfileParentDir; + + void updateRegistry(); + void setRegString(in wstring profileName, in wstring regString); + string isRegStringSet(in wstring profileName); + }; #endif /* nsIProfile_h__ */