summaryrefslogtreecommitdiffstats
path: root/source/cWindowOwner.h
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-03-19 10:37:10 +0100
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-03-19 10:37:10 +0100
commit1e90dad2456f383c2624acc85ab62445440e1156 (patch)
tree3792ac31a9304e20a9dab67c4235a40ec1d3b385 /source/cWindowOwner.h
parentSocketThreads: proper thread finishing sequence (doesn't trigger AppVerifier checks :) (diff)
downloadcuberite-1e90dad2456f383c2624acc85ab62445440e1156.tar
cuberite-1e90dad2456f383c2624acc85ab62445440e1156.tar.gz
cuberite-1e90dad2456f383c2624acc85ab62445440e1156.tar.bz2
cuberite-1e90dad2456f383c2624acc85ab62445440e1156.tar.lz
cuberite-1e90dad2456f383c2624acc85ab62445440e1156.tar.xz
cuberite-1e90dad2456f383c2624acc85ab62445440e1156.tar.zst
cuberite-1e90dad2456f383c2624acc85ab62445440e1156.zip
Diffstat (limited to 'source/cWindowOwner.h')
-rw-r--r--source/cWindowOwner.h15
1 files changed, 12 insertions, 3 deletions
diff --git a/source/cWindowOwner.h b/source/cWindowOwner.h
index 91d78848c..71691aaed 100644
--- a/source/cWindowOwner.h
+++ b/source/cWindowOwner.h
@@ -3,11 +3,16 @@
class cWindow;
class cBlockEntity;
+
+
+
+
+
class cWindowOwner
{
public:
- cWindowOwner() : m_Window( 0 ) {}
- void CloseWindow() { m_Window = 0; }
+ cWindowOwner() : m_Window( NULL ) {}
+ void CloseWindow() { m_Window = NULL; }
void OpenWindow( cWindow* a_Window ) { m_Window = a_Window; }
cWindow* GetWindow() { return m_Window; }
@@ -17,4 +22,8 @@ public:
private:
cWindow* m_Window;
cBlockEntity *m_Entity;
-}; \ No newline at end of file
+};
+
+
+
+