tdf#149529 crash on deref deleted ScDocument*
[LibreOffice.git] / include / vcl / WeldedTabbedNotebookbar.hxx
blob073902f2d1661e024fde1ca05217e14e2e160886
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_WRITERTABBEDNOTEBOOKBAR_HXX
11 #define INCLUDED_SFX2_NOTEBOOKBAR_WRITERTABBEDNOTEBOOKBAR_HXX
13 #include <vcl/dllapi.h>
14 #include <rtl/ustring.hxx>
15 #include <vcl/weld.hxx>
16 #include <com/sun/star/frame/XFrame.hpp>
18 /**
19 * Welded wrapper for NotebookBar used for online
21 class VCL_DLLPUBLIC WeldedTabbedNotebookbar
23 std::unique_ptr<weld::Builder> m_xBuilder;
25 std::unique_ptr<weld::Container> m_xContainer;
27 public:
28 WeldedTabbedNotebookbar(const VclPtr<vcl::Window>& pContainerWindow,
29 const OUString& rUIFilePath,
30 const css::uno::Reference<css::frame::XFrame>& rFrame,
31 sal_uInt64 nWindowId);
34 #endif // INCLUDED_SFX2_NOTEBOOKBAR_SFXNOTEBOOKBAR_HXX
36 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */