Don't search for old (<= 2.0) .NET SDK anymore
[LibreOffice.git] / include / sfx2 / templatedefaultview.hxx
blob15bec26fa38a061aeaabdd548406e21a4fee00b7
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_TEMPLATEDEFAULTVIEW_HXX
11 #define INCLUDED_SFX2_TEMPLATEDEFAULTVIEW_HXX
13 #include <sfx2/templatelocalview.hxx>
15 class SFX2_DLLPUBLIC TemplateDefaultView final : public TemplateLocalView
17 public:
18 TemplateDefaultView(Window *pParent);
20 virtual void reload() override;
22 virtual void showAllTemplates () override;
24 virtual void KeyInput( const KeyEvent& rKEvt ) override;
26 virtual void MouseButtonDown( const MouseEvent& rMEvt ) override;
28 void createContextMenu();
30 DECL_LINK(ContextMenuSelectHdl, Menu*, void);
32 private:
33 long mnItemMaxSize;
34 long mnTextHeight;
37 #endif // INCLUDED_SFX2_TEMPLATEDEFAULTVIEW_HXX
38 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */