Debian Codegraph @

podofo/tools/podofopages/MoveOperation.h

raw
1 /**
2 * SPDX-FileCopyrightText: (C) 2009 Dominik Seichter <[email protected]>
3 * SPDX-License-Identifier: GPL-2.0-or-later
4 */
5
6 #ifndef MOVE_OPERATION_H
7 #define MOVE_OPERATION_H
8
9 #include "Operation.h"
10
11 class MoveOperation : public Operation
12 {
13 public:
14 MoveOperation(int fromIndex, int toIndex);
15
16 virtual ~MoveOperation() { }
17
18 virtual void Perform(PoDoFo::PdfDocument& doc);
19 virtual std::string ToString() const;
20
21 private:
22 unsigned m_fromIndex;
23 unsigned m_toIndex;
24 };
25
26 #endif // MOVE_OPERATION_H