2018-04-21 22:04:24 -07:00
|
|
|
// Copyright 2018 yuzu emulator team
|
|
|
|
// Licensed under GPLv2 or any later version
|
|
|
|
// Refer to the license.txt file included.
|
|
|
|
|
2018-07-18 16:43:28 -07:00
|
|
|
#pragma once
|
|
|
|
|
2018-04-21 22:04:24 -07:00
|
|
|
#include <memory>
|
|
|
|
#include <string>
|
|
|
|
#include "core/hle/kernel/event.h"
|
|
|
|
#include "core/hle/service/service.h"
|
|
|
|
|
2018-04-22 19:02:18 -07:00
|
|
|
namespace Service::PlayReport {
|
2018-04-21 22:04:24 -07:00
|
|
|
|
2018-04-22 19:02:18 -07:00
|
|
|
class PlayReport final : public ServiceFramework<PlayReport> {
|
2018-04-21 22:04:24 -07:00
|
|
|
public:
|
2018-04-22 19:02:18 -07:00
|
|
|
explicit PlayReport(const char* name);
|
|
|
|
~PlayReport() = default;
|
2018-04-21 22:04:24 -07:00
|
|
|
|
|
|
|
private:
|
|
|
|
void SaveReportWithUser(Kernel::HLERequestContext& ctx);
|
|
|
|
};
|
|
|
|
|
|
|
|
void InstallInterfaces(SM::ServiceManager& service_manager);
|
|
|
|
|
2018-04-22 19:02:18 -07:00
|
|
|
} // namespace Service::PlayReport
|