2015-02-13 19:36:47 +00:00
|
|
|
/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
|
|
|
/* vim: set ts=8 sts=2 et sw=2 tw=80: */
|
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
|
|
|
|
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
|
|
|
|
2015-02-13 19:36:37 +00:00
|
|
|
class nsIWebShellServices : public nsISupports
|
|
|
|
{
|
1999-05-06 01:55:10 +00:00
|
|
|
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
|
|
|
|
2015-05-06 17:57:23 +00:00
|
|
|
NS_IMETHOD ReloadDocument(const char* aCharset = nullptr,
|
2012-08-22 15:56:38 +00:00
|
|
|
int32_t 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 \
|
2015-02-13 19:36:37 +00:00
|
|
|
NS_IMETHOD ReloadDocument(const char* aCharset = nullptr, \
|
2015-03-21 16:28:04 +00:00
|
|
|
int32_t aSource = kCharsetUninitialized) override; \
|
|
|
|
NS_IMETHOD StopDocumentLoad(void) override;
|
2000-07-18 23:13:07 +00:00
|
|
|
|
1999-05-06 01:55:10 +00:00
|
|
|
#endif /* nsIWebShellServices_h___ */
|