зеркало из https://github.com/mozilla/pjs.git
more api changes for strings
This commit is contained in:
Родитель
5fb8b5352b
Коммит
0a4f32d9c7
|
@ -53,7 +53,7 @@ class nsIMenu : public nsISupports {
|
|||
* Creates the Menu
|
||||
*
|
||||
*/
|
||||
NS_IMETHOD Create ( nsISupports * aParent, const nsString &aLabel, const nsString &aAccessKey,
|
||||
NS_IMETHOD Create ( nsISupports * aParent, const nsAReadableString &aLabel, const nsAReadableString &aAccessKey,
|
||||
nsIChangeManager* aManager, nsIWebShell* aShell, nsIDOMNode* aNode ) = 0;
|
||||
|
||||
/**
|
||||
|
@ -72,7 +72,7 @@ class nsIMenu : public nsISupports {
|
|||
* Set the Menu label
|
||||
*
|
||||
*/
|
||||
NS_IMETHOD SetLabel(const nsString &aText) = 0;
|
||||
NS_IMETHOD SetLabel(const nsAReadableString &aText) = 0;
|
||||
|
||||
/**
|
||||
* Get the Menu Access Key
|
||||
|
@ -84,7 +84,7 @@ class nsIMenu : public nsISupports {
|
|||
* Set the Menu Access Key
|
||||
*
|
||||
*/
|
||||
NS_IMETHOD SetAccessKey(const nsString &aText) = 0;
|
||||
NS_IMETHOD SetAccessKey(const nsAReadableString &aText) = 0;
|
||||
|
||||
/**
|
||||
* Set the Menu enabled state
|
||||
|
|
|
@ -80,7 +80,7 @@ class nsIMenuListener : public nsISupports {
|
|||
virtual nsEventStatus MenuDestruct(const nsMenuEvent & aMenuEvent) = 0;
|
||||
|
||||
virtual nsEventStatus CheckRebuild(PRBool & aMenuEvent) = 0;
|
||||
virtual nsEventStatus SetRebuild(PRBool & aMenuEvent) = 0;
|
||||
virtual nsEventStatus SetRebuild(PRBool aMenuEvent) = 0;
|
||||
};
|
||||
|
||||
#endif // nsIMenuListener_h__
|
||||
|
|
Загрузка…
Ссылка в новой задаче