1999-02-03 18:54:07 +03:00
|
|
|
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
|
|
|
|
*
|
|
|
|
* The contents of this file are subject to the Netscape Public License
|
|
|
|
* Version 1.0 (the "NPL"); you may not use this file except in
|
|
|
|
* compliance with the NPL. You may obtain a copy of the NPL at
|
|
|
|
* http://www.mozilla.org/NPL/
|
|
|
|
*
|
|
|
|
* Software distributed under the NPL is distributed on an "AS IS" basis,
|
|
|
|
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
|
|
|
|
* for the specific language governing rights and limitations under the
|
|
|
|
* NPL.
|
|
|
|
*
|
|
|
|
* The Initial Developer of this code under the NPL is Netscape
|
|
|
|
* Communications Corporation. Portions created by Netscape are
|
|
|
|
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
|
|
|
|
* Reserved.
|
|
|
|
*/
|
|
|
|
/* AUTO-GENERATED. DO NOT EDIT!!! */
|
|
|
|
|
|
|
|
#ifndef nsIDOMBrowserAppCore_h__
|
|
|
|
#define nsIDOMBrowserAppCore_h__
|
|
|
|
|
|
|
|
#include "nsISupports.h"
|
|
|
|
#include "nsString.h"
|
|
|
|
#include "nsIScriptContext.h"
|
|
|
|
#include "nsIDOMBaseAppCore.h"
|
|
|
|
|
|
|
|
class nsIDOMWindow;
|
|
|
|
|
|
|
|
#define NS_IDOMBROWSERAPPCORE_IID \
|
|
|
|
{ 0xb0ffb697, 0xbab4, 0x11d2, \
|
|
|
|
{0x96, 0xc4, 0x0, 0x60, 0xb0, 0xfb, 0x99, 0x56}}
|
|
|
|
|
|
|
|
class nsIDOMBrowserAppCore : public nsIDOMBaseAppCore {
|
|
|
|
public:
|
1999-03-03 22:48:57 +03:00
|
|
|
static const nsIID& GetIID() { static nsIID iid = NS_IDOMBROWSERAPPCORE_IID; return iid; }
|
1999-02-03 18:54:07 +03:00
|
|
|
|
|
|
|
NS_IMETHOD Back()=0;
|
|
|
|
|
|
|
|
NS_IMETHOD Forward()=0;
|
|
|
|
|
1999-05-01 03:55:22 +04:00
|
|
|
NS_IMETHOD Stop()=0;
|
|
|
|
|
1999-03-25 02:14:43 +03:00
|
|
|
NS_IMETHOD LoadUrl(const nsString& aUrl)=0;
|
|
|
|
|
1999-05-01 03:55:22 +04:00
|
|
|
NS_IMETHOD LoadInitialPage()=0;
|
1999-04-24 02:31:05 +04:00
|
|
|
|
1999-06-13 19:01:07 +04:00
|
|
|
NS_IMETHOD WalletPreview(nsIDOMWindow* aWin, nsIDOMWindow* aForm)=0;
|
|
|
|
|
|
|
|
NS_IMETHOD CookieViewer(nsIDOMWindow* aWin)=0;
|
|
|
|
|
|
|
|
NS_IMETHOD SignonViewer(nsIDOMWindow* aWin)=0;
|
|
|
|
|
1999-06-09 00:27:58 +04:00
|
|
|
NS_IMETHOD WalletEditor(nsIDOMWindow* aWin)=0;
|
1999-03-25 02:14:43 +03:00
|
|
|
|
1999-05-04 22:07:32 +04:00
|
|
|
NS_IMETHOD WalletChangePassword()=0;
|
|
|
|
|
1999-04-24 07:08:03 +04:00
|
|
|
NS_IMETHOD WalletQuickFillin(nsIDOMWindow* aWin)=0;
|
1999-03-14 00:29:49 +03:00
|
|
|
|
1999-03-25 02:14:43 +03:00
|
|
|
NS_IMETHOD WalletSamples()=0;
|
1999-02-03 18:54:07 +03:00
|
|
|
|
|
|
|
NS_IMETHOD SetToolbarWindow(nsIDOMWindow* aWin)=0;
|
|
|
|
|
|
|
|
NS_IMETHOD SetContentWindow(nsIDOMWindow* aWin)=0;
|
|
|
|
|
1999-02-11 18:14:34 +03:00
|
|
|
NS_IMETHOD SetWebShellWindow(nsIDOMWindow* aWin)=0;
|
1999-02-03 18:54:07 +03:00
|
|
|
|
1999-02-17 19:15:06 +03:00
|
|
|
NS_IMETHOD NewWindow()=0;
|
|
|
|
|
1999-04-01 23:23:02 +04:00
|
|
|
NS_IMETHOD OpenWindow()=0;
|
|
|
|
|
1999-02-17 19:15:06 +03:00
|
|
|
NS_IMETHOD PrintPreview()=0;
|
|
|
|
|
1999-04-01 18:51:09 +04:00
|
|
|
NS_IMETHOD Copy()=0;
|
|
|
|
|
|
|
|
NS_IMETHOD Print()=0;
|
|
|
|
|
1999-02-17 19:15:06 +03:00
|
|
|
NS_IMETHOD Close()=0;
|
|
|
|
|
|
|
|
NS_IMETHOD Exit()=0;
|
1999-04-22 07:42:37 +04:00
|
|
|
|
|
|
|
NS_IMETHOD Find()=0;
|
|
|
|
|
|
|
|
NS_IMETHOD FindNext()=0;
|
1999-02-03 18:54:07 +03:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
#define NS_DECL_IDOMBROWSERAPPCORE \
|
|
|
|
NS_IMETHOD Back(); \
|
|
|
|
NS_IMETHOD Forward(); \
|
1999-05-01 03:55:22 +04:00
|
|
|
NS_IMETHOD Stop(); \
|
1999-02-03 18:54:07 +03:00
|
|
|
NS_IMETHOD LoadUrl(const nsString& aUrl); \
|
1999-05-01 03:55:22 +04:00
|
|
|
NS_IMETHOD LoadInitialPage(); \
|
1999-06-13 19:01:07 +04:00
|
|
|
NS_IMETHOD WalletPreview(nsIDOMWindow* aWin, nsIDOMWindow* aForm); \
|
|
|
|
NS_IMETHOD CookieViewer(nsIDOMWindow* aWin); \
|
|
|
|
NS_IMETHOD SignonViewer(nsIDOMWindow* aWin); \
|
1999-06-09 00:27:58 +04:00
|
|
|
NS_IMETHOD WalletEditor(nsIDOMWindow* aWin); \
|
1999-05-04 22:07:32 +04:00
|
|
|
NS_IMETHOD WalletChangePassword(); \
|
1999-04-24 07:08:03 +04:00
|
|
|
NS_IMETHOD WalletQuickFillin(nsIDOMWindow* aWin); \
|
1999-03-25 02:14:43 +03:00
|
|
|
NS_IMETHOD WalletSamples(); \
|
1999-02-03 18:54:07 +03:00
|
|
|
NS_IMETHOD SetToolbarWindow(nsIDOMWindow* aWin); \
|
|
|
|
NS_IMETHOD SetContentWindow(nsIDOMWindow* aWin); \
|
1999-02-11 18:14:34 +03:00
|
|
|
NS_IMETHOD SetWebShellWindow(nsIDOMWindow* aWin); \
|
1999-02-17 19:15:06 +03:00
|
|
|
NS_IMETHOD NewWindow(); \
|
1999-04-01 23:23:02 +04:00
|
|
|
NS_IMETHOD OpenWindow(); \
|
1999-02-17 19:15:06 +03:00
|
|
|
NS_IMETHOD PrintPreview(); \
|
1999-04-01 18:51:09 +04:00
|
|
|
NS_IMETHOD Copy(); \
|
|
|
|
NS_IMETHOD Print(); \
|
1999-02-17 19:15:06 +03:00
|
|
|
NS_IMETHOD Close(); \
|
|
|
|
NS_IMETHOD Exit(); \
|
1999-04-22 07:42:37 +04:00
|
|
|
NS_IMETHOD Find(); \
|
|
|
|
NS_IMETHOD FindNext(); \
|
1999-02-03 18:54:07 +03:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#define NS_FORWARD_IDOMBROWSERAPPCORE(_to) \
|
1999-04-22 07:42:37 +04:00
|
|
|
NS_IMETHOD Back() { return _to Back(); } \
|
|
|
|
NS_IMETHOD Forward() { return _to Forward(); } \
|
1999-05-01 03:55:22 +04:00
|
|
|
NS_IMETHOD Stop() { return _to Stop(); } \
|
1999-04-22 07:42:37 +04:00
|
|
|
NS_IMETHOD LoadUrl(const nsString& aUrl) { return _to LoadUrl(aUrl); } \
|
1999-05-01 03:55:22 +04:00
|
|
|
NS_IMETHOD LoadInitialPage() { return _to LoadInitialPage(); } \
|
1999-06-13 19:01:07 +04:00
|
|
|
NS_IMETHOD WalletPreview(nsIDOMWindow* aWin, nsIDOMWindow* aForm) { return _to WalletPreview(aWin, aForm); } \
|
|
|
|
NS_IMETHOD CookieViewer(nsIDOMWindow* aWin) { return _to CookieViewer(aWin); } \
|
|
|
|
NS_IMETHOD SignonViewer(nsIDOMWindow* aWin) { return _to SignonViewer(aWin); } \
|
1999-06-09 00:27:58 +04:00
|
|
|
NS_IMETHOD WalletEditor(nsIDOMWindow* aWin) { return _to WalletEditor(aWin); } \
|
1999-05-04 22:07:32 +04:00
|
|
|
NS_IMETHOD WalletChangePassword() { return _to WalletChangePassword(); } \
|
1999-04-24 07:08:03 +04:00
|
|
|
NS_IMETHOD WalletQuickFillin(nsIDOMWindow* aWin) { return _to WalletQuickFillin(aWin); } \
|
1999-04-22 07:42:37 +04:00
|
|
|
NS_IMETHOD WalletSamples() { return _to WalletSamples(); } \
|
|
|
|
NS_IMETHOD SetToolbarWindow(nsIDOMWindow* aWin) { return _to SetToolbarWindow(aWin); } \
|
|
|
|
NS_IMETHOD SetContentWindow(nsIDOMWindow* aWin) { return _to SetContentWindow(aWin); } \
|
|
|
|
NS_IMETHOD SetWebShellWindow(nsIDOMWindow* aWin) { return _to SetWebShellWindow(aWin); } \
|
|
|
|
NS_IMETHOD NewWindow() { return _to NewWindow(); } \
|
|
|
|
NS_IMETHOD OpenWindow() { return _to OpenWindow(); } \
|
|
|
|
NS_IMETHOD PrintPreview() { return _to PrintPreview(); } \
|
|
|
|
NS_IMETHOD Copy() { return _to Copy(); } \
|
|
|
|
NS_IMETHOD Print() { return _to Print(); } \
|
|
|
|
NS_IMETHOD Close() { return _to Close(); } \
|
|
|
|
NS_IMETHOD Exit() { return _to Exit(); } \
|
|
|
|
NS_IMETHOD Find() { return _to Find(); } \
|
|
|
|
NS_IMETHOD FindNext() { return _to FindNext(); } \
|
1999-02-03 18:54:07 +03:00
|
|
|
|
|
|
|
|
1999-03-25 02:14:43 +03:00
|
|
|
extern "C" NS_DOM nsresult NS_InitBrowserAppCoreClass(nsIScriptContext *aContext, void **aPrototype);
|
1999-02-03 18:54:07 +03:00
|
|
|
|
|
|
|
extern "C" NS_DOM nsresult NS_NewScriptBrowserAppCore(nsIScriptContext *aContext, nsISupports *aSupports, nsISupports *aParent, void **aReturn);
|
|
|
|
|
|
|
|
#endif // nsIDOMBrowserAppCore_h__
|