summaryrefslogtreecommitdiffstats
path: root/Tools/QtBiomeVisualiser/ChunkLoader.h
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2014-10-28 22:07:09 +0100
committerMattes D <github@xoft.cz>2014-10-28 22:07:09 +0100
commit2f0abb73c94eb896c956ceb0375d2e72065d95d5 (patch)
tree2cf8a72a9aaf59fa218f5978045412a47662d52b /Tools/QtBiomeVisualiser/ChunkLoader.h
parentForgotten m_SendChunksMediumPriority.empty() check. (diff)
parentQtBiomeVisualiser: Reduced memory usage. (diff)
downloadcuberite-2f0abb73c94eb896c956ceb0375d2e72065d95d5.tar
cuberite-2f0abb73c94eb896c956ceb0375d2e72065d95d5.tar.gz
cuberite-2f0abb73c94eb896c956ceb0375d2e72065d95d5.tar.bz2
cuberite-2f0abb73c94eb896c956ceb0375d2e72065d95d5.tar.lz
cuberite-2f0abb73c94eb896c956ceb0375d2e72065d95d5.tar.xz
cuberite-2f0abb73c94eb896c956ceb0375d2e72065d95d5.tar.zst
cuberite-2f0abb73c94eb896c956ceb0375d2e72065d95d5.zip
Diffstat (limited to 'Tools/QtBiomeVisualiser/ChunkLoader.h')
-rw-r--r--Tools/QtBiomeVisualiser/ChunkLoader.h54
1 files changed, 0 insertions, 54 deletions
diff --git a/Tools/QtBiomeVisualiser/ChunkLoader.h b/Tools/QtBiomeVisualiser/ChunkLoader.h
deleted file mode 100644
index e6eb80cbf..000000000
--- a/Tools/QtBiomeVisualiser/ChunkLoader.h
+++ /dev/null
@@ -1,54 +0,0 @@
-#pragma once
-
-#include <QObject>
-#include <QRunnable>
-#include <memory>
-
-
-
-
-#if (!defined(_MSC_VER) && (__cplusplus < 201103L))
- // GCC in non-c++11 mode doesn't have the "override" keyword
- #define override
-#endif
-
-
-
-
-
-// fwd:
-class Chunk;
-typedef std::shared_ptr<Chunk> ChunkPtr;
-
-class ChunkSource;
-typedef std::shared_ptr<ChunkSource> ChunkSourcePtr;
-
-
-
-
-
-class ChunkLoader :
- public QObject,
- public QRunnable
-{
- Q_OBJECT
-
-public:
- ChunkLoader(int a_ChunkX, int a_ChunkZ, ChunkPtr a_Chunk, ChunkSourcePtr a_ChunkSource);
- virtual ~ChunkLoader() {}
-
-signals:
- void loaded(int a_ChunkX, int a_ChunkZ);
-
-protected:
- virtual void run() override;
-
-private:
- int m_ChunkX, m_ChunkZ;
- ChunkPtr m_Chunk;
- ChunkSourcePtr m_ChunkSource;
-};
-
-
-
-