summaryrefslogtreecommitdiff
path: root/glcdgraphics/pbm.h
diff options
context:
space:
mode:
authorandreas 'randy' weinberger <vdr@smue.org>2010-02-21 19:58:27 +0100
committerandreas 'randy' weinberger <vdr@smue.org>2010-02-21 19:58:27 +0100
commit10ab31fa86dbf9875b5f6baa6ac59fefaaf86be3 (patch)
tree60ad7c856565f03e145b2996d1bb5f9cd64c0532 /glcdgraphics/pbm.h
downloadgraphlcd-base-10ab31fa86dbf9875b5f6baa6ac59fefaaf86be3.tar.gz
graphlcd-base-10ab31fa86dbf9875b5f6baa6ac59fefaaf86be3.tar.bz2
initial git upload, based on graphlcd-base-0.1.5
Diffstat (limited to 'glcdgraphics/pbm.h')
-rw-r--r--glcdgraphics/pbm.h34
1 files changed, 34 insertions, 0 deletions
diff --git a/glcdgraphics/pbm.h b/glcdgraphics/pbm.h
new file mode 100644
index 0000000..8e9535f
--- /dev/null
+++ b/glcdgraphics/pbm.h
@@ -0,0 +1,34 @@
+/*
+ * GraphLCD graphics library
+ *
+ * pbm.h - PBM file loading and saving
+ *
+ * This file is released under the GNU General Public License. Refer
+ * to the COPYING file distributed with this package.
+ *
+ * (c) 2006 Andreas Regel <andreas.regel AT powarman.de>
+ */
+
+#ifndef _GLCDGRAPHICS_PBM_H_
+#define _GLCDGRAPHICS_PBM_H_
+
+#include "imagefile.h"
+
+namespace GLCD
+{
+
+class cImage;
+
+class cPBMFile : public cImageFile
+{
+public:
+ cPBMFile();
+ virtual ~cPBMFile();
+ virtual bool Load(cImage & image, const std::string & fileName);
+ virtual bool Save(cImage & image, const std::string & fileName);
+};
+
+} // end of namespace
+
+#endif
+