Permalink
Browse files

Removed ClassDiagram1.cd and created the RecorderManager

  • Loading branch information...
mdfeist committed Jun 19, 2013
1 parent 2d7d9c3 commit ae3cd29510d79522a70e86cf9ecbb1e851df085e
@@ -141,6 +141,7 @@
</ClCompile>
<ClCompile Include="Objects.cpp" />
<ClCompile Include="pugixml.cpp" />
+ <ClCompile Include="RecorderManager.cpp" />
<ClCompile Include="RigidBody.cpp" />
<ClCompile Include="AppData.cpp" />
<ClCompile Include="SetObjectRigidBodyForm.cpp" />
@@ -190,6 +191,7 @@
<ClInclude Include="Objects.h" />
<ClInclude Include="pugiconfig.hpp" />
<ClInclude Include="pugixml.hpp" />
+ <ClInclude Include="RecorderManager.h" />
<ClInclude Include="resource.h" />
<ClInclude Include="RigidBody.h" />
<ClInclude Include="AppData.h" />
@@ -91,6 +91,9 @@
<ClCompile Include="WorldManager.cpp">
<Filter>Source Files</Filter>
</ClCompile>
+ <ClCompile Include="RecorderManager.cpp">
+ <Filter>Source Files</Filter>
+ </ClCompile>
</ItemGroup>
<ItemGroup>
<ClInclude Include="stdafx.h">
@@ -198,6 +201,9 @@
<ClInclude Include="WorldManager.h">
<Filter>Header Files</Filter>
</ClInclude>
+ <ClInclude Include="RecorderManager.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
</ItemGroup>
<ItemGroup>
<ResourceCompile Include="app.rc">
@@ -1 +0,0 @@
-
@@ -0,0 +1,12 @@
+#include "StdAfx.h"
+#include "RecorderManager.h"
+
+
+RecorderManager::RecorderManager(void)
+{
+}
+
+
+RecorderManager::~RecorderManager(void)
+{
+}
@@ -0,0 +1,19 @@
+#pragma once
+class RecorderManager
+{
+public:
+ static RecorderManager* getInstance() {
+ if(!m_pInstance) m_pInstance = new RecorderManager();
+ return m_pInstance;
+ }
+
+protected:
+ RecorderManager(void);
+ ~RecorderManager(void);
+private:
+ RecorderManager(RecorderManager const&);
+ RecorderManager& operator=(RecorderManager const&);
+
+ static RecorderManager* m_pInstance;
+};
+

0 comments on commit ae3cd29

Please sign in to comment.