summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/ns/ns.h
diff options
context:
space:
mode:
authorMichael Scire <SciresM@gmail.com>2019-05-23 10:28:27 +0200
committerMichael Scire <SciresM@gmail.com>2019-05-23 10:28:27 +0200
commitd81b58f320f9ace1d80cfca6889cbee98813cd83 (patch)
treeb5a1886b3305b46bb561d220965c806536d2ff47 /src/core/hle/service/ns/ns.h
parentclang-format fixes (diff)
downloadyuzu-d81b58f320f9ace1d80cfca6889cbee98813cd83.tar
yuzu-d81b58f320f9ace1d80cfca6889cbee98813cd83.tar.gz
yuzu-d81b58f320f9ace1d80cfca6889cbee98813cd83.tar.bz2
yuzu-d81b58f320f9ace1d80cfca6889cbee98813cd83.tar.lz
yuzu-d81b58f320f9ace1d80cfca6889cbee98813cd83.tar.xz
yuzu-d81b58f320f9ace1d80cfca6889cbee98813cd83.tar.zst
yuzu-d81b58f320f9ace1d80cfca6889cbee98813cd83.zip
Diffstat (limited to '')
-rw-r--r--src/core/hle/service/ns/ns.h14
1 files changed, 11 insertions, 3 deletions
diff --git a/src/core/hle/service/ns/ns.h b/src/core/hle/service/ns/ns.h
index 155dd6831..0f4bab4cb 100644
--- a/src/core/hle/service/ns/ns.h
+++ b/src/core/hle/service/ns/ns.h
@@ -5,18 +5,19 @@
#pragma once
#include "core/hle/service/service.h"
-#include "core/hle/service/set/set.h"
namespace Service::NS {
class IAccountProxyInterface final : public ServiceFramework<IAccountProxyInterface> {
public:
explicit IAccountProxyInterface();
+ ~IAccountProxyInterface();
};
class IApplicationManagerInterface final : public ServiceFramework<IApplicationManagerInterface> {
public:
explicit IApplicationManagerInterface();
+ ~IApplicationManagerInterface();
ResultVal<u8> GetApplicationDesiredLanguage(u32 supported_languages);
ResultVal<u64> ConvertApplicationLanguageToLanguageCode(u8 application_language);
@@ -30,38 +31,45 @@ private:
class IApplicationVersionInterface final : public ServiceFramework<IApplicationVersionInterface> {
public:
explicit IApplicationVersionInterface();
+ ~IApplicationVersionInterface();
};
class IContentManagerInterface final : public ServiceFramework<IContentManagerInterface> {
public:
explicit IContentManagerInterface();
+ ~IContentManagerInterface();
};
class IDocumentInterface final : public ServiceFramework<IDocumentInterface> {
public:
explicit IDocumentInterface();
+ ~IDocumentInterface();
};
class IDownloadTaskInterface final : public ServiceFramework<IDownloadTaskInterface> {
public:
explicit IDownloadTaskInterface();
+ ~IDownloadTaskInterface();
};
class IECommerceInterface final : public ServiceFramework<IECommerceInterface> {
public:
explicit IECommerceInterface();
+ ~IECommerceInterface();
};
class IFactoryResetInterface final : public ServiceFramework<IFactoryResetInterface> {
public:
explicit IFactoryResetInterface();
+ ~IFactoryResetInterface();
};
class NS final : public ServiceFramework<NS> {
public:
explicit NS(const char* name);
+ ~NS();
- std::shared_ptr<IApplicationManagerInterface> GetApplicationManagerInterface();
+ std::shared_ptr<IApplicationManagerInterface> GetApplicationManagerInterface() const;
private:
template <typename T>
@@ -74,7 +82,7 @@ private:
}
template <typename T>
- std::shared_ptr<T> GetInterface() {
+ std::shared_ptr<T> GetInterface() const {
static_assert(std::is_base_of_v<Kernel::SessionRequestHandler, T>,
"Not a base of ServiceFrameworkBase");