-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathAppService.h
More file actions
34 lines (27 loc) · 894 Bytes
/
AppService.h
File metadata and controls
34 lines (27 loc) · 894 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#pragma once
#include "AppService.g.h"
#include "Context.h"
#include "InstallModel.h"
namespace winrt::SuiteInstaller::implementation
{
struct AppService : AppServiceT<AppService>
{
AppService();
static SuiteInstaller::AppService GetInstance();
SuiteInstaller::Context RuntimeContext();
SuiteInstaller::InstallModel InstallingPrereqs();
private:
SuiteInstaller::Context mRuntimeContext{ nullptr };
SuiteInstaller::InstallModel mInstallingPrereqs{ nullptr };
};
} // namespace winrt::SuiteInstaller::implementation
namespace winrt::SuiteInstaller::factory_implementation
{
struct AppService : AppServiceT<AppService, implementation::AppService, winrt::static_lifetime>
{
SuiteInstaller::AppService Singleton();
private:
winrt::slim_mutex m_lock;
SuiteInstaller::AppService mSingleton;
};
} // namespace winrt::SuiteInstaller::factory_implementation