Update git submodules
[LibreOffice.git] / sfx2 / inc / templatedefaultview.hxx
blob1771ad3d8759da9f70464fb823db5269bf8f5130
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 #pragma once
12 #include <sfx2/templatelocalview.hxx>
14 class TemplateDefaultView final : public TemplateLocalView
16 public:
17 TemplateDefaultView(std::unique_ptr<weld::ScrolledWindow> xWindow,
18 std::unique_ptr<weld::Menu> xMenu);
20 virtual void showAllTemplates() override;
22 virtual bool KeyInput(const KeyEvent& rKEvt) override;
24 virtual bool MouseButtonDown(const MouseEvent& rMEvt) override;
26 void createContextMenu();
29 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */