2014-04-16 08:58:03 +05:30
|
|
|
// Copyright 2014 Citra Emulator Project
|
|
|
|
// Licensed under GPLv2
|
|
|
|
// Refer to the license.txt file included.
|
|
|
|
|
|
|
|
#include "core/hle/service/service.h"
|
|
|
|
|
|
|
|
////////////////////////////////////////////////////////////////////////////////////////////////////
|
2014-04-17 06:16:05 +05:30
|
|
|
// Namespace SRV
|
|
|
|
|
|
|
|
namespace SRV {
|
2014-04-16 08:58:03 +05:30
|
|
|
|
2014-04-17 06:16:05 +05:30
|
|
|
/// Interface to "srv:" service
|
2014-04-16 08:58:03 +05:30
|
|
|
class Interface : public Service::Interface {
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
|
|
|
Interface();
|
|
|
|
|
|
|
|
~Interface();
|
|
|
|
|
|
|
|
/**
|
2014-04-16 09:33:41 +05:30
|
|
|
* Gets the string name used by CTROS for the service
|
2014-04-16 08:58:03 +05:30
|
|
|
* @return Port name of service
|
|
|
|
*/
|
2014-05-19 07:13:29 +05:30
|
|
|
const char *GetPortName() const {
|
2014-04-16 08:58:03 +05:30
|
|
|
return "srv:";
|
|
|
|
}
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
} // namespace
|