commit
68658ce4b0
6 changed files with 45 additions and 0 deletions
|
@ -49,6 +49,7 @@ namespace Log {
|
||||||
SUB(Service, SET) \
|
SUB(Service, SET) \
|
||||||
SUB(Service, SM) \
|
SUB(Service, SM) \
|
||||||
SUB(Service, SPL) \
|
SUB(Service, SPL) \
|
||||||
|
SUB(Service, SSL) \
|
||||||
SUB(Service, Time) \
|
SUB(Service, Time) \
|
||||||
SUB(Service, VI) \
|
SUB(Service, VI) \
|
||||||
CLS(HW) \
|
CLS(HW) \
|
||||||
|
|
|
@ -66,6 +66,7 @@ enum class Class : ClassType {
|
||||||
Service_SET, ///< The SET (Settings) service
|
Service_SET, ///< The SET (Settings) service
|
||||||
Service_SM, ///< The SM (Service manager) service
|
Service_SM, ///< The SM (Service manager) service
|
||||||
Service_SPL, ///< The SPL service
|
Service_SPL, ///< The SPL service
|
||||||
|
Service_SSL, ///< The SSL service
|
||||||
Service_Time, ///< The time service
|
Service_Time, ///< The time service
|
||||||
Service_VI, ///< The VI (Video interface) service
|
Service_VI, ///< The VI (Video interface) service
|
||||||
HW, ///< Low-level hardware emulation
|
HW, ///< Low-level hardware emulation
|
||||||
|
|
|
@ -199,6 +199,8 @@ add_library(core STATIC
|
||||||
hle/service/spl/module.h
|
hle/service/spl/module.h
|
||||||
hle/service/spl/spl.cpp
|
hle/service/spl/spl.cpp
|
||||||
hle/service/spl/spl.h
|
hle/service/spl/spl.h
|
||||||
|
hle/service/ssl/ssl.cpp
|
||||||
|
hle/service/ssl/ssl.h
|
||||||
hle/service/time/time.cpp
|
hle/service/time/time.cpp
|
||||||
hle/service/time/time.h
|
hle/service/time/time.h
|
||||||
hle/service/time/time_s.cpp
|
hle/service/time/time_s.cpp
|
||||||
|
|
|
@ -35,6 +35,7 @@
|
||||||
#include "core/hle/service/sm/sm.h"
|
#include "core/hle/service/sm/sm.h"
|
||||||
#include "core/hle/service/sockets/sockets.h"
|
#include "core/hle/service/sockets/sockets.h"
|
||||||
#include "core/hle/service/spl/module.h"
|
#include "core/hle/service/spl/module.h"
|
||||||
|
#include "core/hle/service/ssl/ssl.h"
|
||||||
#include "core/hle/service/time/time.h"
|
#include "core/hle/service/time/time.h"
|
||||||
#include "core/hle/service/vi/vi.h"
|
#include "core/hle/service/vi/vi.h"
|
||||||
|
|
||||||
|
@ -192,6 +193,7 @@ void Init() {
|
||||||
PCTL::InstallInterfaces(*SM::g_service_manager);
|
PCTL::InstallInterfaces(*SM::g_service_manager);
|
||||||
Sockets::InstallInterfaces(*SM::g_service_manager);
|
Sockets::InstallInterfaces(*SM::g_service_manager);
|
||||||
SPL::InstallInterfaces(*SM::g_service_manager);
|
SPL::InstallInterfaces(*SM::g_service_manager);
|
||||||
|
SSL::InstallInterfaces(*SM::g_service_manager);
|
||||||
Time::InstallInterfaces(*SM::g_service_manager);
|
Time::InstallInterfaces(*SM::g_service_manager);
|
||||||
VI::InstallInterfaces(*SM::g_service_manager, nv_flinger);
|
VI::InstallInterfaces(*SM::g_service_manager, nv_flinger);
|
||||||
Set::InstallInterfaces(*SM::g_service_manager);
|
Set::InstallInterfaces(*SM::g_service_manager);
|
||||||
|
|
17
src/core/hle/service/ssl/ssl.cpp
Normal file
17
src/core/hle/service/ssl/ssl.cpp
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
// Copyright 2018 yuzu emulator team
|
||||||
|
// Licensed under GPLv2 or any later version
|
||||||
|
// Refer to the license.txt file included.
|
||||||
|
|
||||||
|
#include "core/hle/service/ssl/ssl.h"
|
||||||
|
|
||||||
|
namespace Service {
|
||||||
|
namespace SSL {
|
||||||
|
|
||||||
|
SSL::SSL() : ServiceFramework("ssl") {}
|
||||||
|
|
||||||
|
void InstallInterfaces(SM::ServiceManager& service_manager) {
|
||||||
|
std::make_shared<SSL>()->InstallAsService(service_manager);
|
||||||
|
}
|
||||||
|
|
||||||
|
} // namespace SSL
|
||||||
|
} // namespace Service
|
22
src/core/hle/service/ssl/ssl.h
Normal file
22
src/core/hle/service/ssl/ssl.h
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
// Copyright 2018 yuzu emulator team
|
||||||
|
// Licensed under GPLv2 or any later version
|
||||||
|
// Refer to the license.txt file included.
|
||||||
|
|
||||||
|
#pragma once
|
||||||
|
|
||||||
|
#include "core/hle/service/service.h"
|
||||||
|
|
||||||
|
namespace Service {
|
||||||
|
namespace SSL {
|
||||||
|
|
||||||
|
class SSL final : public ServiceFramework<SSL> {
|
||||||
|
public:
|
||||||
|
explicit SSL();
|
||||||
|
~SSL() = default;
|
||||||
|
};
|
||||||
|
|
||||||
|
/// Registers all SSL services with the specified service manager.
|
||||||
|
void InstallInterfaces(SM::ServiceManager& service_manager);
|
||||||
|
|
||||||
|
} // namespace SSL
|
||||||
|
} // namespace Service
|
Loading…
Reference in a new issue