fixing the bustage

This commit is contained in:
racham%netscape.com 1999-08-10 08:59:00 +00:00
parent 004a53fc3d
commit c73fd5b141
4 changed files with 7 additions and 7 deletions

View File

@ -7,7 +7,7 @@ interface ProfileCore : BaseAppCore
void CreateNewProfile(in wstring data);
void RenameProfile(in wstring oldName, in wstring newName);
void DeleteProfile(in wstring profileName);
void DeleteProfile(in wstring profileName, in wstring deleteFlag);
wstring GetProfileList();
void StartCommunicator(in wstring profileName);
wstring GetCurrentProfile();

View File

@ -38,7 +38,7 @@ public:
NS_IMETHOD RenameProfile(const nsString& aOldName, const nsString& aNewName)=0;
NS_IMETHOD DeleteProfile(const nsString& aProfileName)=0;
NS_IMETHOD DeleteProfile(const nsString& aProfileName, const nsString& aDeleteFlag)=0;
NS_IMETHOD GetProfileList(nsString& aReturn)=0;
@ -53,7 +53,7 @@ public:
#define NS_DECL_IDOMPROFILECORE \
NS_IMETHOD CreateNewProfile(const nsString& aData); \
NS_IMETHOD RenameProfile(const nsString& aOldName, const nsString& aNewName); \
NS_IMETHOD DeleteProfile(const nsString& aProfileName); \
NS_IMETHOD DeleteProfile(const nsString& aProfileName, const nsString& aDeleteFlag); \
NS_IMETHOD GetProfileList(nsString& aReturn); \
NS_IMETHOD StartCommunicator(const nsString& aProfileName); \
NS_IMETHOD GetCurrentProfile(nsString& aReturn); \
@ -64,7 +64,7 @@ public:
#define NS_FORWARD_IDOMPROFILECORE(_to) \
NS_IMETHOD CreateNewProfile(const nsString& aData) { return _to CreateNewProfile(aData); } \
NS_IMETHOD RenameProfile(const nsString& aOldName, const nsString& aNewName) { return _to RenameProfile(aOldName, aNewName); } \
NS_IMETHOD DeleteProfile(const nsString& aProfileName) { return _to DeleteProfile(aProfileName); } \
NS_IMETHOD DeleteProfile(const nsString& aProfileName, const nsString& aDeleteFlag) { return _to DeleteProfile(aProfileName, aDeleteFlag); } \
NS_IMETHOD GetProfileList(nsString& aReturn) { return _to GetProfileList(aReturn); } \
NS_IMETHOD StartCommunicator(const nsString& aProfileName) { return _to StartCommunicator(aProfileName); } \
NS_IMETHOD GetCurrentProfile(nsString& aReturn) { return _to GetCurrentProfile(aReturn); } \

View File

@ -180,7 +180,7 @@ NS_IMETHODIMP nsProfileCore::RenameProfile(const nsString& oldName, const nsStri
//----------------------------------------------------------------------------------------
NS_IMETHODIMP nsProfileCore::DeleteProfile(const nsString& profileName)
NS_IMETHODIMP nsProfileCore::DeleteProfile(const nsString& profileName, const nsString& deleteFlag)
// Start loading of a new Profile panel.
//----------------------------------------------------------------------------------------
{
@ -188,7 +188,7 @@ NS_IMETHODIMP nsProfileCore::DeleteProfile(const nsString& profileName)
printf ("Requesting deletion of profile -> %s <-\n", profileName.ToNewCString());
mProfile->DeleteProfile(profileName.ToNewCString());
mProfile->DeleteProfile(profileName.ToNewCString(), deleteFlag.ToNewCString());
return NS_OK;
}

View File

@ -124,7 +124,7 @@ class nsProfileCore
NS_IMETHOD CreateNewProfile(const nsString& aData);
NS_IMETHOD RenameProfile(const nsString& oldName, const nsString& newName);
NS_IMETHOD DeleteProfile(const nsString& profileName);
NS_IMETHOD DeleteProfile(const nsString& profileName, const nsString& deleteFlag);
NS_IMETHOD GetProfileList(nsString& profileList);
NS_IMETHOD StartCommunicator(const nsString& profileName);