diff --git a/.gitignore b/.gitignore
index 50ef781..792511a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,11 +1,10 @@
-#排除所有的编译目录
+#排除所有的编译/历史/恢复目录
**/Win32/
-
-#排除历史和恢复目录
-__history/
-__recovery/
+**/__history/
+**/__recovery/
#排除本地设置
*.~dsk
*.cbpr
-*.local
\ No newline at end of file
+*.local
+*.rc
\ No newline at end of file
diff --git a/AC_Pro.cbproj b/AC_Pro.cbproj
index a2d404c..d326329 100644
--- a/AC_Pro.cbproj
+++ b/AC_Pro.cbproj
@@ -103,6 +103,8 @@
5.1
5.1
2
+ Src\;$(IncludePath)
+ Src\;$(ILINK_LibraryPath)
bcbie;bcbsmp;$(PackageImports)
@@ -208,258 +210,9 @@
PerMonitorV2
-
-
- dfm
- AboutFormUnit.h
- 70
-
0
-
-
- dfm
- AudioFxFormUnit.h
- 148
-
-
- AudioTrack.h
- 122
-
-
- AudStylePanel.h
- 33
-
-
- 164
-
-
- BKGMemoUnit.h
- 48
-
-
- BtnPanelUnit.h
- 130
-
-
- ChordPanel.h
- 161
-
-
- Compose.h
- 56
-
-
- ContentPanelUnit.h
- 11
-
-
-
- dfm
- CustomerSettingFormUnit.h
- 105
-
-
- CustomerSettingPanelUnit.h
- 106
-
-
- FavorTextureUnit.h
- 138
-
-
- FxDef.h
- 52
-
-
- GlobalUnit.h
- 3
-
-
-
- dfm
- HelpFormUnit.h
- 78
-
-
- HelpPanelUnit.h
- 82
-
-
- ImgCopperExUnit.h
- 126
-
-
-
- dfm
- ImgCopperFormUnit.h
- 127
-
-
-
- dfm
- ImportFormUnit.h
- 46
-
-
-
- dfm
- ImportSegmentFormUnit.h
- 108
-
-
- Instruments.h
- 91
-
-
- KeyBoard.h
- 62
-
-
- ListPanel.h
- 87
-
-
- ListViewBase.h
- 143
-
-
- ListViewMove.h
- 162
-
-
- ListViewPattern.h
- 142
-
-
- ListViewText.h
- 141
-
-
-
- dfm
- LoginFormUnit.h
- 182
-
-
-
- dfm
- MainFormUnit.h
- 2
-
-
-
- dfm
- ManageSongFormUnit.h
- 72
-
-
- MenuBar.h
- 9
-
-
- MenuUnit.h
- 136
-
-
-
- dfm
- MessageFormUnit.h
- 5
-
-
-
- dfm
- MicSetFormUnit.h
- 44
-
-
- MidiTrack.h
- 161
-
-
-
- dfm
- MultiSwitchProgFormUnit.h
- 98
-
-
- NotificationADPanelUnit.h
- 92
-
-
- NotificationContentPanelUnit.h
- 93
-
-
- NotificationExUnit.h
- 94
-
-
-
- dfm
- NotificationFormUnit.h
- 95
-
-
- NotificationThreadUnit.h
- 96
-
-
- PanelDB.h
- 139
-
-
-
- dfm
- PayMentFormUnit.h
- 102
-
-
- PayMentPanelUnit.h
- 103
-
-
- PlayTimePanel.h
- 170
-
-
-
- dfm
- PredefineProjectFormUnit.h
- 104
-
-
- PredefineProjectSetUnit.h
- 104
-
-
- PreStylePanel.h
- 32
-
-
- ProgHandlePanel.h
- 99
-
-
-
- dfm
- ProgressFormUnit.h
- 20
-
-
- ProgressThreadUnit.h
- 21
-
-
- Project.h
- 125
-
-
- QRcodePanel.h
- 38
-
RCDATA
chordUp
@@ -848,195 +601,456 @@
RCDATA
vipForever
-
-
+
+
dfm
- SaveFormUnit.h
- 52
+ Src\AboutFormUnit.h
+ 98
-
-
+
+
dfm
- SaveLocalStyleFormUnit.h
+ Src\AudioFxFormUnit.h
+ 99
+
+
+ Src\AudioTrack.h
+ 100
+
+
+ Src\AudStylePanel.h
+ 101
+
+
+ Src\BaseTrack.h
+ 102
+
+
+ Src\BKGMemoUnit.h
+ 103
+
+
+ Src\BtnPanelUnit.h
+ 104
+
+
+ Src\ChordPanel.h
+ 105
+
+
+ Src\Compose.h
+ 106
+
+
+ Src\ContentPanelUnit.h
107
-
-
+
+
dfm
- ScoreFormUnit.h
- 88
+ Src\CustomerSettingFormUnit.h
+ 108
-
- ScrollViewUnit.h
- 146
+
+ Src\CustomerSettingPanelUnit.h
+ 109
-
-
+
+ Src\FavorTextureUnit.h
+ 110
+
+
+ Src\FxDef.h
+ 111
+
+
+ Src\GlobalUnit.h
+ 112
+
+
+
dfm
- SetUpFormUnit.h
- 40
+ Src\HelpFormUnit.h
+ 113
-
- ShowUserInfoPanel.h
- 56
+
+ Src\HelpPanelUnit.h
+ 114
-
- SkinHintWindow.h
- 19
+
+ Src\ImgCopperExUnit.h
+ 115
-
- SkinScrollBarUnit.h
- 12
-
-
-
+
+
dfm
- SplashFormUnit.h
- 4
-
-
- StateBtn.h
- 144
-
-
- StyleItem.h
- 40
-
-
- StylePanel.h
- 15
-
-
- StyleSelPanel.h
- 54
-
-
-
- dfm
- StyleSpecsFormUnit.h
- 119
-
-
-
- dfm
- StyleUploadFormUnit.h
+ Src\ImgCopperFormUnit.h
116
-
-
+
+
dfm
- SwitchProgFormUnit.h
- 84
+ Src\ImportFormUnit.h
+ 117
-
-
+
+
dfm
- SwitchTextureForm.h
- 137
+ Src\ImportSegmentFormUnit.h
+ 118
-
- TableViewUnit.h
- 145
+
+ Src\Instruments.h
+ 119
-
- ToolpalPanel.h
- 14
+
+ Src\KeyBoard.h
+ 120
-
- TrackPanel.h
- 81
+
+ Src\ListPanel.h
+ 121
-
- TransSkinScrollBar.h
- 129
+
+ Src\ListViewBase.h
+ 122
-
- Undo.h
+
+ Src\ListViewMove.h
+ 123
+
+
+ Src\ListViewPattern.h
124
-
-
+
+ Src\ListViewText.h
+ 125
+
+
+
dfm
- UpdateFormUnit.h
- 78
+ Src\LoginFormUnit.h
+ 126
-
- UpDownUnit.h
- 41
-
-
-
+
+
dfm
- UploadFormUnit.h
- 47
+ Src\MainFormUnit.h
+ 127
-
- UseStylePanel.h
- 31
-
-
-
+
+
dfm
- VerifyCodeFormUnit.h
- 182
+ Src\ManageSongFormUnit.h
+ 128
-
-
- dfm
- VolumeFormUnit.h
- 53
+
+ Src\MenuBar.h
+ 129
-
-
+
+ Src\MenuUnit.h
+ 130
+
+
+
dfm
- VSTiFormUnit.h
+ Src\MessageFormUnit.h
+ 131
+
+
+
+ dfm
+ Src\MicSetFormUnit.h
+ 132
+
+
+ Src\MidiTrack.h
+ 133
+
+
+
+ dfm
+ Src\MultiSwitchProgFormUnit.h
+ 134
+
+
+ Src\NotificationADPanelUnit.h
+ 135
+
+
+ Src\NotificationContentPanelUnit.h
+ 136
+
+
+ Src\NotificationExUnit.h
+ 137
+
+
+
+ dfm
+ Src\NotificationFormUnit.h
+ 138
+
+
+ Src\NotificationThreadUnit.h
+ 139
+
+
+ Src\PanelDB.h
+ 140
+
+
+
+ dfm
+ Src\PayMentFormUnit.h
+ 141
+
+
+ Src\PayMentPanelUnit.h
+ 142
+
+
+ Src\PlayTimePanel.h
+ 143
+
+
+
+ dfm
+ Src\PredefineProjectFormUnit.h
+ 144
+
+
+ Src\PredefineProjectSetUnit.h
+ 145
+
+
+ Src\PreStylePanel.h
+ 146
+
+
+ Src\ProgHandlePanel.h
+ 147
+
+
+
+ dfm
+ Src\ProgressFormUnit.h
+ 148
+
+
+ Src\ProgressThreadUnit.h
149
-
-
- dfm
- VSTPathFormUnit.h
- 163
-
-
-
- dfm
- VSTPluginFormUnit.h
+
+ Src\Project.h
150
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+ Src\QRcodePanel.h
+ 151
+
+
+
+ dfm
+ Src\RegisterFormUnit.h
+ 152
+
+
+
+ dfm
+ Src\SaveFormUnit.h
+ 153
+
+
+
+ dfm
+ Src\SaveLocalStyleFormUnit.h
+ 154
+
+
+
+ dfm
+ Src\ScoreFormUnit.h
+ 155
+
+
+ Src\ScrollViewUnit.h
+ 156
+
+
+
+ dfm
+ Src\SetUpFormUnit.h
+ 157
+
+
+ Src\ShowUserInfoPanel.h
+ 158
+
+
+ Src\SkinHintWindow.h
+ 159
+
+
+ Src\SkinScrollBarUnit.h
+ 160
+
+
+
+ dfm
+ Src\SplashFormUnit.h
+ 161
+
+
+ Src\StateBtn.h
+ 162
+
+
+ Src\StyleItem.h
+ 163
+
+
+ Src\StylePanel.h
+ 164
+
+
+ Src\StyleSelPanel.h
+ 165
+
+
+
+ dfm
+ Src\StyleSpecsFormUnit.h
+ 166
+
+
+
+ dfm
+ Src\StyleUploadFormUnit.h
+ 167
+
+
+
+ dfm
+ Src\SwitchProgFormUnit.h
+ 168
+
+
+
+ dfm
+ Src\SwitchTextureForm.h
+ 169
+
+
+ Src\TableViewUnit.h
+ 170
+
+
+ Src\ToolpalPanel.h
+ 171
+
+
+ Src\TrackPanel.h
+ 172
+
+
+ Src\TransparentPanelUnit.h
+ 173
+
+
+ Src\TransSkinScrollBar.h
+ 174
+
+
+ Src\Undo.h
+ 175
+
+
+
+ dfm
+ Src\UpdateFormUnit.h
+ 176
+
+
+ Src\UpDownUnit.h
+ 177
+
+
+
+ dfm
+ Src\UploadFormUnit.h
+ 178
+
+
+ Src\UseStylePanel.h
+ 179
+
+
+
+ dfm
+ Src\VerifyCodeFormUnit.h
+ 180
+
+
+
+ dfm
+ Src\VolumeFormUnit.h
+ 181
+
+
+
+ dfm
+ Src\VSTiFormUnit.h
+ 182
+
+
+
+ dfm
+ Src\VSTPathFormUnit.h
+ 183
+
+
+
+ dfm
+ Src\VSTPluginFormUnit.h
+ 184
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Base
@@ -1119,6 +1133,7 @@
Microsoft Office 2000 Sample Automation Server Wrapper Components
Microsoft Office XP Sample Automation Server Wrapper Components
+
@@ -1253,109 +1268,703 @@
+
+
+ AC_Pro.exe
+ true
+
+
+
+
+ AC_Pro.tds
+ true
+
+
+
+
+ .\
+ true
+
+
+
+
+ .\
+ true
+
+
+
+
+ .\
+ true
+
+
+
+
+ .\
+ true
+
+
+
+
+ .\
+ true
+
+
+
+
+ .\
+ true
+
+
+
+
+ .\
+ true
+
+
+
+
+ .\
+ true
+
+
+
+
+ .\
+ true
+
+
+
+
+ .\
+ true
+
+
+
+
+ .\
+ true
+
+
+
+
+ .\
+ true
+
+
+
+
+ .\
+ true
+
+
+
+
+ .\
+ true
+
+
+
+
+ .\
+ true
+
+
+
+
+ .\
+ true
+
+
+
+
+ .\
+ true
+
+
+
+
+ .\
+ true
+
+
+
+
+ .\
+ true
+
+
+
+
+ .\
+ true
+
+
+
+
+ .\
+ true
+
+
+
+
+ .\
+ true
+
+
+
+
+ .\
+ true
+
+
+
+
+ .\
+ true
+
+
+
+
+ .\
+ true
+
+
+
+
+ .\
+ true
+
+
+
+
+ .\
+ true
+
+
+
+
+ .\
+ true
+
+
+
+
+ .\
+ true
+
+
+
+
+ .\
+ true
+
+
+
+
+ .\
+ true
+
+
+
+
+ .\
+ true
+
+
+
+
+ .\
+ true
+
+
+
+
+ .\
+ true
+
+
+
+
+ .\
+ true
+
+
+
+
+ .\
+ true
+
+
+
+
+ .\
+ true
+
+
+
+
+ .\
+ true
+
+
+
+
+ .\
+ true
+
+
+
+
+ .\
+ true
+
+
+
+
+ .\
+ true
+
+
+
+
+ .\
+ true
+
+
+
+
+ .\
+ true
+
+
+
+
+ .\
+ true
+
+
+
+
+ .\
+ true
+
+
+
+
+ .\
+ true
+
+
+
+
+ .\
+ true
+
+
+
+
+ .\
+ true
+
+
+
+
+ .\
+ true
+
+
+
+
+ .\
+ true
+
+
+
+
+ .\
+ true
+
+
+
+
+ .\
+ true
+
+
+
+
+ .\
+ true
+
+
+
+
+ .\
+ true
+
+
+
+
+ .\
+ true
+
+
+
+
+ .\
+ true
+
+
+
+
+ .\
+ true
+
+
+
+
+ .\
+ true
+
+
+
+
+ .\
+ true
+
+
+
+
+ .\
+ true
+
+
+
+
+ .\
+ true
+
+
+
+
+ .\
+ true
+
+
+
+
+ .\
+ true
+
+
+
+
+ .\
+ true
+
+
+
+
+ .\
+ true
+
+
+
+
+ .\
+ true
+
+
+
+
+ .\
+ true
+
+
+
+
+ .\
+ true
+
+
+
+
+ .\
+ true
+
+
+
+
+ .\
+ true
+
+
+
+
+ .\
+ true
+
+
+
+
+ .\
+ true
+
+
+
+
+ .\
+ true
+
+
+
+
+ .\
+ true
+
+
+
+
+ .\
+ true
+
+
+
+
+ .\
+ true
+
+
+
+
+ .\
+ true
+
+
+
+
+ .\
+ true
+
+
+
+
+ .\
+ true
+
+
+
+
+ .\
+ true
+
+
+
+
+ .\
+ true
+
+
+
+
+ .\
+ true
+
+
+
+
+ .\
+ true
+
+
+
+
+ .\
+ true
+
+
+
+
+ .\
+ true
+
+
+
+
+ .\
+ true
+
+
+
+
+ .\
+ true
+
+
+
+
+ .\
+ true
+
+
+
+
+ .\
+ true
+
+
+
+
+ .\
+ true
+
+
+
+
+ .\
+ true
+
+
+
+
+ .\
+ true
+
+
+
+
+ .\
+ true
+
+
+
+
+ .\
+ true
+
+
+
+
+ .\
+ true
+
+
+
+
+ .\
+ true
+
+
+
+
+ .\
+ true
+
+
1
diff --git a/AC_Pro.cpp b/AC_Pro.cpp
index 3f87c11..2566ec7 100644
--- a/AC_Pro.cpp
+++ b/AC_Pro.cpp
@@ -10,9 +10,40 @@
#include "MessageFormUnit.h"
//---------------------------------------------------------------------------
-USEFORM("SplashFormUnit.cpp", SplashForm);
-USEFORM("MainFormUnit.cpp", MainForm);
-USEFORM("MessageFormUnit.cpp", MessageForm);
+USEFORM("Src\AboutFormUnit.cpp", AboutForm);
+USEFORM("Src\AudioFxFormUnit.cpp", AudioFxForm);
+USEFORM("Src\CustomerSettingFormUnit.cpp", CustomerSettingForm);
+USEFORM("Src\HelpFormUnit.cpp", HelpForm);
+USEFORM("Src\ImgCopperFormUnit.cpp", ImgCopperForm);
+USEFORM("Src\ImportFormUnit.cpp", ImportForm);
+USEFORM("Src\ImportSegmentFormUnit.cpp", ImportSegmentForm);
+USEFORM("Src\LoginFormUnit.cpp", LoginForm);
+USEFORM("Src\MainFormUnit.cpp", MainForm);
+USEFORM("Src\ManageSongFormUnit.cpp", ManageSongForm);
+USEFORM("Src\MessageFormUnit.cpp", MessageForm);
+USEFORM("Src\MicSetFormUnit.cpp", MicSetForm);
+USEFORM("Src\MultiSwitchProgFormUnit.cpp", MultiSwitchProgForm);
+USEFORM("Src\NotificationFormUnit.cpp", NotificationForm);
+USEFORM("Src\PayMentFormUnit.cpp", PayMentForm);
+USEFORM("Src\PredefineProjectFormUnit.cpp", PredefineProjectForm);
+USEFORM("Src\ProgressFormUnit.cpp", ProgressForm);
+USEFORM("Src\RegisterFormUnit.cpp", RegisterForm);
+USEFORM("Src\SaveFormUnit.cpp", SaveForm);
+USEFORM("Src\SaveLocalStyleFormUnit.cpp", SaveLocalStyleForm);
+USEFORM("Src\ScoreFormUnit.cpp", ScoreForm);
+USEFORM("Src\SetUpFormUnit.cpp", SetUpForm);
+USEFORM("Src\SplashFormUnit.cpp", SplashForm);
+USEFORM("Src\StyleSpecsFormUnit.cpp", StyleSpecsForm);
+USEFORM("Src\StyleUploadFormUnit.cpp", StyleUploadForm);
+USEFORM("Src\SwitchProgFormUnit.cpp", SwitchProgForm);
+USEFORM("Src\SwitchTextureForm.cpp", SwitchTextureForm);
+USEFORM("Src\UpdateFormUnit.cpp", UpdateForm);
+USEFORM("Src\UploadFormUnit.cpp", UploadForm);
+USEFORM("Src\VerifyCodeFormUnit.cpp", VerifyCodeForm);
+USEFORM("Src\VolumeFormUnit.cpp", VolumeForm);
+USEFORM("Src\VSTiFormUnit.cpp", VSTiForm);
+USEFORM("Src\VSTPathFormUnit.cpp", VSTPathForm);
+USEFORM("Src\VSTPluginFormUnit.cpp", VSTPluginForm);
//---------------------------------------------------------------------------
HWND hWnd = NULL;
HINSTANCE u_hMMDll = NULL,
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..a536d72
--- /dev/null
+++ b/README.md
@@ -0,0 +1,244 @@
+# 唱作魔方 专业版
+
+> 智能音乐创作工作站 — 自动伴奏 · 多轨录音 · MIDI 编曲 · VST 效果器
+
+---
+
+## 简介
+
+**唱作魔方 专业版(AC Pro)** 是一款面向音乐创作者的 Windows 桌面应用程序,集成了自动伴奏生成、MIDI 编曲、音频录制与混音、VST 效果处理等核心功能。软件采用模块化 DLL 架构,通过实时协作的三个核心引擎实现完整的音乐创作工作流。
+
+**当前版本:** 3.4
+**适用平台:** Windows 10/11 (x64)
+
+---
+
+## 核心功能
+
+### 自动伴奏引擎
+- 基于和弦进行自动生成多轨伴奏,支持 VAR / FILL / INTRO / ENDING 四种乐段类型
+- 智能识别歌曲结构,自动扩展段落(Intro → Verse → Chorus → Ending)
+- 支持 12 种调性(C ~ B♭)与 4 种节拍(4/4、3/4、2/4、6/8)
+- 云端风格库下载与本地风格管理
+
+### MIDI 编曲
+- 多通道 MIDI 轨道编辑,每条轨道独立设置音源、音色、音量、声像
+- 所见即所得的钢琴卷帘编辑
+- 支持自定义音源(SF2)与 VSTi 虚拟乐器
+- 和弦自动分析(支持根音 + 和弦类型)
+
+### 音频录制与混音
+- 多轨音频同时录制(最多 4 轨)
+- 支持 WAV / MP3 导入与导出
+- 实时波形显示与剪辑(复制 / 粘贴 / 移动 / 擦除)
+- 内置音频效果器(FxDef)与 VST 效果器支持
+- ASIO 低延迟驱动
+
+### 项目管理
+- 自研 `.cpj` 工程文件格式,版本兼容(v2 ~ v5)
+- 自动保存与恢复最近打开的工程
+- 撤消 / 重做系统(多类型操作记录)
+
+### 网络与社交
+- 用户登录 / 注册 / VIP 会员体系
+- 云端风格上传与分享
+- 歌曲作品管理与上传
+- 实时通知系统
+
+---
+
+## 技术架构
+
+```
+┌─────────────────────────────────────────────────────┐
+│ AC_Pro.exe │
+│ (VCL 界面层 · MainForm) │
+│ ┌──────────┬──────────┬──────────┬───────────────┐ │
+│ │ 工具面板 │ 内容面板 │ 轨道面板 │ 状态栏/菜单 │ │
+│ └──────────┴──────────┴──────────┴───────────────┘ │
+│ │ │ │
+│ WM_USER 消息驱动 线程 │
+│ │ │ │
+└─────────┼──────────────────────────────┼────────────┘
+ │ │
+ ┌───────▼───────┐ ┌───────▼───────┐
+ │ CompModule.dll │ │ClientService │
+ │ 作曲/和弦引擎 │ │ 网络服务 │
+ └───────┬───────┘ └───────┬───────┘
+ │ │
+ ┌───────▼──────────────────────────────▼───────┐
+ │ MediaModule.dll │
+ │ MIDI播放 · 音频录制 · VST · ASIO · 混音 │
+ └──────────────────────────────────────────────┘
+```
+
+### 数据模型
+
+```
+TCompose (抽象基类)
+ ├── TTheme 主题/自动伴奏
+ └── TOpus 完整乐曲(含撤消备份)
+ │
+ └── TOpusStage[] 乐段列表
+ ├── VAR(0) 变奏段
+ ├── FILL(1) 过门段
+ ├── INTRO(2) 前奏段
+ └── ENDING(3) 尾奏段
+ ├── TBar[] 小节列表(含和弦)
+ └── TTrack[] 音轨列表(音色/通道/音量)
+
+TMidiTrack 音频轨道 (TAudioTrack)
+ ├── bank/chno/prog 音源/通道/音色
+ ├── aNotes[] 音符列表
+ └── aStages[] 关联的乐段
+ ├── lstBars[] 波形小节
+ └── lstFxs[] 音频效果链
+```
+
+---
+
+## 构建环境
+
+### 依赖
+- **Borland C++ Builder 11 / RAD Studio**(`.cbproj` 项目文件)
+- Windows SDK
+
+### 第三方组件
+| 组件 | 说明 |
+|------|------|
+| VCL / FMX | Borland 原生 UI 框架 |
+| PNGButton.hpp | PNG 透明按钮控件 |
+| TLineEdit / TRadioBtn / TSkinTrackBar | 自定义组件(`Component/` 目录) |
+
+### DLL 依赖
+需在运行目录提供以下动态链接库:
+```
+MediaModule.dll # 媒体播放/录制引擎
+CompModule.dll # 作曲/和弦引擎
+ClientService.dll # 网络服务客户端
+QRcode.dll # QR 码生成(可选)
+```
+
+---
+
+## 项目结构
+
+```
+AC_Pro/
+├── AC_Pro.cpp # 程序入口(WinMain)
+├── AC_Pro.cbproj # 专业版项目文件(Borland C++ Builder)
+├── AC_ProLite.cbproj # 精简版项目文件(_LITE_ 宏编译)
+│
+├── Src/ # 源码目录(窗体/面板/引擎/工具)
+│ ├── GlobalUnit.h/cpp # 全局变量、DLL函数指针、版本信息
+│ ├── ProCommon.h # 风格/工程通用数据结构
+│ ├── commonstruct.h # 跨平台通用结构体(网络消息、用户信息)
+│ ├── structures.h # 旧版网络消息定义
+│ ├── MessageDef.h # WM_USER 自定义消息常量
+│ ├── Undo.h/cpp # 撤消/重做系统
+│ │
+│ ├── Compose.h/cpp # 作曲引擎核心(TCompose/TTheme/TOpus)
+│ ├── MidiTrack.h/cpp # MIDI 轨道数据模型
+│ ├── AudioTrack.h/cpp # 音频轨道数据模型
+│ ├── BaseTrack.h/cpp # 轨道基类(静音/独奏/音量/声像)
+│ │
+│ ├── MainFormUnit.h/cpp # 主窗口(播放控制/标签页/工具面板)
+│ ├── ContentPanelUnit.h/cpp # 内容区域面板
+│ ├── KeyBoard.h/cpp # 屏幕钢琴键盘
+│ ├── PlayTimePanel.h/cpp # 播放时间显示
+│ ├── MenuBar.h/cpp # 菜单栏
+│ │
+│ ├── Instruments.h/cpp # 音源/音色管理
+│ ├── FxDef.h/cpp # 音频效果器定义
+│ │
+│ ├── PanelDB.h/cpp # 风格面板数据库
+│ ├── Style*.h/cpp # 风格选择与显示面板
+│ ├── ChordPanel.h/cpp # 和弦面板
+│ ├── TrackPanel.h/cpp # 轨道控制面板
+│ │
+│ ├── Notification*.h/cpp # 网络通知(含后台线程)
+│ ├── ProgressThread*.h/cpp # 进度报告线程
+│ │
+│ ├── LoginForm*.h/cpp # 登录/注册/验证码表单
+│ ├── PayMent*.h/cpp # 支付/VIP管理
+│ ├── CustomerSetting*.h/cpp # 客户设置
+│ ├── SetUp*.h/cpp # 系统设置(设备/VST路径)
+│ │
+│ ├── Import*.h/cpp # 音频/MIDI 导入
+│ ├── Save*.h/cpp # 工程保存/导出
+│ ├── Upload*.h/cpp # 风格/作品上传
+│ ├── ManageSong*.h/cpp # 歌曲管理
+│ │
+│ ├── VSTi*.h/cpp # VSTi 虚拟乐器表单
+│ ├── VSTPlugin*.h/cpp # VST 效果器表单
+│ ├── AudioFx*.h/cpp # 内置音频效果器表单
+│ └── ... # 其余窗体/面板/控件单元
+│
+├── Component/ # 自定义 VCL 组件工程
+│ ├── TTextButton/
+│ ├── TLineEdit/
+│ ├── TRadioBtn/
+│ └── TSkinTrackBar/
+│
+└── Res/ # 资源文件目录
+```
+
+---
+
+## 关键设计决策
+
+### 1. DLL 插件化架构
+三个核心引擎(Media / Composition / ClientService)均通过 `LoadLibrary` 动态加载,函数指针通过 `GetProcAddress` 绑定。这种设计允许引擎独立升级,且主程序不直接链接引擎代码,降低了耦合度。
+
+### 2. 消息驱动通信
+跨线程/跨窗体通信全部通过 `WM_USER` 自定义消息实现(见 `Src/MessageDef.h`),典型场景包括:
+- 媒体引擎 → 主窗体:播放结束、录制完成、网络错误
+- 子窗体 → 主窗体:应用风格、保存工程、显示键盘
+
+### 3. 版本兼容的项目序列化
+工程文件(`.cpj`)支持多个版本(v2 ~ v5),通过 `LoadVersion2/3/4/5` 分别处理,确保向后兼容。
+
+### 4. 撤消系统
+`TUndo` 类记录操作前后的内存快照,支持音量调整、和弦修改、音频剪辑、音轨增删等多种操作类型的撤消/重做。
+
+---
+
+## 构建与运行
+
+```bash
+# 使用 Borland C++ Builder 11 打开项目文件
+# AC_Pro.cbproj → 专业版
+# AC_ProLite.cbproj → 精简版(_LITE_ 宏编译)
+
+# 构建前请确保以下 DLL 存在于运行目录:
+# MediaModule.dll
+# CompModule.dll
+# ClientService.dll
+# QRcode.dll(可选)
+```
+
+---
+
+## 开发者说明
+
+### 新增功能模块的建议位置
+| 功能类型 | 建议添加位置 |
+|----------|-------------|
+| 新的窗体/对话框 | `Src/*FormUnit.*` 系列,参照 `Src/AboutFormUnit.h` |
+| 新的侧边面板 | `Src/*PanelUnit.*` 系列,在 `MainFormUnit` 中注册 |
+| 新的轨道类型 | 扩展 `Src/BaseTrack.h` / `Src/MidiTrack.h` 体系 |
+| 新的网络消息 | 在 `Src/MessageDef.h` 添加常量,在 `Src/GlobalUnit.cpp` 分发 |
+| 新的音频效果 | 在 `Src/FxDef.h` 添加枚举,在 `Src/AudioFxFormUnit` 添加 UI |
+
+### 全局变量访问
+所有全局状态集中在 `Src/GlobalUnit.h`,包括:
+- `g_lstOpusStages` — 当前工程的乐段列表
+- `g_aMidiTracks` / `g_aAudioTracks` — MIDI/音频轨道列表
+- `g_Midi` / `g_Audio` — 全局单例对象
+- `g_Undo` — 全局撤消栈
+
+---
+
+## 许可证
+
+© iChangzuo — 保留所有权利
diff --git a/ACProPCH.h b/Src/ACProPCH.h
similarity index 100%
rename from ACProPCH.h
rename to Src/ACProPCH.h
diff --git a/AboutFormUnit.cpp b/Src/AboutFormUnit.cpp
similarity index 100%
rename from AboutFormUnit.cpp
rename to Src/AboutFormUnit.cpp
diff --git a/AboutFormUnit.dfm b/Src/AboutFormUnit.dfm
similarity index 100%
rename from AboutFormUnit.dfm
rename to Src/AboutFormUnit.dfm
diff --git a/AboutFormUnit.h b/Src/AboutFormUnit.h
similarity index 100%
rename from AboutFormUnit.h
rename to Src/AboutFormUnit.h
diff --git a/AudStylePanel.cpp b/Src/AudStylePanel.cpp
similarity index 100%
rename from AudStylePanel.cpp
rename to Src/AudStylePanel.cpp
diff --git a/AudStylePanel.h b/Src/AudStylePanel.h
similarity index 100%
rename from AudStylePanel.h
rename to Src/AudStylePanel.h
diff --git a/AudioFxFormUnit.cpp b/Src/AudioFxFormUnit.cpp
similarity index 100%
rename from AudioFxFormUnit.cpp
rename to Src/AudioFxFormUnit.cpp
diff --git a/AudioFxFormUnit.dfm b/Src/AudioFxFormUnit.dfm
similarity index 100%
rename from AudioFxFormUnit.dfm
rename to Src/AudioFxFormUnit.dfm
diff --git a/AudioFxFormUnit.h b/Src/AudioFxFormUnit.h
similarity index 100%
rename from AudioFxFormUnit.h
rename to Src/AudioFxFormUnit.h
diff --git a/AudioTrack.cpp b/Src/AudioTrack.cpp
similarity index 100%
rename from AudioTrack.cpp
rename to Src/AudioTrack.cpp
diff --git a/AudioTrack.h b/Src/AudioTrack.h
similarity index 100%
rename from AudioTrack.h
rename to Src/AudioTrack.h
diff --git a/BKGMemoUnit.cpp b/Src/BKGMemoUnit.cpp
similarity index 100%
rename from BKGMemoUnit.cpp
rename to Src/BKGMemoUnit.cpp
diff --git a/BKGMemoUnit.h b/Src/BKGMemoUnit.h
similarity index 100%
rename from BKGMemoUnit.h
rename to Src/BKGMemoUnit.h
diff --git a/BaseTrack.cpp b/Src/BaseTrack.cpp
similarity index 100%
rename from BaseTrack.cpp
rename to Src/BaseTrack.cpp
diff --git a/BaseTrack.h b/Src/BaseTrack.h
similarity index 100%
rename from BaseTrack.h
rename to Src/BaseTrack.h
diff --git a/BtnPanelUnit.cpp b/Src/BtnPanelUnit.cpp
similarity index 100%
rename from BtnPanelUnit.cpp
rename to Src/BtnPanelUnit.cpp
diff --git a/BtnPanelUnit.h b/Src/BtnPanelUnit.h
similarity index 100%
rename from BtnPanelUnit.h
rename to Src/BtnPanelUnit.h
diff --git a/CKBox.h b/Src/CKBox.h
similarity index 100%
rename from CKBox.h
rename to Src/CKBox.h
diff --git a/CapButton.h b/Src/CapButton.h
similarity index 100%
rename from CapButton.h
rename to Src/CapButton.h
diff --git a/ChordPanel.cpp b/Src/ChordPanel.cpp
similarity index 100%
rename from ChordPanel.cpp
rename to Src/ChordPanel.cpp
diff --git a/ChordPanel.h b/Src/ChordPanel.h
similarity index 100%
rename from ChordPanel.h
rename to Src/ChordPanel.h
diff --git a/ComboBoxComponent.h b/Src/ComboBoxComponent.h
similarity index 100%
rename from ComboBoxComponent.h
rename to Src/ComboBoxComponent.h
diff --git a/Compose.cpp b/Src/Compose.cpp
similarity index 100%
rename from Compose.cpp
rename to Src/Compose.cpp
diff --git a/Compose.h b/Src/Compose.h
similarity index 100%
rename from Compose.h
rename to Src/Compose.h
diff --git a/ContentPanelUnit.cpp b/Src/ContentPanelUnit.cpp
similarity index 100%
rename from ContentPanelUnit.cpp
rename to Src/ContentPanelUnit.cpp
diff --git a/ContentPanelUnit.h b/Src/ContentPanelUnit.h
similarity index 100%
rename from ContentPanelUnit.h
rename to Src/ContentPanelUnit.h
diff --git a/CustomerSettingFormUnit.cpp b/Src/CustomerSettingFormUnit.cpp
similarity index 100%
rename from CustomerSettingFormUnit.cpp
rename to Src/CustomerSettingFormUnit.cpp
diff --git a/CustomerSettingFormUnit.dfm b/Src/CustomerSettingFormUnit.dfm
similarity index 100%
rename from CustomerSettingFormUnit.dfm
rename to Src/CustomerSettingFormUnit.dfm
diff --git a/CustomerSettingFormUnit.h b/Src/CustomerSettingFormUnit.h
similarity index 100%
rename from CustomerSettingFormUnit.h
rename to Src/CustomerSettingFormUnit.h
diff --git a/CustomerSettingPanelUnit.cpp b/Src/CustomerSettingPanelUnit.cpp
similarity index 100%
rename from CustomerSettingPanelUnit.cpp
rename to Src/CustomerSettingPanelUnit.cpp
diff --git a/CustomerSettingPanelUnit.h b/Src/CustomerSettingPanelUnit.h
similarity index 100%
rename from CustomerSettingPanelUnit.h
rename to Src/CustomerSettingPanelUnit.h
diff --git a/FavorTextureUnit.cpp b/Src/FavorTextureUnit.cpp
similarity index 100%
rename from FavorTextureUnit.cpp
rename to Src/FavorTextureUnit.cpp
diff --git a/FavorTextureUnit.h b/Src/FavorTextureUnit.h
similarity index 100%
rename from FavorTextureUnit.h
rename to Src/FavorTextureUnit.h
diff --git a/FxDef.cpp b/Src/FxDef.cpp
similarity index 100%
rename from FxDef.cpp
rename to Src/FxDef.cpp
diff --git a/FxDef.h b/Src/FxDef.h
similarity index 100%
rename from FxDef.h
rename to Src/FxDef.h
diff --git a/GeneralDialogPanel.h b/Src/GeneralDialogPanel.h
similarity index 100%
rename from GeneralDialogPanel.h
rename to Src/GeneralDialogPanel.h
diff --git a/GlobalUnit.cpp b/Src/GlobalUnit.cpp
similarity index 100%
rename from GlobalUnit.cpp
rename to Src/GlobalUnit.cpp
diff --git a/GlobalUnit.h b/Src/GlobalUnit.h
similarity index 100%
rename from GlobalUnit.h
rename to Src/GlobalUnit.h
diff --git a/HelpFormUnit.cpp b/Src/HelpFormUnit.cpp
similarity index 100%
rename from HelpFormUnit.cpp
rename to Src/HelpFormUnit.cpp
diff --git a/HelpFormUnit.dfm b/Src/HelpFormUnit.dfm
similarity index 100%
rename from HelpFormUnit.dfm
rename to Src/HelpFormUnit.dfm
diff --git a/HelpFormUnit.h b/Src/HelpFormUnit.h
similarity index 100%
rename from HelpFormUnit.h
rename to Src/HelpFormUnit.h
diff --git a/HelpPanelUnit.cpp b/Src/HelpPanelUnit.cpp
similarity index 100%
rename from HelpPanelUnit.cpp
rename to Src/HelpPanelUnit.cpp
diff --git a/HelpPanelUnit.h b/Src/HelpPanelUnit.h
similarity index 100%
rename from HelpPanelUnit.h
rename to Src/HelpPanelUnit.h
diff --git a/ImgCopperExUnit.cpp b/Src/ImgCopperExUnit.cpp
similarity index 100%
rename from ImgCopperExUnit.cpp
rename to Src/ImgCopperExUnit.cpp
diff --git a/ImgCopperExUnit.h b/Src/ImgCopperExUnit.h
similarity index 100%
rename from ImgCopperExUnit.h
rename to Src/ImgCopperExUnit.h
diff --git a/ImgCopperFormUnit.cpp b/Src/ImgCopperFormUnit.cpp
similarity index 100%
rename from ImgCopperFormUnit.cpp
rename to Src/ImgCopperFormUnit.cpp
diff --git a/ImgCopperFormUnit.dfm b/Src/ImgCopperFormUnit.dfm
similarity index 100%
rename from ImgCopperFormUnit.dfm
rename to Src/ImgCopperFormUnit.dfm
diff --git a/ImgCopperFormUnit.h b/Src/ImgCopperFormUnit.h
similarity index 100%
rename from ImgCopperFormUnit.h
rename to Src/ImgCopperFormUnit.h
diff --git a/ImportFormUnit.cpp b/Src/ImportFormUnit.cpp
similarity index 100%
rename from ImportFormUnit.cpp
rename to Src/ImportFormUnit.cpp
diff --git a/ImportFormUnit.dfm b/Src/ImportFormUnit.dfm
similarity index 100%
rename from ImportFormUnit.dfm
rename to Src/ImportFormUnit.dfm
diff --git a/ImportFormUnit.h b/Src/ImportFormUnit.h
similarity index 100%
rename from ImportFormUnit.h
rename to Src/ImportFormUnit.h
diff --git a/ImportSegmentFormUnit.cpp b/Src/ImportSegmentFormUnit.cpp
similarity index 100%
rename from ImportSegmentFormUnit.cpp
rename to Src/ImportSegmentFormUnit.cpp
diff --git a/ImportSegmentFormUnit.dfm b/Src/ImportSegmentFormUnit.dfm
similarity index 100%
rename from ImportSegmentFormUnit.dfm
rename to Src/ImportSegmentFormUnit.dfm
diff --git a/ImportSegmentFormUnit.h b/Src/ImportSegmentFormUnit.h
similarity index 100%
rename from ImportSegmentFormUnit.h
rename to Src/ImportSegmentFormUnit.h
diff --git a/Instruments.cpp b/Src/Instruments.cpp
similarity index 100%
rename from Instruments.cpp
rename to Src/Instruments.cpp
diff --git a/Instruments.h b/Src/Instruments.h
similarity index 100%
rename from Instruments.h
rename to Src/Instruments.h
diff --git a/KeyBoard.cpp b/Src/KeyBoard.cpp
similarity index 100%
rename from KeyBoard.cpp
rename to Src/KeyBoard.cpp
diff --git a/KeyBoard.h b/Src/KeyBoard.h
similarity index 100%
rename from KeyBoard.h
rename to Src/KeyBoard.h
diff --git a/LineEdit.h b/Src/LineEdit.h
similarity index 100%
rename from LineEdit.h
rename to Src/LineEdit.h
diff --git a/ListPanel.cpp b/Src/ListPanel.cpp
similarity index 100%
rename from ListPanel.cpp
rename to Src/ListPanel.cpp
diff --git a/ListPanel.h b/Src/ListPanel.h
similarity index 100%
rename from ListPanel.h
rename to Src/ListPanel.h
diff --git a/ListViewBase.cpp b/Src/ListViewBase.cpp
similarity index 100%
rename from ListViewBase.cpp
rename to Src/ListViewBase.cpp
diff --git a/ListViewBase.h b/Src/ListViewBase.h
similarity index 100%
rename from ListViewBase.h
rename to Src/ListViewBase.h
diff --git a/ListViewMove.cpp b/Src/ListViewMove.cpp
similarity index 100%
rename from ListViewMove.cpp
rename to Src/ListViewMove.cpp
diff --git a/ListViewMove.h b/Src/ListViewMove.h
similarity index 100%
rename from ListViewMove.h
rename to Src/ListViewMove.h
diff --git a/ListViewPattern.cpp b/Src/ListViewPattern.cpp
similarity index 100%
rename from ListViewPattern.cpp
rename to Src/ListViewPattern.cpp
diff --git a/ListViewPattern.h b/Src/ListViewPattern.h
similarity index 100%
rename from ListViewPattern.h
rename to Src/ListViewPattern.h
diff --git a/ListViewText.cpp b/Src/ListViewText.cpp
similarity index 100%
rename from ListViewText.cpp
rename to Src/ListViewText.cpp
diff --git a/ListViewText.h b/Src/ListViewText.h
similarity index 100%
rename from ListViewText.h
rename to Src/ListViewText.h
diff --git a/LoginFormUnit.cpp b/Src/LoginFormUnit.cpp
similarity index 99%
rename from LoginFormUnit.cpp
rename to Src/LoginFormUnit.cpp
index 22fe206..7024b4b 100644
--- a/LoginFormUnit.cpp
+++ b/Src/LoginFormUnit.cpp
@@ -19,7 +19,7 @@
TLoginForm *LoginForm = NULL;
-const char *g_pPattern[5] = {"^[_a-zA-Z0-9\\xA1-\\xFE\\.-]{3,16}$",
+const char* TLoginForm::m_pPattern[5] = {"^[_a-zA-Z0-9\\xA1-\\xFE\\.-]{3,16}$",
"^[_a-zA-Z0-9\\.-]+@([_a-zA-Z0-9]+\\.)+[a-zA-Z0-9]{2,3}$",
"^[\\x21-\\x7E]{3,16}$",
"^[\\x21-\\x7E]{6,16}$",
@@ -82,7 +82,7 @@ bool __fastcall TLoginForm::CheckInput(const char * pText, int type)
bool bRet = false;
pcre *pPcre = NULL;
int nOffset = -1;
- const char *pPattern = g_pPattern[type];
+ const char *pPattern = m_pPattern[type];
const char *pErrMsg = NULL;
if( NULL == (pPcre = pcre_compile(pPattern, 0, &pErrMsg, &nOffset, NULL)) ){
diff --git a/LoginFormUnit.dfm b/Src/LoginFormUnit.dfm
similarity index 100%
rename from LoginFormUnit.dfm
rename to Src/LoginFormUnit.dfm
diff --git a/LoginFormUnit.h b/Src/LoginFormUnit.h
similarity index 96%
rename from LoginFormUnit.h
rename to Src/LoginFormUnit.h
index 67fdc93..3bf4fa8 100644
--- a/LoginFormUnit.h
+++ b/Src/LoginFormUnit.h
@@ -16,6 +16,8 @@
#include
#include
#include
+#include
+#include
//---------------------------------------------------------------------------
#define CODE_INTERVAL 120
@@ -72,6 +74,8 @@ private: // User declarations
FConfirm,
FVerify;
+ const static char *m_pPattern[5];
+
bool __fastcall CheckInput(const char * pText, int type);
void __fastcall Layout();
diff --git a/MainFormUnit.cpp b/Src/MainFormUnit.cpp
similarity index 100%
rename from MainFormUnit.cpp
rename to Src/MainFormUnit.cpp
diff --git a/MainFormUnit.dfm b/Src/MainFormUnit.dfm
similarity index 100%
rename from MainFormUnit.dfm
rename to Src/MainFormUnit.dfm
diff --git a/MainFormUnit.h b/Src/MainFormUnit.h
similarity index 100%
rename from MainFormUnit.h
rename to Src/MainFormUnit.h
diff --git a/ManageSongFormUnit.cpp b/Src/ManageSongFormUnit.cpp
similarity index 100%
rename from ManageSongFormUnit.cpp
rename to Src/ManageSongFormUnit.cpp
diff --git a/ManageSongFormUnit.dfm b/Src/ManageSongFormUnit.dfm
similarity index 100%
rename from ManageSongFormUnit.dfm
rename to Src/ManageSongFormUnit.dfm
diff --git a/ManageSongFormUnit.h b/Src/ManageSongFormUnit.h
similarity index 100%
rename from ManageSongFormUnit.h
rename to Src/ManageSongFormUnit.h
diff --git a/MenuBar.cpp b/Src/MenuBar.cpp
similarity index 100%
rename from MenuBar.cpp
rename to Src/MenuBar.cpp
diff --git a/MenuBar.h b/Src/MenuBar.h
similarity index 100%
rename from MenuBar.h
rename to Src/MenuBar.h
diff --git a/MenuUnit.cpp b/Src/MenuUnit.cpp
similarity index 100%
rename from MenuUnit.cpp
rename to Src/MenuUnit.cpp
diff --git a/MenuUnit.h b/Src/MenuUnit.h
similarity index 100%
rename from MenuUnit.h
rename to Src/MenuUnit.h
diff --git a/MessageDef.h b/Src/MessageDef.h
similarity index 100%
rename from MessageDef.h
rename to Src/MessageDef.h
diff --git a/MessageFormUnit.cpp b/Src/MessageFormUnit.cpp
similarity index 100%
rename from MessageFormUnit.cpp
rename to Src/MessageFormUnit.cpp
diff --git a/MessageFormUnit.dfm b/Src/MessageFormUnit.dfm
similarity index 100%
rename from MessageFormUnit.dfm
rename to Src/MessageFormUnit.dfm
diff --git a/MessageFormUnit.h b/Src/MessageFormUnit.h
similarity index 100%
rename from MessageFormUnit.h
rename to Src/MessageFormUnit.h
diff --git a/MicSetFormUnit.cpp b/Src/MicSetFormUnit.cpp
similarity index 100%
rename from MicSetFormUnit.cpp
rename to Src/MicSetFormUnit.cpp
diff --git a/MicSetFormUnit.dfm b/Src/MicSetFormUnit.dfm
similarity index 100%
rename from MicSetFormUnit.dfm
rename to Src/MicSetFormUnit.dfm
diff --git a/MicSetFormUnit.h b/Src/MicSetFormUnit.h
similarity index 100%
rename from MicSetFormUnit.h
rename to Src/MicSetFormUnit.h
diff --git a/MidiTrack.cpp b/Src/MidiTrack.cpp
similarity index 100%
rename from MidiTrack.cpp
rename to Src/MidiTrack.cpp
diff --git a/MidiTrack.h b/Src/MidiTrack.h
similarity index 100%
rename from MidiTrack.h
rename to Src/MidiTrack.h
diff --git a/MultiSwitchProgFormUnit.cpp b/Src/MultiSwitchProgFormUnit.cpp
similarity index 100%
rename from MultiSwitchProgFormUnit.cpp
rename to Src/MultiSwitchProgFormUnit.cpp
diff --git a/MultiSwitchProgFormUnit.dfm b/Src/MultiSwitchProgFormUnit.dfm
similarity index 100%
rename from MultiSwitchProgFormUnit.dfm
rename to Src/MultiSwitchProgFormUnit.dfm
diff --git a/MultiSwitchProgFormUnit.h b/Src/MultiSwitchProgFormUnit.h
similarity index 100%
rename from MultiSwitchProgFormUnit.h
rename to Src/MultiSwitchProgFormUnit.h
diff --git a/NotificationADPanelUnit.cpp b/Src/NotificationADPanelUnit.cpp
similarity index 100%
rename from NotificationADPanelUnit.cpp
rename to Src/NotificationADPanelUnit.cpp
diff --git a/NotificationADPanelUnit.h b/Src/NotificationADPanelUnit.h
similarity index 100%
rename from NotificationADPanelUnit.h
rename to Src/NotificationADPanelUnit.h
diff --git a/NotificationContentPanelUnit.cpp b/Src/NotificationContentPanelUnit.cpp
similarity index 100%
rename from NotificationContentPanelUnit.cpp
rename to Src/NotificationContentPanelUnit.cpp
diff --git a/NotificationContentPanelUnit.h b/Src/NotificationContentPanelUnit.h
similarity index 100%
rename from NotificationContentPanelUnit.h
rename to Src/NotificationContentPanelUnit.h
diff --git a/NotificationExUnit.cpp b/Src/NotificationExUnit.cpp
similarity index 100%
rename from NotificationExUnit.cpp
rename to Src/NotificationExUnit.cpp
diff --git a/NotificationExUnit.h b/Src/NotificationExUnit.h
similarity index 100%
rename from NotificationExUnit.h
rename to Src/NotificationExUnit.h
diff --git a/NotificationFormUnit.cpp b/Src/NotificationFormUnit.cpp
similarity index 100%
rename from NotificationFormUnit.cpp
rename to Src/NotificationFormUnit.cpp
diff --git a/NotificationFormUnit.dfm b/Src/NotificationFormUnit.dfm
similarity index 100%
rename from NotificationFormUnit.dfm
rename to Src/NotificationFormUnit.dfm
diff --git a/NotificationFormUnit.h b/Src/NotificationFormUnit.h
similarity index 100%
rename from NotificationFormUnit.h
rename to Src/NotificationFormUnit.h
diff --git a/NotificationThreadUnit.cpp b/Src/NotificationThreadUnit.cpp
similarity index 100%
rename from NotificationThreadUnit.cpp
rename to Src/NotificationThreadUnit.cpp
diff --git a/NotificationThreadUnit.h b/Src/NotificationThreadUnit.h
similarity index 100%
rename from NotificationThreadUnit.h
rename to Src/NotificationThreadUnit.h
diff --git a/PNGButton.hpp b/Src/PNGButton.hpp
similarity index 100%
rename from PNGButton.hpp
rename to Src/PNGButton.hpp
diff --git a/PanelDB.cpp b/Src/PanelDB.cpp
similarity index 100%
rename from PanelDB.cpp
rename to Src/PanelDB.cpp
diff --git a/PanelDB.h b/Src/PanelDB.h
similarity index 100%
rename from PanelDB.h
rename to Src/PanelDB.h
diff --git a/PayMentFormUnit.cpp b/Src/PayMentFormUnit.cpp
similarity index 100%
rename from PayMentFormUnit.cpp
rename to Src/PayMentFormUnit.cpp
diff --git a/PayMentFormUnit.dfm b/Src/PayMentFormUnit.dfm
similarity index 100%
rename from PayMentFormUnit.dfm
rename to Src/PayMentFormUnit.dfm
diff --git a/PayMentFormUnit.h b/Src/PayMentFormUnit.h
similarity index 100%
rename from PayMentFormUnit.h
rename to Src/PayMentFormUnit.h
diff --git a/PayMentPanelUnit.cpp b/Src/PayMentPanelUnit.cpp
similarity index 100%
rename from PayMentPanelUnit.cpp
rename to Src/PayMentPanelUnit.cpp
diff --git a/PayMentPanelUnit.h b/Src/PayMentPanelUnit.h
similarity index 100%
rename from PayMentPanelUnit.h
rename to Src/PayMentPanelUnit.h
diff --git a/PlayTimePanel.cpp b/Src/PlayTimePanel.cpp
similarity index 100%
rename from PlayTimePanel.cpp
rename to Src/PlayTimePanel.cpp
diff --git a/PlayTimePanel.h b/Src/PlayTimePanel.h
similarity index 100%
rename from PlayTimePanel.h
rename to Src/PlayTimePanel.h
diff --git a/PreStylePanel.cpp b/Src/PreStylePanel.cpp
similarity index 100%
rename from PreStylePanel.cpp
rename to Src/PreStylePanel.cpp
diff --git a/PreStylePanel.h b/Src/PreStylePanel.h
similarity index 100%
rename from PreStylePanel.h
rename to Src/PreStylePanel.h
diff --git a/PredefineProjectFormUnit.cpp b/Src/PredefineProjectFormUnit.cpp
similarity index 100%
rename from PredefineProjectFormUnit.cpp
rename to Src/PredefineProjectFormUnit.cpp
diff --git a/PredefineProjectFormUnit.dfm b/Src/PredefineProjectFormUnit.dfm
similarity index 100%
rename from PredefineProjectFormUnit.dfm
rename to Src/PredefineProjectFormUnit.dfm
diff --git a/PredefineProjectFormUnit.h b/Src/PredefineProjectFormUnit.h
similarity index 100%
rename from PredefineProjectFormUnit.h
rename to Src/PredefineProjectFormUnit.h
diff --git a/PredefineProjectSetUnit.cpp b/Src/PredefineProjectSetUnit.cpp
similarity index 100%
rename from PredefineProjectSetUnit.cpp
rename to Src/PredefineProjectSetUnit.cpp
diff --git a/PredefineProjectSetUnit.h b/Src/PredefineProjectSetUnit.h
similarity index 100%
rename from PredefineProjectSetUnit.h
rename to Src/PredefineProjectSetUnit.h
diff --git a/ProCommon.h b/Src/ProCommon.h
similarity index 100%
rename from ProCommon.h
rename to Src/ProCommon.h
diff --git a/ProgHandlePanel.cpp b/Src/ProgHandlePanel.cpp
similarity index 100%
rename from ProgHandlePanel.cpp
rename to Src/ProgHandlePanel.cpp
diff --git a/ProgHandlePanel.h b/Src/ProgHandlePanel.h
similarity index 100%
rename from ProgHandlePanel.h
rename to Src/ProgHandlePanel.h
diff --git a/ProgressFormUnit.cpp b/Src/ProgressFormUnit.cpp
similarity index 100%
rename from ProgressFormUnit.cpp
rename to Src/ProgressFormUnit.cpp
diff --git a/ProgressFormUnit.dfm b/Src/ProgressFormUnit.dfm
similarity index 100%
rename from ProgressFormUnit.dfm
rename to Src/ProgressFormUnit.dfm
diff --git a/ProgressFormUnit.h b/Src/ProgressFormUnit.h
similarity index 100%
rename from ProgressFormUnit.h
rename to Src/ProgressFormUnit.h
diff --git a/ProgressThreadUnit.cpp b/Src/ProgressThreadUnit.cpp
similarity index 100%
rename from ProgressThreadUnit.cpp
rename to Src/ProgressThreadUnit.cpp
diff --git a/ProgressThreadUnit.h b/Src/ProgressThreadUnit.h
similarity index 100%
rename from ProgressThreadUnit.h
rename to Src/ProgressThreadUnit.h
diff --git a/Project.cpp b/Src/Project.cpp
similarity index 100%
rename from Project.cpp
rename to Src/Project.cpp
diff --git a/Project.h b/Src/Project.h
similarity index 100%
rename from Project.h
rename to Src/Project.h
diff --git a/QRcodePanel.cpp b/Src/QRcodePanel.cpp
similarity index 100%
rename from QRcodePanel.cpp
rename to Src/QRcodePanel.cpp
diff --git a/QRcodePanel.h b/Src/QRcodePanel.h
similarity index 100%
rename from QRcodePanel.h
rename to Src/QRcodePanel.h
diff --git a/RadioBtn.h b/Src/RadioBtn.h
similarity index 100%
rename from RadioBtn.h
rename to Src/RadioBtn.h
diff --git a/RegisterFormUnit.cpp b/Src/RegisterFormUnit.cpp
similarity index 98%
rename from RegisterFormUnit.cpp
rename to Src/RegisterFormUnit.cpp
index d941e11..7da1ad5 100644
--- a/RegisterFormUnit.cpp
+++ b/Src/RegisterFormUnit.cpp
@@ -17,7 +17,7 @@
TRegisterForm *RegisterForm;
-const char *g_pPattern[4] = {"^[_a-zA-Z0-9\\xA1-\\xFE\\.-]{3,16}$",
+const char* TRegisterForm::m_pPattern[4] = {"^[_a-zA-Z0-9\\xA1-\\xFE\\.-]{3,16}$",
"^[_a-zA-Z0-9\\.-]+@([_a-zA-Z0-9]+\\.)+[a-zA-Z0-9]{2,3}$",
"^[\\x21-\\x7E]{3,16}$",
"^[\\x21-\\x7E]{6,16}$"
@@ -62,7 +62,7 @@ bool __fastcall TRegisterForm::CheckInput(const char * pText, int type)
bool bRet = false;
pcre *pPcre = NULL;
int nOffset = -1;
- const char *pPattern = g_pPattern[type];
+ const char *pPattern = m_pPattern[type];
const char *pErrMsg = NULL;
if( NULL == (pPcre = pcre_compile(pPattern, 0, &pErrMsg, &nOffset, NULL)) ){
diff --git a/RegisterFormUnit.dfm b/Src/RegisterFormUnit.dfm
similarity index 99%
rename from RegisterFormUnit.dfm
rename to Src/RegisterFormUnit.dfm
index 1b884dc..74fef83 100644
--- a/RegisterFormUnit.dfm
+++ b/Src/RegisterFormUnit.dfm
@@ -36,11 +36,10 @@ object RegisterForm: TRegisterForm
ParentBackground = False
ParentFont = False
TabOrder = 0
- ExplicitHeight = 222
object m_ReturnLabel: TLabel
Left = 289
Top = 199
- Width = 60
+ Width = 52
Height = 19
Cursor = crHandPoint
Hint = #28857#20987#27880#20876#26032#29992#25143
diff --git a/RegisterFormUnit.h b/Src/RegisterFormUnit.h
similarity index 98%
rename from RegisterFormUnit.h
rename to Src/RegisterFormUnit.h
index 7636315..fc9ad57 100644
--- a/RegisterFormUnit.h
+++ b/Src/RegisterFormUnit.h
@@ -49,6 +49,8 @@ private: // User declarations
FConfirm,
FVerify;
+ const static char *m_pPattern[4];
+
bool __fastcall CheckInput(const char * pText, int type);
void __fastcall Layout();
diff --git a/SaveFormUnit.cpp b/Src/SaveFormUnit.cpp
similarity index 100%
rename from SaveFormUnit.cpp
rename to Src/SaveFormUnit.cpp
diff --git a/SaveFormUnit.dfm b/Src/SaveFormUnit.dfm
similarity index 100%
rename from SaveFormUnit.dfm
rename to Src/SaveFormUnit.dfm
diff --git a/SaveFormUnit.h b/Src/SaveFormUnit.h
similarity index 100%
rename from SaveFormUnit.h
rename to Src/SaveFormUnit.h
diff --git a/SaveLocalStyleFormUnit.cpp b/Src/SaveLocalStyleFormUnit.cpp
similarity index 100%
rename from SaveLocalStyleFormUnit.cpp
rename to Src/SaveLocalStyleFormUnit.cpp
diff --git a/SaveLocalStyleFormUnit.dfm b/Src/SaveLocalStyleFormUnit.dfm
similarity index 100%
rename from SaveLocalStyleFormUnit.dfm
rename to Src/SaveLocalStyleFormUnit.dfm
diff --git a/SaveLocalStyleFormUnit.h b/Src/SaveLocalStyleFormUnit.h
similarity index 100%
rename from SaveLocalStyleFormUnit.h
rename to Src/SaveLocalStyleFormUnit.h
diff --git a/ScoreFormUnit.cpp b/Src/ScoreFormUnit.cpp
similarity index 100%
rename from ScoreFormUnit.cpp
rename to Src/ScoreFormUnit.cpp
diff --git a/ScoreFormUnit.dfm b/Src/ScoreFormUnit.dfm
similarity index 100%
rename from ScoreFormUnit.dfm
rename to Src/ScoreFormUnit.dfm
diff --git a/ScoreFormUnit.h b/Src/ScoreFormUnit.h
similarity index 100%
rename from ScoreFormUnit.h
rename to Src/ScoreFormUnit.h
diff --git a/ScrollViewUnit.cpp b/Src/ScrollViewUnit.cpp
similarity index 100%
rename from ScrollViewUnit.cpp
rename to Src/ScrollViewUnit.cpp
diff --git a/ScrollViewUnit.h b/Src/ScrollViewUnit.h
similarity index 100%
rename from ScrollViewUnit.h
rename to Src/ScrollViewUnit.h
diff --git a/SetUpFormUnit.cpp b/Src/SetUpFormUnit.cpp
similarity index 100%
rename from SetUpFormUnit.cpp
rename to Src/SetUpFormUnit.cpp
diff --git a/SetUpFormUnit.dfm b/Src/SetUpFormUnit.dfm
similarity index 100%
rename from SetUpFormUnit.dfm
rename to Src/SetUpFormUnit.dfm
diff --git a/SetUpFormUnit.h b/Src/SetUpFormUnit.h
similarity index 100%
rename from SetUpFormUnit.h
rename to Src/SetUpFormUnit.h
diff --git a/ShowUserInfoPanel.cpp b/Src/ShowUserInfoPanel.cpp
similarity index 100%
rename from ShowUserInfoPanel.cpp
rename to Src/ShowUserInfoPanel.cpp
diff --git a/ShowUserInfoPanel.h b/Src/ShowUserInfoPanel.h
similarity index 100%
rename from ShowUserInfoPanel.h
rename to Src/ShowUserInfoPanel.h
diff --git a/SkinHintWindow.cpp b/Src/SkinHintWindow.cpp
similarity index 100%
rename from SkinHintWindow.cpp
rename to Src/SkinHintWindow.cpp
diff --git a/SkinHintWindow.h b/Src/SkinHintWindow.h
similarity index 100%
rename from SkinHintWindow.h
rename to Src/SkinHintWindow.h
diff --git a/SkinScrollBarUnit.cpp b/Src/SkinScrollBarUnit.cpp
similarity index 100%
rename from SkinScrollBarUnit.cpp
rename to Src/SkinScrollBarUnit.cpp
diff --git a/SkinScrollBarUnit.h b/Src/SkinScrollBarUnit.h
similarity index 100%
rename from SkinScrollBarUnit.h
rename to Src/SkinScrollBarUnit.h
diff --git a/SkinTrackBar.h b/Src/SkinTrackBar.h
similarity index 100%
rename from SkinTrackBar.h
rename to Src/SkinTrackBar.h
diff --git a/SplashFormUnit.cpp b/Src/SplashFormUnit.cpp
similarity index 100%
rename from SplashFormUnit.cpp
rename to Src/SplashFormUnit.cpp
diff --git a/SplashFormUnit.dfm b/Src/SplashFormUnit.dfm
similarity index 100%
rename from SplashFormUnit.dfm
rename to Src/SplashFormUnit.dfm
diff --git a/SplashFormUnit.h b/Src/SplashFormUnit.h
similarity index 100%
rename from SplashFormUnit.h
rename to Src/SplashFormUnit.h
diff --git a/StateBtn.cpp b/Src/StateBtn.cpp
similarity index 100%
rename from StateBtn.cpp
rename to Src/StateBtn.cpp
diff --git a/StateBtn.h b/Src/StateBtn.h
similarity index 100%
rename from StateBtn.h
rename to Src/StateBtn.h
diff --git a/StyleItem.cpp b/Src/StyleItem.cpp
similarity index 100%
rename from StyleItem.cpp
rename to Src/StyleItem.cpp
diff --git a/StyleItem.h b/Src/StyleItem.h
similarity index 100%
rename from StyleItem.h
rename to Src/StyleItem.h
diff --git a/StylePanel.cpp b/Src/StylePanel.cpp
similarity index 100%
rename from StylePanel.cpp
rename to Src/StylePanel.cpp
diff --git a/StylePanel.h b/Src/StylePanel.h
similarity index 100%
rename from StylePanel.h
rename to Src/StylePanel.h
diff --git a/StyleSelPanel.cpp b/Src/StyleSelPanel.cpp
similarity index 100%
rename from StyleSelPanel.cpp
rename to Src/StyleSelPanel.cpp
diff --git a/StyleSelPanel.h b/Src/StyleSelPanel.h
similarity index 100%
rename from StyleSelPanel.h
rename to Src/StyleSelPanel.h
diff --git a/StyleSpecsFormUnit.cpp b/Src/StyleSpecsFormUnit.cpp
similarity index 100%
rename from StyleSpecsFormUnit.cpp
rename to Src/StyleSpecsFormUnit.cpp
diff --git a/StyleSpecsFormUnit.dfm b/Src/StyleSpecsFormUnit.dfm
similarity index 100%
rename from StyleSpecsFormUnit.dfm
rename to Src/StyleSpecsFormUnit.dfm
diff --git a/StyleSpecsFormUnit.h b/Src/StyleSpecsFormUnit.h
similarity index 100%
rename from StyleSpecsFormUnit.h
rename to Src/StyleSpecsFormUnit.h
diff --git a/StyleUploadFormUnit.cpp b/Src/StyleUploadFormUnit.cpp
similarity index 100%
rename from StyleUploadFormUnit.cpp
rename to Src/StyleUploadFormUnit.cpp
diff --git a/StyleUploadFormUnit.dfm b/Src/StyleUploadFormUnit.dfm
similarity index 100%
rename from StyleUploadFormUnit.dfm
rename to Src/StyleUploadFormUnit.dfm
diff --git a/StyleUploadFormUnit.h b/Src/StyleUploadFormUnit.h
similarity index 100%
rename from StyleUploadFormUnit.h
rename to Src/StyleUploadFormUnit.h
diff --git a/SwitchProgFormUnit.cpp b/Src/SwitchProgFormUnit.cpp
similarity index 100%
rename from SwitchProgFormUnit.cpp
rename to Src/SwitchProgFormUnit.cpp
diff --git a/SwitchProgFormUnit.dfm b/Src/SwitchProgFormUnit.dfm
similarity index 100%
rename from SwitchProgFormUnit.dfm
rename to Src/SwitchProgFormUnit.dfm
diff --git a/SwitchProgFormUnit.h b/Src/SwitchProgFormUnit.h
similarity index 100%
rename from SwitchProgFormUnit.h
rename to Src/SwitchProgFormUnit.h
diff --git a/SwitchTextureForm.cpp b/Src/SwitchTextureForm.cpp
similarity index 100%
rename from SwitchTextureForm.cpp
rename to Src/SwitchTextureForm.cpp
diff --git a/SwitchTextureForm.dfm b/Src/SwitchTextureForm.dfm
similarity index 100%
rename from SwitchTextureForm.dfm
rename to Src/SwitchTextureForm.dfm
diff --git a/SwitchTextureForm.h b/Src/SwitchTextureForm.h
similarity index 100%
rename from SwitchTextureForm.h
rename to Src/SwitchTextureForm.h
diff --git a/TableViewUnit.cpp b/Src/TableViewUnit.cpp
similarity index 100%
rename from TableViewUnit.cpp
rename to Src/TableViewUnit.cpp
diff --git a/TableViewUnit.h b/Src/TableViewUnit.h
similarity index 100%
rename from TableViewUnit.h
rename to Src/TableViewUnit.h
diff --git a/TextButton.h b/Src/TextButton.h
similarity index 100%
rename from TextButton.h
rename to Src/TextButton.h
diff --git a/ToolpalPanel.cpp b/Src/ToolpalPanel.cpp
similarity index 100%
rename from ToolpalPanel.cpp
rename to Src/ToolpalPanel.cpp
diff --git a/ToolpalPanel.h b/Src/ToolpalPanel.h
similarity index 100%
rename from ToolpalPanel.h
rename to Src/ToolpalPanel.h
diff --git a/TrackPanel.cpp b/Src/TrackPanel.cpp
similarity index 100%
rename from TrackPanel.cpp
rename to Src/TrackPanel.cpp
diff --git a/TrackPanel.h b/Src/TrackPanel.h
similarity index 100%
rename from TrackPanel.h
rename to Src/TrackPanel.h
diff --git a/TransSkinScrollBar.cpp b/Src/TransSkinScrollBar.cpp
similarity index 100%
rename from TransSkinScrollBar.cpp
rename to Src/TransSkinScrollBar.cpp
diff --git a/TransSkinScrollBar.h b/Src/TransSkinScrollBar.h
similarity index 100%
rename from TransSkinScrollBar.h
rename to Src/TransSkinScrollBar.h
diff --git a/TransparentPanelUnit.cpp b/Src/TransparentPanelUnit.cpp
similarity index 100%
rename from TransparentPanelUnit.cpp
rename to Src/TransparentPanelUnit.cpp
diff --git a/TransparentPanelUnit.h b/Src/TransparentPanelUnit.h
similarity index 100%
rename from TransparentPanelUnit.h
rename to Src/TransparentPanelUnit.h
diff --git a/Undo.cpp b/Src/Undo.cpp
similarity index 100%
rename from Undo.cpp
rename to Src/Undo.cpp
diff --git a/Undo.h b/Src/Undo.h
similarity index 100%
rename from Undo.h
rename to Src/Undo.h
diff --git a/UpDownUnit.cpp b/Src/UpDownUnit.cpp
similarity index 100%
rename from UpDownUnit.cpp
rename to Src/UpDownUnit.cpp
diff --git a/UpDownUnit.h b/Src/UpDownUnit.h
similarity index 100%
rename from UpDownUnit.h
rename to Src/UpDownUnit.h
diff --git a/UpdateFormUnit.cpp b/Src/UpdateFormUnit.cpp
similarity index 100%
rename from UpdateFormUnit.cpp
rename to Src/UpdateFormUnit.cpp
diff --git a/UpdateFormUnit.dfm b/Src/UpdateFormUnit.dfm
similarity index 100%
rename from UpdateFormUnit.dfm
rename to Src/UpdateFormUnit.dfm
diff --git a/UpdateFormUnit.h b/Src/UpdateFormUnit.h
similarity index 100%
rename from UpdateFormUnit.h
rename to Src/UpdateFormUnit.h
diff --git a/UploadFormUnit.cpp b/Src/UploadFormUnit.cpp
similarity index 100%
rename from UploadFormUnit.cpp
rename to Src/UploadFormUnit.cpp
diff --git a/UploadFormUnit.dfm b/Src/UploadFormUnit.dfm
similarity index 100%
rename from UploadFormUnit.dfm
rename to Src/UploadFormUnit.dfm
diff --git a/UploadFormUnit.h b/Src/UploadFormUnit.h
similarity index 100%
rename from UploadFormUnit.h
rename to Src/UploadFormUnit.h
diff --git a/UseStylePanel.cpp b/Src/UseStylePanel.cpp
similarity index 100%
rename from UseStylePanel.cpp
rename to Src/UseStylePanel.cpp
diff --git a/UseStylePanel.h b/Src/UseStylePanel.h
similarity index 100%
rename from UseStylePanel.h
rename to Src/UseStylePanel.h
diff --git a/VSTPathFormUnit.cpp b/Src/VSTPathFormUnit.cpp
similarity index 100%
rename from VSTPathFormUnit.cpp
rename to Src/VSTPathFormUnit.cpp
diff --git a/VSTPathFormUnit.dfm b/Src/VSTPathFormUnit.dfm
similarity index 100%
rename from VSTPathFormUnit.dfm
rename to Src/VSTPathFormUnit.dfm
diff --git a/VSTPathFormUnit.h b/Src/VSTPathFormUnit.h
similarity index 100%
rename from VSTPathFormUnit.h
rename to Src/VSTPathFormUnit.h
diff --git a/VSTPluginFormUnit.cpp b/Src/VSTPluginFormUnit.cpp
similarity index 100%
rename from VSTPluginFormUnit.cpp
rename to Src/VSTPluginFormUnit.cpp
diff --git a/VSTPluginFormUnit.dfm b/Src/VSTPluginFormUnit.dfm
similarity index 100%
rename from VSTPluginFormUnit.dfm
rename to Src/VSTPluginFormUnit.dfm
diff --git a/VSTPluginFormUnit.h b/Src/VSTPluginFormUnit.h
similarity index 100%
rename from VSTPluginFormUnit.h
rename to Src/VSTPluginFormUnit.h
diff --git a/VSTiFormUnit.cpp b/Src/VSTiFormUnit.cpp
similarity index 100%
rename from VSTiFormUnit.cpp
rename to Src/VSTiFormUnit.cpp
diff --git a/VSTiFormUnit.dfm b/Src/VSTiFormUnit.dfm
similarity index 100%
rename from VSTiFormUnit.dfm
rename to Src/VSTiFormUnit.dfm
diff --git a/VSTiFormUnit.h b/Src/VSTiFormUnit.h
similarity index 100%
rename from VSTiFormUnit.h
rename to Src/VSTiFormUnit.h
diff --git a/VerifyCodeFormUnit.cpp b/Src/VerifyCodeFormUnit.cpp
similarity index 100%
rename from VerifyCodeFormUnit.cpp
rename to Src/VerifyCodeFormUnit.cpp
diff --git a/VerifyCodeFormUnit.dfm b/Src/VerifyCodeFormUnit.dfm
similarity index 100%
rename from VerifyCodeFormUnit.dfm
rename to Src/VerifyCodeFormUnit.dfm
diff --git a/VerifyCodeFormUnit.h b/Src/VerifyCodeFormUnit.h
similarity index 100%
rename from VerifyCodeFormUnit.h
rename to Src/VerifyCodeFormUnit.h
diff --git a/VolumeFormUnit.cpp b/Src/VolumeFormUnit.cpp
similarity index 100%
rename from VolumeFormUnit.cpp
rename to Src/VolumeFormUnit.cpp
diff --git a/VolumeFormUnit.dfm b/Src/VolumeFormUnit.dfm
similarity index 100%
rename from VolumeFormUnit.dfm
rename to Src/VolumeFormUnit.dfm
diff --git a/VolumeFormUnit.h b/Src/VolumeFormUnit.h
similarity index 100%
rename from VolumeFormUnit.h
rename to Src/VolumeFormUnit.h
diff --git a/commonstruct.h b/Src/commonstruct.h
similarity index 100%
rename from commonstruct.h
rename to Src/commonstruct.h
diff --git a/structures.h b/Src/structures.h
similarity index 100%
rename from structures.h
rename to Src/structures.h