Skip to content

Commit dac0ca4

Browse files
Copilotkatahiromz
andauthored
Move MMainWnd declaration to MMainWnd.hpp and preview implementations to separate compilation unit (#340)
* Initial plan * Move preview-related implementations to MMainWnd_Preview.cpp Co-authored-by: katahiromz <2107452+katahiromz@users.noreply.github.com> * Fix: Include MMainWnd_Preview.cpp from RisohEditor.cpp since MMainWnd class is defined there Co-authored-by: katahiromz <2107452+katahiromz@users.noreply.github.com> * Move MMainWnd declaration from RisohEditor.cpp to MMainWnd.hpp Co-authored-by: katahiromz <2107452+katahiromz@users.noreply.github.com> * Remove unnecessary MMainWnd_Preview.h file Co-authored-by: katahiromz <2107452+katahiromz@users.noreply.github.com> * Fix CI: Add IMPORT_RESULT enum to header and add missing includes Co-authored-by: katahiromz <2107452+katahiromz@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: katahiromz <2107452+katahiromz@users.noreply.github.com>
1 parent 6854775 commit dac0ca4

File tree

4 files changed

+1092
-1070
lines changed

4 files changed

+1092
-1070
lines changed

src/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ set_target_properties(libRisohEditor PROPERTIES PREFIX "")
2121
# RisohEditor.exe
2222
add_executable(RisohEditor WIN32
2323
RisohEditor.cpp
24+
MMainWnd_Preview.cpp
2425
RisohEditor_res.rc
2526
res/Manifest_1.manifest)
2627
target_link_libraries(RisohEditor
@@ -35,6 +36,7 @@ endif()
3536
# RisohEditorPortable.exe
3637
add_executable(RisohEditorPortable WIN32
3738
RisohEditor.cpp
39+
MMainWnd_Preview.cpp
3840
RisohEditor_res.rc
3941
res/Manifest_1.manifest)
4042
target_link_libraries(RisohEditorPortable

0 commit comments

Comments
 (0)