зеркало из https://github.com/mozilla/pjs.git
Added SetWebShellWindow
This commit is contained in:
Родитель
c9bf7a3de3
Коммит
19807461c1
|
@ -6,6 +6,7 @@ interface ToolbarCore : BaseAppCore
|
|||
void ToolbarCore();
|
||||
|
||||
void SetWindow(in Window win);
|
||||
void SetWebShellWindow(in Window win);
|
||||
void SetStatus(in wstring msg);
|
||||
|
||||
};
|
||||
|
|
|
@ -37,18 +37,22 @@ public:
|
|||
|
||||
NS_IMETHOD SetWindow(nsIDOMWindow* aWin)=0;
|
||||
|
||||
NS_IMETHOD SetWebShellWindow(nsIDOMWindow* aWin)=0;
|
||||
|
||||
NS_IMETHOD SetStatus(const nsString& aMsg)=0;
|
||||
};
|
||||
|
||||
|
||||
#define NS_DECL_IDOMTOOLBARCORE \
|
||||
NS_IMETHOD SetWindow(nsIDOMWindow* aWin); \
|
||||
NS_IMETHOD SetWebShellWindow(nsIDOMWindow* aWin); \
|
||||
NS_IMETHOD SetStatus(const nsString& aMsg); \
|
||||
|
||||
|
||||
|
||||
#define NS_FORWARD_IDOMTOOLBARCORE(_to) \
|
||||
NS_IMETHOD SetWindow(nsIDOMWindow* aWin) { return _to##SetWindow(aWin); } \
|
||||
NS_IMETHOD SetWebShellWindow(nsIDOMWindow* aWin) { return _to##SetWebShellWindow(aWin); } \
|
||||
NS_IMETHOD SetStatus(const nsString& aMsg) { return _to##SetStatus(aMsg); } \
|
||||
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче