Bumping manifests a=b2g-bump
[gecko.git] / embedding / components / commandhandler / nsControllerCommandTable.h
blob54cbcb2ee9b7105bcae79a2592e8c9da21594388
1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* This Source Code Form is subject to the terms of the Mozilla Public
3 * License, v. 2.0. If a copy of the MPL was not distributed with this
4 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
6 #ifndef nsControllerCommandTable_h_
7 #define nsControllerCommandTable_h_
10 #include "nsIControllerCommandTable.h"
11 #include "nsWeakReference.h"
12 #include "nsInterfaceHashtable.h"
14 class nsIControllerCommand;
16 class nsControllerCommandTable : public nsIControllerCommandTable,
17 public nsSupportsWeakReference
19 public:
21 nsControllerCommandTable();
23 NS_DECL_ISUPPORTS
25 NS_DECL_NSICONTROLLERCOMMANDTABLE
27 protected:
29 virtual ~nsControllerCommandTable();
31 // Hash table of nsIControllerCommands, keyed by command name.
32 nsInterfaceHashtable<nsCStringHashKey, nsIControllerCommand> mCommandsTable;
34 // Are we mutable?
35 bool mMutable;
39 #endif // nsControllerCommandTable_h_