mirror of
https://github.com/Lime3DS/Lime3DS.git
synced 2024-11-25 11:06:57 +01:00
98fa3f7cba
Most functions already operate on std::strings. This also removes the need to manually null terminate thread names.
32 lines
606 B
C++
32 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
|