]> Dogcows Code - chaz/yoink/blobdiff - src/Moof/Image.hh
the massive refactoring effort
[chaz/yoink] / src / Moof / Image.hh
diff --git a/src/Moof/Image.hh b/src/Moof/Image.hh
deleted file mode 100644 (file)
index 6c36cdd..0000000
+++ /dev/null
@@ -1,70 +0,0 @@
-
-/*]  Copyright (c) 2009-2010, Charles McGarvey  [**************************
-**]  All rights reserved.
-*
-* vi:ts=4 sw=4 tw=75
-*
-* Distributable under the terms and conditions of the 2-clause BSD license;
-* see the file COPYING for a complete text of the license.
-*
-**************************************************************************/
-
-#ifndef _MOOF_IMAGE_HH_
-#define _MOOF_IMAGE_HH_
-
-#include <boost/shared_ptr.hpp>
-
-#include <Moof/OpenGL.hh>
-#include <Moof/Resource.hh>
-
-
-namespace Mf {
-
-
-class Image;
-typedef boost::shared_ptr<Image> ImageP;
-
-class Image : public Resource
-{
-public:
-
-       static ImageP alloc(const std::string& name)
-       {
-               return ImageP(new Image(name));
-       }
-
-       explicit Image(const std::string& name);
-
-       bool isValid() const;
-
-       int getWidth() const;
-       int getHeight() const;
-
-       unsigned getDepth() const;
-       unsigned getPitch() const;
-       GLuint getMode() const;
-
-       std::string getComment() const;
-
-       const char* getPixels() const;
-       char* getPixels();
-
-       void flip();
-
-       void setAsIcon() const;
-
-       static bool getPath(std::string& name);
-
-private:
-
-       static FILE* openFile(std::string& name);
-
-       class Impl;
-       boost::shared_ptr<Impl> mImpl;
-};
-
-
-} // namespace Mf
-
-#endif // _MOOF_IMAGE_HH_
-
This page took 0.020393 seconds and 4 git commands to generate.