2015-02-13 22:36:47 +03: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 15:12:37 +04: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 05:55:10 +04:00
|
|
|
#ifndef nsIWebShellServices_h___
|
|
|
|
#define nsIWebShellServices_h___
|
|
|
|
|
|
|
|
#include "nsISupports.h"
|
2012-03-22 18:42:42 +04:00
|
|
|
#include "nsCharsetSource.h"
|
1999-05-06 05:55:10 +04:00
|
|
|
|
|
|
|
// Interface ID for nsIWebShellServices
|
|
|
|
|
2010-02-18 22:23:23 +03:00
|
|
|
/* 0c628af0-5638-4703-8f99-ed6134c9de18 */
|
1999-05-06 05:55:10 +04:00
|
|
|
#define NS_IWEB_SHELL_SERVICES_IID \
|
2010-02-18 22:23:23 +03:00
|
|
|
{ 0x0c628af0, 0x5638, 0x4703, {0x8f, 0x99, 0xed, 0x61, 0x34, 0xc9, 0xde, 0x18} }
|
1999-05-06 05:55:10 +04:00
|
|
|
|
|
|
|
//----------------------------------------------------------------------
|
|
|
|
|
2015-02-13 22:36:37 +03:00
|
|
|
class nsIWebShellServices : public nsISupports
|
|
|
|
{
|
1999-05-06 05:55:10 +04:00
|
|
|
public:
|
2005-11-11 17:36:26 +03:00
|
|
|
NS_DECLARE_STATIC_IID_ACCESSOR(NS_IWEB_SHELL_SERVICES_IID)
|
1999-05-06 05:55:10 +04:00
|
|
|
|
2015-02-13 22:36:37 +03:00
|
|
|
NS_IMETHOD ReloadDocument(const char* aCharset = nullptr ,
|
2012-08-22 19:56:38 +04:00
|
|
|
int32_t aSource = kCharsetUninitialized) = 0;
|
1999-05-06 05:55:10 +04:00
|
|
|
NS_IMETHOD StopDocumentLoad(void) = 0;
|
|
|
|
};
|
|
|
|
|
2005-11-11 17:36:26 +03:00
|
|
|
NS_DEFINE_STATIC_IID_ACCESSOR(nsIWebShellServices, NS_IWEB_SHELL_SERVICES_IID)
|
|
|
|
|
2000-07-19 03:13:07 +04:00
|
|
|
/* Use this macro when declaring classes that implement this interface. */
|
|
|
|
#define NS_DECL_NSIWEBSHELLSERVICES \
|
2015-02-13 22:36:37 +03:00
|
|
|
NS_IMETHOD ReloadDocument(const char* aCharset = nullptr, \
|
|
|
|
int32_t aSource = kCharsetUninitialized) MOZ_OVERRIDE; \
|
|
|
|
NS_IMETHOD StopDocumentLoad(void) MOZ_OVERRIDE;
|
2000-07-19 03:13:07 +04:00
|
|
|
|
1999-05-06 05:55:10 +04:00
|
|
|
#endif /* nsIWebShellServices_h___ */
|