summaryrefslogtreecommitdiff
path: root/Build/source/utils/sam2p/helpere.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/utils/sam2p/helpere.hpp')
-rw-r--r--Build/source/utils/sam2p/helpere.hpp37
1 files changed, 0 insertions, 37 deletions
diff --git a/Build/source/utils/sam2p/helpere.hpp b/Build/source/utils/sam2p/helpere.hpp
deleted file mode 100644
index 5687cfba2b6..00000000000
--- a/Build/source/utils/sam2p/helpere.hpp
+++ /dev/null
@@ -1,37 +0,0 @@
-/*
- * helpere.hpp -- help encoding images
- * by pts@fazekas.hu at Tue Dec 9 10:53:21 CET 2003
- */
-
-/* Don't use this here, because we don't have helpere.cpp
-#ifdef __GNUC__
-#pragma interface
-#endif
-*/
-
-#ifndef HELPERE_HPP
-#define HELPERE_HPP 1
-
-#include "image.hpp"
-#include "error.hpp"
-#include "gensio.hpp"
-
-/** Ugly multiple inheritance. !! unify with PNG, TIFF etc. */
-class HelperE: public Filter::NullE, public Filter::PipeE {
- public:
- inline HelperE(char const*filter_cmd, char const*mainfn=NULL): Filter::NullE(), Filter::PipeE(*(Filter::NullE*)this, filter_cmd, (slendiff_t)mainfn) {
- /* ^^^ (slendiff_t) is unsafe cast */
- // GenBuffer::Writable &out_, char *pipe_tmpl, slendiff_t i=0)
- }
- inline virtual void vi_copy(FILE *f) {
- // img=Image::load("-", SimBuffer::B(), (Image::filep_t)f, (char const*)"PNM");
- /* fclose(f); */
- Filter::UngetFILED ufd((char const*)NULLP, f, Filter::UngetFILED::CM_closep|Filter::UngetFILED::CM_keep_stdinp);
- img=Image::load((Image::Loader::UFD*)&ufd, SimBuffer::B(), (char const*)"PNM");
- }
- inline Image::Sampled *getImg() const { return img; }
- protected:
- Image::Sampled *img;
-};
-
-#endif