renamed class Interface_SRV to SRV

This commit is contained in:
bunnei 2014-04-13 01:22:05 -04:00
parent ce822b6815
commit 524e78ece8

View file

@ -66,14 +66,14 @@ Interface* Manager::FetchFromPortName(std::string port_name) {
//////////////////////////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////////////////////////
// Interface to "SRV" service // Interface to "SRV" service
class Interface_SRV : public Interface { class SRV : public Interface {
public: public:
Interface_SRV() { SRV() {
} }
~Interface_SRV() { ~SRV() {
} }
enum { enum {
@ -108,11 +108,11 @@ public:
switch (header) { switch (header) {
case CMD_HEADER_INIT: case CMD_HEADER_INIT:
NOTICE_LOG(HLE, "Interface_SRV::Sync - Initialize"); NOTICE_LOG(HLE, "SRV::Sync - Initialize");
break; break;
case CMD_HEADER_GET_HANDLE: case CMD_HEADER_GET_HANDLE:
NOTICE_LOG(HLE, "Interface_SRV::Sync - GetHandle, port: %s", HLE::GetCharPointer(HLE::CMD_BUFFER_ADDR + CMD_OFFSET + 4)); NOTICE_LOG(HLE, "SRV::Sync - GetHandle, port: %s", HLE::GetCharPointer(HLE::CMD_BUFFER_ADDR + CMD_OFFSET + 4));
break; break;
} }
@ -127,7 +127,7 @@ public:
/// Initialize ServiceManager /// Initialize ServiceManager
void Init() { void Init() {
g_manager = new Manager; g_manager = new Manager;
g_manager->AddService(new Interface_SRV); g_manager->AddService(new SRV);
NOTICE_LOG(HLE, "Services initialized OK"); NOTICE_LOG(HLE, "Services initialized OK");
} }