2001-09-28 20:14:13 +00:00
|
|
|
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
2012-05-21 11:12:37 +00:00
|
|
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
1999-05-06 01:55:10 +00:00
|
|
|
#ifndef nsIWebShellServices_h___
|
|
|
|
#define nsIWebShellServices_h___
|
|
|
|
|
|
|
|
#include "nsISupports.h"
|
2012-03-22 14:42:42 +00:00
|
|
|
#include "nsCharsetSource.h"
|
1999-05-06 01:55:10 +00:00
|
|
|
|
|
|
|
// Interface ID for nsIWebShellServices
|
|
|
|
|
2010-02-18 19:23:23 +00:00
|
|
|
/* 0c628af0-5638-4703-8f99-ed6134c9de18 */
|
1999-05-06 01:55:10 +00:00
|
|
|
#define NS_IWEB_SHELL_SERVICES_IID \
|
2010-02-18 19:23:23 +00:00
|
|
|
{ 0x0c628af0, 0x5638, 0x4703, {0x8f, 0x99, 0xed, 0x61, 0x34, 0xc9, 0xde, 0x18} }
|
1999-05-06 01:55:10 +00:00
|
|
|
|
|
|
|
//----------------------------------------------------------------------
|
|
|
|
|
|
|
|
class nsIWebShellServices : public nsISupports {
|
|
|
|
public:
|
2005-11-11 14:36:26 +00:00
|
|
|
NS_DECLARE_STATIC_IID_ACCESSOR(NS_IWEB_SHELL_SERVICES_IID)
|
1999-05-06 01:55:10 +00:00
|
|
|
|
1999-05-19 00:23:03 +00:00
|
|
|
NS_IMETHOD ReloadDocument(const char* aCharset = nsnull ,
|
2001-12-26 03:17:59 +00:00
|
|
|
PRInt32 aSource = kCharsetUninitialized) = 0;
|
1999-05-06 01:55:10 +00:00
|
|
|
NS_IMETHOD StopDocumentLoad(void) = 0;
|
|
|
|
};
|
|
|
|
|
2005-11-11 14:36:26 +00:00
|
|
|
NS_DEFINE_STATIC_IID_ACCESSOR(nsIWebShellServices, NS_IWEB_SHELL_SERVICES_IID)
|
|
|
|
|
2000-07-18 23:13:07 +00:00
|
|
|
/* Use this macro when declaring classes that implement this interface. */
|
|
|
|
#define NS_DECL_NSIWEBSHELLSERVICES \
|
2001-12-26 03:17:59 +00:00
|
|
|
NS_IMETHOD ReloadDocument(const char *aCharset=nsnull, PRInt32 aSource=kCharsetUninitialized); \
|
2000-07-18 23:13:07 +00:00
|
|
|
NS_IMETHOD StopDocumentLoad(void); \
|
|
|
|
|
1999-05-06 01:55:10 +00:00
|
|
|
#endif /* nsIWebShellServices_h___ */
|