Version 5.2.6.1, tag libreoffice-5.2.6.1
[LibreOffice.git] / include / sfx2 / notebookbar / SfxNotebookBar.hxx
blob7f40e8ab2fa94d0925b3f653ca8341c3ea713e7e
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 */
10 #ifndef INCLUDED_SFX2_NOTEBOOKBAR_SFXNOTEBOOKBAR_HXX
11 #define INCLUDED_SFX2_NOTEBOOKBAR_SFXNOTEBOOKBAR_HXX
13 #include <sfx2/dllapi.h>
15 class SfxBindings;
17 namespace sfx2 {
19 /** Helpers for easier access to NotebookBar via the sfx2 infrastructure.
21 class SFX2_DLLPUBLIC SfxNotebookBar
23 public:
24 /// Function to be called from the sdi's ExecMethod.
25 static void ExecMethod(SfxBindings& rBindings);
27 /// Function to be called from the sdi's StateMethod.
28 static void StateMethod(SfxBindings& rBindings, const OUString& rUIFile);
31 } // namespace sfx2
33 #endif // INCLUDED_SFX2_NOTEBOOKBAR_SFXNOTEBOOKBAR_HXX
35 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */