htc: begin skeletoning types for HtcmiscImpl

This commit is contained in:
Michael Scire
2021-02-09 06:16:43 -08:00
committed by SciresM
parent 889f144b27
commit 1963ae7ec0
13 changed files with 320 additions and 6 deletions

View File

@@ -16,12 +16,21 @@
#pragma once
#include <stratosphere.hpp>
#include "../../htclow/htclow_manager.hpp"
#include "htc_htcmisc_impl.hpp"
#include "htc_observer.hpp"
namespace ams::htc::server {
class HtcServiceObject {
private:
/* TODO */
static constexpr inline auto MaxSetElements = 0x48;
using Set = util::FixedSet<u32>;
private:
u8 m_set_memory[Set::GetRequiredMemorySize(MaxSetElements)];
Set m_set;
HtcmiscImpl m_misc_impl;
Observer m_observer;
os::SdkMutex m_mutex;
public:
HtcServiceObject(htclow::HtclowManager *htclow_manager);
public: