netwerk/protocol/file/nsFileProtocolHandler.h
author Brian R. Bondy <netzen@gmail.com>
Tue, 19 Mar 2013 10:52:24 -0400
changeset 131847 121c90c4ebe429a3941983c589ea11581040fb64
parent 96742 f4157e8c410708d76703f19e4dfb61859bfe32d8
child 147194 14bd6018f287849d5a43f0238cb01e9b1a81e29e
permissions -rw-r--r--
Bug 852197 - Cleanup and fix various console warnings in Metro front end. r=mbrubeck

/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/* 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/. */

#ifndef nsFileProtocolHandler_h__
#define nsFileProtocolHandler_h__

#include "nsIFileProtocolHandler.h"
#include "nsWeakReference.h"

class nsFileProtocolHandler : public nsIFileProtocolHandler
                            , public nsSupportsWeakReference
{
public:
    NS_DECL_ISUPPORTS
    NS_DECL_NSIPROTOCOLHANDLER
    NS_DECL_NSIFILEPROTOCOLHANDLER

    nsFileProtocolHandler();
    virtual ~nsFileProtocolHandler() {}

    nsresult Init();
};

#endif // !nsFileProtocolHandler_h__