| 1 |
/** |
| 2 |
* SPDX-FileCopyrightText: (C) 2009 Dominik Seichter <[email protected]> |
| 3 |
* SPDX-License-Identifier: GPL-2.0-or-later |
| 4 |
*/ |
| 5 |
|
| 6 |
#ifndef OPERATION_H |
| 7 |
#define OPERATION_H |
| 8 |
|
| 9 |
#include <podofo/podofo.h> |
| 10 |
|
| 11 |
/** |
| 12 |
* Abstract base class for all operations |
| 13 |
* the podofopages can perform. |
| 14 |
* |
| 15 |
*/ |
| 16 |
class Operation |
| 17 |
{ |
| 18 |
public: |
| 19 |
virtual ~Operation() { } |
| 20 |
|
| 21 |
virtual void Perform(PoDoFo::PdfDocument& doc) = 0; |
| 22 |
|
| 23 |
virtual std::string ToString() const = 0; |
| 24 |
}; |
| 25 |
|
| 26 |
#endif // OPERATION_H |