mirror of
https://github.com/yuzu-mirror/yuzu
synced 2024-12-19 02:13:06 +00:00
98fa3f7cba
Most functions already operate on std::strings. This also removes the need to manually null terminate thread names.
31 lines
606 B
C++
31 lines
606 B
C++
// Copyright 2014 Citra Emulator Project
|
|
// Licensed under GPLv2
|
|
// Refer to the license.txt file included.
|
|
|
|
#include "core/hle/service/service.h"
|
|
|
|
////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
// Namespace SRV
|
|
|
|
namespace SRV {
|
|
|
|
/// Interface to "srv:" service
|
|
class Interface : public Service::Interface {
|
|
|
|
public:
|
|
|
|
Interface();
|
|
|
|
~Interface();
|
|
|
|
/**
|
|
* Gets the string name used by CTROS for the service
|
|
* @return Port name of service
|
|
*/
|
|
std::string GetPortName() const {
|
|
return "srv:";
|
|
}
|
|
|
|
};
|
|
|
|
} // namespace
|