michael@0: /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ michael@0: /* This Source Code Form is subject to the terms of the Mozilla Public michael@0: * License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ michael@0: michael@0: #include "nsISimpleStreamListener.h" michael@0: #include "nsIOutputStream.h" michael@0: #include "nsCOMPtr.h" michael@0: michael@0: class nsSimpleStreamListener : public nsISimpleStreamListener michael@0: { michael@0: public: michael@0: NS_DECL_ISUPPORTS michael@0: NS_DECL_NSIREQUESTOBSERVER michael@0: NS_DECL_NSISTREAMLISTENER michael@0: NS_DECL_NSISIMPLESTREAMLISTENER michael@0: michael@0: nsSimpleStreamListener() { } michael@0: virtual ~nsSimpleStreamListener() {} michael@0: michael@0: protected: michael@0: nsCOMPtr mSink; michael@0: nsCOMPtr mObserver; michael@0: };