HumanRender/human_render/LiveRoom/HuamnLiveRoom.cpp

25 lines
716 B
C++
Raw Normal View History

2024-12-19 17:46:41 +00:00
// Copyright (c) 2013 The Chromium Embedded Framework Authors. All rights
// reserved. Use of this source code is governed by a BSD-style license that
// can be found in the LICENSE file.
#include "LiveRoom/HuamnLiveRoom.h"
#include "CEF/HumanApp.h"
HuamnLiveRoom::HuamnLiveRoom() {}
HuamnLiveRoom::~HuamnLiveRoom() {}
void HuamnLiveRoom::Login() {
CallHumanApp();
}
std::unique_ptr<Process> HuamnLiveRoom::OnCallHumanApp() {
/* const std::string path = "E:/project/qt_version/UEQT/bin/Release/liveroom/";
Process* humanApp = Process::Create(path + "liveroom.exe");
humanApp->SetWorkingDirectory(path);
std::unique_ptr<Process> process(humanApp);
return process;*/
return nullptr;
}