/src/libreoffice/sc/source/ui/inc/SheetViewOperationsTester.hxx
Line | Count | Source |
1 | | /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ |
2 | | /* |
3 | | * This file is part of the LibreOffice project. |
4 | | * |
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 | | */ |
9 | | |
10 | | #pragma once |
11 | | |
12 | | class ScViewData; |
13 | | |
14 | | namespace sc |
15 | | { |
16 | | enum class OperationType; |
17 | | |
18 | | /** Tester for operations on sheet views and default views */ |
19 | | class SheetViewOperationsTester |
20 | | { |
21 | | ScViewData* mpViewData; |
22 | | |
23 | | public: |
24 | | SheetViewOperationsTester(ScViewData* pViewData) |
25 | 0 | : mpViewData(pViewData) |
26 | 0 | { |
27 | 0 | } |
28 | | |
29 | | bool check(OperationType eOperationType) const; |
30 | | }; |
31 | | } |
32 | | |
33 | | /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |