| 58 | //! interface is deleted. |
| 59 | template<typename Interface> |
| 60 | void addCleanup(Interface& iface, std::function<void()> cleanup) |
| 61 | { |
| 62 | addCleanup(typeid(Interface), &iface, std::move(cleanup)); |
| 63 | } |
| 64 | |
| 65 | //! IPC context struct accessor (see struct definition for more description). |
| 66 | virtual ipc::Context& context() = 0; |