1
0
Fork 0
mirror of https://github.com/Atmosphere-NX/Atmosphere.git synced 2025-01-11 20:06:21 +00:00
Atmosphere/stratosphere/libstratosphere/include/stratosphere/iserviceobject.hpp
2018-06-02 22:46:27 -07:00

11 lines
327 B
C++

#pragma once
#include <switch.h>
#include "ipc_templating.hpp"
class IServiceObject {
protected:
virtual ~IServiceObject() { }
virtual Result dispatch(IpcParsedCommand &r, IpcCommand &out_c, u64 cmd_id, u8 *pointer_buffer, size_t pointer_buffer_size) = 0;
virtual Result handle_deferred() = 0;
};