yuzu/src/core/hle/service/mii/mii.h

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

34 lines
832 B
C++
Raw Normal View History

// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
#include "core/hle/service/cmif_types.h"
2023-09-21 16:54:04 +00:00
namespace Core {
class System;
}
namespace Service::Mii {
2023-09-21 16:54:04 +00:00
class MiiManager;
class IDatabaseService;
2023-09-21 16:54:04 +00:00
class IStaticService final : public ServiceFramework<IStaticService> {
2023-09-21 16:54:04 +00:00
public:
explicit IStaticService(Core::System& system_, const char* name_,
std::shared_ptr<MiiManager> mii_manager, bool is_system_);
~IStaticService() override;
2023-09-21 16:54:04 +00:00
std::shared_ptr<MiiManager> GetMiiManager();
private:
Result GetDatabaseService(Out<SharedPointer<IDatabaseService>> out_database_service);
2023-09-21 16:54:04 +00:00
std::shared_ptr<MiiManager> manager{nullptr};
2023-09-21 16:54:04 +00:00
bool is_system{};
};
void LoopProcess(Core::System& system);
} // namespace Service::Mii