1
0
mirror of https://github.com/kanzure/pdfparanoia.git synced 2024-06-09 20:29:52 +02:00
pdfparanoia/pdfparanoia/plugin.py

18 lines
297 B
Python
Raw Normal View History

2013-02-05 10:10:14 +01:00
# -*- coding: utf-8 -*-
"""
pdfparanoia.plugin
~~~~~~~~~~~~~~~
Defines how plugins work.
"""
class Plugin:
@staticmethod
def scrub(content):
"""
Removes watermarks from the given pdf.
"""
raise NotImplementedError("must be implemented by the subclass")