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/. */ 5 6 #ifndef mozilla_HTMLEditorController_h__ 7 #define mozilla_HTMLEditorController_h__ 8 9 #include "nscore.h" // for nsresult 10 11 class nsControllerCommandTable; 12 13 namespace mozilla { 14 15 class HTMLEditorController final { 16 public: 17 static nsresult RegisterEditorDocStateCommands( 18 nsControllerCommandTable* aCommandTable); 19 static nsresult RegisterHTMLEditorCommands( 20 nsControllerCommandTable* aCommandTable); 21 static void Shutdown(); 22 }; 23 24 } // namespace mozilla 25 26 #endif /* mozllla_HTMLEditorController_h__ */ 27