保存代码

This commit is contained in:
xsl
2025-12-16 22:15:42 +08:00
parent 4cf1990b16
commit 84cc693593
6 changed files with 164 additions and 25 deletions
+8 -1
View File
@@ -41,11 +41,18 @@ std::wstring ReadFileWithChinesePath(const std::wstring& filePath) {
FaceApp* g_app;
void CppAnimationFinishedCallback()
{
std::cout << "call CppAnimationFinishedCallback\n";
}
void CppCallback(const string& motion_type)
{
g_app->changeMotion(motion_type.c_str());
g_app->changeMotion(motion_type.c_str(), CppAnimationFinishedCallback, true);
}
int main() {
//std::string path = "chinese.txt";