2001-09-29 00:14:13 +04:00
|
|
|
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
|
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-06-11 05:37:24 +04:00
|
|
|
|
2003-01-18 05:15:14 +03:00
|
|
|
#ifndef nsFileProtocolHandler_h__
|
|
|
|
#define nsFileProtocolHandler_h__
|
1999-06-11 05:37:24 +04:00
|
|
|
|
2002-02-01 01:17:35 +03:00
|
|
|
#include "nsIFileProtocolHandler.h"
|
2000-08-22 10:06:42 +04:00
|
|
|
#include "nsWeakReference.h"
|
1999-06-11 05:37:24 +04:00
|
|
|
|
2003-01-18 05:15:14 +03:00
|
|
|
class nsFileProtocolHandler : public nsIFileProtocolHandler
|
|
|
|
, public nsSupportsWeakReference
|
1999-06-11 05:37:24 +04:00
|
|
|
{
|
2014-06-24 20:36:44 +04:00
|
|
|
virtual ~nsFileProtocolHandler() {}
|
|
|
|
|
1999-06-11 05:37:24 +04:00
|
|
|
public:
|
2013-07-19 06:24:13 +04:00
|
|
|
NS_DECL_THREADSAFE_ISUPPORTS
|
1999-08-23 03:52:07 +04:00
|
|
|
NS_DECL_NSIPROTOCOLHANDLER
|
2002-02-01 01:17:35 +03:00
|
|
|
NS_DECL_NSIFILEPROTOCOLHANDLER
|
1999-06-11 05:37:24 +04:00
|
|
|
|
|
|
|
nsFileProtocolHandler();
|
|
|
|
|
2016-10-03 09:54:40 +03:00
|
|
|
MOZ_MUST_USE nsresult Init();
|
1999-06-11 05:37:24 +04:00
|
|
|
};
|
|
|
|
|
2003-01-18 05:15:14 +03:00
|
|
|
#endif // !nsFileProtocolHandler_h__
|