Skip to content

Commit cbd1075

Browse files
committed
【AL-10】Add launcher
1 parent ba191d2 commit cbd1075

2 files changed

Lines changed: 9 additions & 2 deletions

File tree

Designer/APP/CMakeLists.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,8 @@ source_group(UI\\GUI FILES ${GUI})
7979
include_directories(${CMAKE_SOURCE_DIR})
8080
include_directories(${CMAKE_CURRENT_SOURCE_DIR})
8181

82-
include_directories(${PROJECT_SOURCE_DIR}/Alice/AliceBasicService/Public)
82+
include_directories(${PROJECT_SOURCE_DIR}/Alice/Bootstrap/AliceLaunchCore/Public)
83+
include_directories(${PROJECT_SOURCE_DIR}/Alice/Core/Foundation/AliceBasicService/Public)
8384
include_directories(${PROJECT_SOURCE_DIR}/Alice/AliceCommonApplication/Public)
8485
include_directories(${PROJECT_SOURCE_DIR}/Alice/InteractionLayer/Interface/AliceApplicationInterface/Public)
8586
include_directories(${PROJECT_SOURCE_DIR}/QFrameWork/AliceUiFrameWork)
@@ -173,6 +174,7 @@ link_libraries(AliceApplicationInterface.lib)
173174
link_libraries(AliceUiFrameWork.lib)
174175
link_libraries(AliceBasicService.lib)
175176
link_libraries(AliceComponentSystem.lib)
177+
link_libraries(AliceLaunchCore.lib)
176178
#-----------------------------------------------------------------------------
177179
# 添加可执行程序目标
178180
#-----------------------------------------------------------------------------

Designer/APP/main.cpp

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,16 @@
11
#include <helpers/loglog.h>
22
#include <log4cplus/initializer.h>
3+
#include "AliceIAppLauncher.h"
4+
#include "AliceDiagnosticMacro.h"
35
//#include "UiApplicationImpl/AliceUiApplicationProxy.h"
46
//#include "AliceNew.h"
57
//#include "AliceIApplicationProxyManager.h"
68
//#include "AliceTransferOwnership.h"
79
//#include "AliceDiagnosticMacro.h"
810

911
using namespace log4cplus::helpers;
10-
//using namespace alice;
12+
using namespace alice;
13+
1114
int main(int argc, char *argv[])
1215
{
1316
//IApplicationProxyManager* pProxyMgr = IApplicationProxyManager::Get();
@@ -17,6 +20,8 @@ int main(int argc, char *argv[])
1720
//DBG_WARN_AND_RETURN_UNLESS(pApp, -1, L"pApp is null", L"hananiah", L"2023.08.27");
1821
//int nResult = pApp->Execute();
1922
//return nResult;
23+
OwningPtr<IAppLauncher> opLauncher = IAppLauncher::Create();
24+
DIAG_RETURN_IF_FALSE(opLauncher, 0, "", "hananiah", "2025.11.1");
2025

2126
return 0;
2227
}

0 commit comments

Comments
 (0)