]> Dogcows Code - chaz/yoink/blobdiff - src/Moof/Texture.hh
extreme refactoring
[chaz/yoink] / src / Moof / Texture.hh
similarity index 83%
rename from src/texture.hh
rename to src/Moof/Texture.hh
index f92ad23faf06db7c16c59c2d22d107ec6ad920e7..e858093e1a44afa06b44d50dcc5eac80503855e7 100644 (file)
 
 *******************************************************************************/
 
-#ifndef _TEXTURE_HH_
-#define _TEXTURE_HH_
+#ifndef _MOOF_TEXTURE_HH_
+#define _MOOF_TEXTURE_HH_
 
 /**
- * @file texture.hh
+ * @file Texture.hh
  * Image-loading and OpenGL texture loading.
  */
 
 
 #include <boost/shared_ptr.hpp>
 
-#include "opengl.hh"
-#include "resource.hh"
+#include <Moof/Resource.hh>
+#include <Moof/OpenGL.hh>
 
 
-namespace dc {
+namespace Mf {
 
 
-class texture : public resource
+class Texture : public Resource
 {
 public:
-       texture(const std::string& name);
+       Texture(const std::string& name);
 
        void bind();
        GLuint getObject();
@@ -65,21 +65,21 @@ public:
 
        static std::string getPathToResource(const std::string& name);
 
-       struct exception : std::runtime_error
+       struct Exception : std::runtime_error
        {
-               explicit exception(const std::string& what_arg) :
+               explicit Exception(const std::string& what_arg) :
                        std::runtime_error(what_arg) {}
        };
 
 private:
-       class texture_impl;
-       boost::shared_ptr<texture_impl> impl;
+       class TextureImpl;
+       boost::shared_ptr<TextureImpl> impl_;
 };
 
 
-} // namespace dc
+} // namespace Mf
 
-#endif // _TEXTURE_HH_
+#endif // _MOOF_TEXTURE_HH_
 
 /** vim: set ts=4 sw=4 tw=80: *************************************************/
 
This page took 0.02134 seconds and 4 git commands to generate.