gecko-dev/netwerk/protocol/file/nsFileProtocolHandler.h

28 строки
798 B
C
Исходник Обычный вид История

/* -*- 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
#ifndef nsFileProtocolHandler_h__
#define nsFileProtocolHandler_h__
1999-06-11 05:37:24 +04:00
#include "nsIFileProtocolHandler.h"
#include "nsWeakReference.h"
1999-06-11 05:37:24 +04:00
class nsFileProtocolHandler : public nsIFileProtocolHandler
, public nsSupportsWeakReference
1999-06-11 05:37:24 +04:00
{
virtual ~nsFileProtocolHandler() {}
1999-06-11 05:37:24 +04:00
public:
NS_DECL_THREADSAFE_ISUPPORTS
NS_DECL_NSIPROTOCOLHANDLER
NS_DECL_NSIFILEPROTOCOLHANDLER
1999-06-11 05:37:24 +04:00
nsFileProtocolHandler();
MOZ_MUST_USE nsresult Init();
1999-06-11 05:37:24 +04:00
};
#endif // !nsFileProtocolHandler_h__