зеркало из https://github.com/mozilla/pjs.git
add new selector to access csid, add two new interface to access cross-platform string
This commit is contained in:
Родитель
933dc19df8
Коммит
f752b028b0
|
@ -2695,9 +2695,11 @@ INTL_ResourceCharSet(void);
|
|||
/* Definition for the charset ID selector.
|
||||
*/
|
||||
typedef enum {
|
||||
INTL_FileNameCsidSel = 1,
|
||||
INTL_DefaultTextWidgetCsidSel = 2,
|
||||
INTL_OldBookmarkCsidSel = 3
|
||||
INTL_FileNameCsidSel = 1, /* The file name */
|
||||
INTL_DefaultTextWidgetCsidSel, /* The edit control or text widget */
|
||||
INTL_OldBookmarkCsidSel, /* The bookmark.html file */
|
||||
INTL_XPResourcesCsidSel, /* The cross-platform resources */
|
||||
INTL_MenuCsidSel /* The menu and menu bar */
|
||||
} INTL_CharSetID_Selector;
|
||||
|
||||
/* Typedef for charset ID.
|
||||
|
|
|
@ -47,6 +47,8 @@ XP_BEGIN_PROTOS
|
|||
*/
|
||||
PUBLIC char *XP_GetString(int id);
|
||||
|
||||
PUBLIC char *XP_CopyStringInUTF8(int id);
|
||||
PUBLIC char *XP_CopyString(int id);
|
||||
/**
|
||||
* Get a cross platform HTML string resource by ID.
|
||||
*
|
||||
|
|
Загрузка…
Ссылка в новой задаче