MCPcopy Create free account
hub / github.com/Codeya-IDE/deepin-ide / initialize

Method initialize

src/plugins/core/core.cpp:17–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15using namespace dpfservice;
16
17void Core::initialize()
18{
19 QString errStr;
20
21 auto &ctx = dpfInstance.serviceContext();
22 if (!ctx.load(WindowService::name(), &errStr)) {
23 qCritical() << errStr;
24 abort();
25 }
26 if (!ctx.load(SessionService::name(), &errStr)) {
27 qCritical() << errStr;
28 abort();
29 }
30}
31
32bool Core::start()
33{

Callers

nothing calls this directly

Calls 3

abortFunction · 0.85
nameFunction · 0.50
loadMethod · 0.45

Tested by

no test coverage detected