From 0f1f79fdd11f4db58ee191cf9e950eefeec2e3d8 Mon Sep 17 00:00:00 2001 From: "sdagley%netscape.com" Date: Thu, 13 Aug 1998 22:17:51 +0000 Subject: [PATCH] Add MacFE stubs for FE_CheckConfirm and FE_SelectDialog for morse's privacy code. danm acquired the appropriate permissions from the module owners for the XP spammage. git-svn-id: svn://10.0.0.236/trunk@7974 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/network/main/singsign.c | 50 +-------------------------------- 1 file changed, 1 insertion(+), 49 deletions(-) diff --git a/mozilla/network/main/singsign.c b/mozilla/network/main/singsign.c index 9eb5a88df5b..e86f2dde4a4 100644 --- a/mozilla/network/main/singsign.c +++ b/mozilla/network/main/singsign.c @@ -55,25 +55,6 @@ static PRThread * signon_lock_owner = NULL; static int signon_lock_count = 0; static Bool si_anonymous = FALSE; -#ifndef XP_WIN /* privacy ifdef - last person to get here please remove */ -/* - * temporary UI until FE implements this function as a single dialog box - */ -PRIVATE XP_Bool FE_CheckConfirm ( - MWContext *pContext, - char* pConfirmMessage, - char* pCheckMessage, - char* pOkMessage, - char* pCancelMsg, - XP_Bool* pChecked) { - - Bool userHasAccepted = FE_Confirm(pContext, pConfirmMessage); - *pChecked = FE_Confirm (pContext, pCheckMessage); - return userHasAccepted; -} -/* end of temporary UI */ -#endif - PRIVATE void si_lock_signon_list(void) { @@ -458,35 +439,6 @@ si_CheckForUser(char *URLName, char *userName) { return FALSE; /* user not found */ } -#ifndef XP_WIN /* privacy ifdef - last person to get here please remove */ -/* - * temporary UI until FE implements this function as a single dialog box - */ -XP_Bool FE_SelectDialog( - MWContext* pContext, - char* pMessage, - char** pList, - int* pCount) { - int i; - char *message = 0; - for (i = 0; i < *pCount; i++) { - StrAllocCopy(message, pMessage); - StrAllocCat(message, " = "); - StrAllocCat(message, pList[i]); - if (FE_Confirm(pContext, message)) { - /* user selected this one */ - XP_FREE(message); - *pCount = i; - return TRUE; - } - } - - /* user rejected all */ - XP_FREE(message); - return FALSE; -} -#endif - /* * Get the user node for a given URL * @@ -508,7 +460,7 @@ si_GetUser(MWContext *context, char* URLName, Bool pickFirstUser) { if (URL != NULL) { /* node for this URL was found */ - int user_count; + int16 user_count; user_ptr = URL->signonUser_list; if ((user_count = XP_ListCount(user_ptr)) == 1) {