michael@0: /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- michael@0: * 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: #ifndef NSCOMMANDHANDLER_H michael@0: #define NSCOMMANDHANDLER_H michael@0: michael@0: #include "nsISupports.h" michael@0: #include "nsICommandHandler.h" michael@0: #include "nsIDOMWindow.h" michael@0: michael@0: class nsCommandHandler : michael@0: public nsICommandHandlerInit, michael@0: public nsICommandHandler michael@0: { michael@0: nsIDOMWindow *mWindow; michael@0: michael@0: nsresult GetCommandHandler(nsICommandHandler **aCommandHandler); michael@0: michael@0: public: michael@0: nsCommandHandler(); michael@0: michael@0: NS_DECL_ISUPPORTS michael@0: NS_DECL_NSICOMMANDHANDLERINIT michael@0: NS_DECL_NSICOMMANDHANDLER michael@0: michael@0: protected: michael@0: virtual ~nsCommandHandler(); michael@0: }; michael@0: michael@0: #endif michael@0: