summaryrefslogtreecommitdiff
path: root/include/cipherfil.h
diff options
context:
space:
mode:
authorRoberto C. Sanchez <roberto@connexer.com>2014-03-29 10:53:59 -0400
committerRoberto C. Sanchez <roberto@connexer.com>2014-03-29 10:53:59 -0400
commit03134fa5f6f25d92724ce4c183f9bbe12a9e37dc (patch)
tree847326a4de82f0241ac87cbbc427a1b92a696a02 /include/cipherfil.h
parentd7469385b05b9510338407fa123e9ad090f80af6 (diff)
Imported Upstream version 1.5.11
Diffstat (limited to 'include/cipherfil.h')
-rw-r--r--include/cipherfil.h40
1 files changed, 40 insertions, 0 deletions
diff --git a/include/cipherfil.h b/include/cipherfil.h
new file mode 100644
index 0000000..cf48389
--- /dev/null
+++ b/include/cipherfil.h
@@ -0,0 +1,40 @@
+/***************************************************************************
+ *
+ * $Id: cipherfil.h 1864 2005-11-20 06:06:40Z scribe $
+ *
+ * Copyright 1998 CrossWire Bible Society (http://www.crosswire.org)
+ * CrossWire Bible Society
+ * P. O. Box 2528
+ * Tempe, AZ 85280-2528
+ *
+ * This program is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License as published by the
+ * Free Software Foundation version 2.
+ *
+ * This program is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * General Public License for more details.
+ *
+ */
+
+#ifndef CIPHERFIL_H
+#define CIPHERFIL_H
+
+#include <swfilter.h>
+
+SWORD_NAMESPACE_START
+
+class SWCipher;
+
+class SWDLLEXPORT CipherFilter:public SWFilter {
+ SWCipher *cipher;
+public:
+ CipherFilter(const char *key);
+ virtual ~CipherFilter();
+ virtual char processText(SWBuf &text, const SWKey *key = 0, const SWModule * = 0);
+ virtual SWCipher *getCipher();
+};
+
+SWORD_NAMESPACE_END
+#endif