2016-05-18 03:28:25 +02:00
|
|
|
// Copyright 2016 Citra Emulator Project
|
|
|
|
// Licensed under GPLv2 or any later version
|
|
|
|
// Refer to the license.txt file included.
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
2018-03-16 05:36:35 -04:00
|
|
|
#include "core/hle/service/service.h"
|
|
|
|
|
2018-10-05 10:59:43 -04:00
|
|
|
namespace Core {
|
|
|
|
class System;
|
|
|
|
}
|
|
|
|
|
2018-09-22 14:23:08 +02:00
|
|
|
namespace Service::ACT {
|
2016-05-18 03:28:25 +02:00
|
|
|
|
2016-12-15 14:51:42 -05:00
|
|
|
/// Initializes all ACT services
|
2018-03-16 05:36:35 -04:00
|
|
|
class Module final {
|
|
|
|
public:
|
|
|
|
class Interface : public ServiceFramework<Interface> {
|
|
|
|
public:
|
|
|
|
Interface(std::shared_ptr<Module> act, const char* name);
|
|
|
|
~Interface();
|
|
|
|
|
2019-12-24 23:17:24 +00:00
|
|
|
protected:
|
2018-03-16 05:36:35 -04:00
|
|
|
std::shared_ptr<Module> act;
|
|
|
|
};
|
2019-12-27 21:07:29 +00:00
|
|
|
|
2019-12-24 23:17:24 +00:00
|
|
|
private:
|
|
|
|
template <class Archive>
|
2019-12-27 21:07:29 +00:00
|
|
|
inline void serialize(Archive& ar, const unsigned int file_version) {}
|
2019-12-24 23:17:24 +00:00
|
|
|
friend class boost::serialization::access;
|
2018-03-16 05:36:35 -04:00
|
|
|
};
|
|
|
|
|
2018-10-05 10:59:43 -04:00
|
|
|
void InstallInterfaces(Core::System& system);
|
2016-05-18 03:28:25 +02:00
|
|
|
|
2018-09-22 14:23:08 +02:00
|
|
|
} // namespace Service::ACT
|