保存代码
This commit is contained in:
+8
-1
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user