From 2187ae7779656e53f8dfe07b8cff7faae16d9188 Mon Sep 17 00:00:00 2001
From: xj qian <qianxj15@sina.com>
Date: 星期三, 18 九月 2024 11:56:51 +0800
Subject: [PATCH] update

---
 jrj/ext-jrj/JGuiImpl.cpp            |    1 +
 jrj/ext-jrj/JAlloc.hpp              |    6 +++++-
 jrj/ext-jrj/JGui.hpp                |    7 +++++++
 jrj/ext-jrj/ext-jrj.vcxproj         |    4 +++-
 jrj/ext-jrj/JAllocImpl.cpp          |    0 
 jrj/ext-jrj/ext-jrj.vcxproj.filters |    8 +++++++-
 6 files changed, 23 insertions(+), 3 deletions(-)

diff --git a/jrj/ext-jrj/JAlloc.hpp b/jrj/ext-jrj/JAlloc.hpp
index 05866bf..a575b77 100644
--- a/jrj/ext-jrj/JAlloc.hpp
+++ b/jrj/ext-jrj/JAlloc.hpp
@@ -1,5 +1,9 @@
 #pragma once
-class JAlloc
+#include "JObject.hpp"
+class JAlloc : public JObject
 {
+public:
+	virtual void* alloc(int size);
+	virtual void free(void* p);
 };
 
diff --git a/jrj/ext-jrj/JAlloc.cpp b/jrj/ext-jrj/JAllocImpl.cpp
similarity index 100%
rename from jrj/ext-jrj/JAlloc.cpp
rename to jrj/ext-jrj/JAllocImpl.cpp
diff --git a/jrj/ext-jrj/JGui.hpp b/jrj/ext-jrj/JGui.hpp
new file mode 100644
index 0000000..631309c
--- /dev/null
+++ b/jrj/ext-jrj/JGui.hpp
@@ -0,0 +1,7 @@
+#pragma once
+#include "JObject.hpp"
+class JGui :
+    public JObject
+{
+};
+
diff --git a/jrj/ext-jrj/JGuiImpl.cpp b/jrj/ext-jrj/JGuiImpl.cpp
new file mode 100644
index 0000000..a77aa19
--- /dev/null
+++ b/jrj/ext-jrj/JGuiImpl.cpp
@@ -0,0 +1 @@
+#include "JGui.hpp"
diff --git a/jrj/ext-jrj/ext-jrj.vcxproj b/jrj/ext-jrj/ext-jrj.vcxproj
index c8440a1..25f4495 100644
--- a/jrj/ext-jrj/ext-jrj.vcxproj
+++ b/jrj/ext-jrj/ext-jrj.vcxproj
@@ -269,6 +269,7 @@
     <ClInclude Include="JAlloc.hpp" />
     <ClInclude Include="JFactory.hpp" />
     <ClInclude Include="JFactoryStringImpl.h" />
+    <ClInclude Include="JGui.hpp" />
     <ClInclude Include="JItemAlloc.hpp" />
     <ClInclude Include="JLang.hpp" />
     <ClInclude Include="JPlatform.hpp" />
@@ -1135,8 +1136,9 @@
     <ClCompile Include="..\xframe\src\nstring.cpp" />
     <ClCompile Include="..\xframe\src\xstring.cpp" />
     <ClCompile Include="dllmain.cpp" />
-    <ClCompile Include="JAlloc.cpp" />
+    <ClCompile Include="JAllocImpl.cpp" />
     <ClCompile Include="JFactoryStringImpl.cpp" />
+    <ClCompile Include="JGuiImpl.cpp" />
     <ClCompile Include="JItemAlloc.cpp" />
     <ClCompile Include="JLang.cpp" />
     <ClCompile Include="JPlatform.cpp" />
diff --git a/jrj/ext-jrj/ext-jrj.vcxproj.filters b/jrj/ext-jrj/ext-jrj.vcxproj.filters
index 3cae1f9..de61650 100644
--- a/jrj/ext-jrj/ext-jrj.vcxproj.filters
+++ b/jrj/ext-jrj/ext-jrj.vcxproj.filters
@@ -462,6 +462,9 @@
     <ClInclude Include="..\jarch\JXPage.hpp">
       <Filter>jarch</Filter>
     </ClInclude>
+    <ClInclude Include="JGui.hpp">
+      <Filter>jarch</Filter>
+    </ClInclude>
   </ItemGroup>
   <ItemGroup>
     <ClCompile Include="dllmain.cpp">
@@ -1388,7 +1391,7 @@
     <ClCompile Include="..\project\business\Expense\CommodityInspectionExpense.cpp">
       <Filter>project\business\Expense</Filter>
     </ClCompile>
-    <ClCompile Include="JAlloc.cpp">
+    <ClCompile Include="JAllocImpl.cpp">
       <Filter>jarch.impl</Filter>
     </ClCompile>
     <ClCompile Include="JFactoryStringImpl.cpp">
@@ -1412,6 +1415,9 @@
     <ClCompile Include="..\jarch.impl\JStringImpl.cpp">
       <Filter>jarch.impl</Filter>
     </ClCompile>
+    <ClCompile Include="JGuiImpl.cpp">
+      <Filter>jarch.impl</Filter>
+    </ClCompile>
   </ItemGroup>
   <ItemGroup>
     <None Include="ext-jrj.def">

--
Gitblit v1.9.3