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