mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-29 07:42:04 +00:00
Added new function prototype and a parameter to EDT_SavePublishUsername
This commit is contained in:
parent
fd0a33d5d0
commit
5604dd138f
@ -1325,7 +1325,12 @@ char * EDT_GetDefaultPublishURL(MWContext * pMWContext, char **ppFilename, char
|
||||
* publish history location. Caller must XP_FREE the returned location,
|
||||
* username, passwd.
|
||||
*/
|
||||
/* OTHER PLATFORMS NEED TO CHANGE CALL TO PASS IN pMWContext */
|
||||
#ifdef XP_WIN
|
||||
XP_Bool EDT_GetPublishingHistory(MWContext *pMWContext, unsigned n, char** ppLocation, char** ppUsername, char** ppPassword);
|
||||
#else
|
||||
XP_Bool EDT_GetPublishingHistory(unsigned n, char** loc, char** u, char** p);
|
||||
#endif
|
||||
|
||||
/* Get URL and TITLE from the recently-edited history list kept in preferences
|
||||
* Similar to Publish history list, except caller should NOT XP_FREE the returned strings
|
||||
@ -1431,6 +1436,12 @@ PRBool EDT_EncryptState(MWContext *pContext);
|
||||
/* Used for QA only - Ctrl+Alt+Shift+N accelerator for automated testing */
|
||||
void EDT_SelectNextNonTextObject(MWContext *pContext);
|
||||
|
||||
/* Called from NET_AskForAuthString in mkaccess.c to tell us the correct
|
||||
username after the dialog to enter it was used
|
||||
*/
|
||||
void EDT_SavePublishUsername(MWContext *pContext, char *pAddress, char *pUsername);
|
||||
|
||||
|
||||
XP_END_PROTOS
|
||||
|
||||
#endif /* EDITOR */
|
||||
|
Loading…
Reference in New Issue
Block a user