spl: update for new-ipc (fixes two bugs in sf)

This commit is contained in:
Michael Scire authored and SciresM committed 2019-12-07 12:41:28 -08:00
1 parent 59140d8dfa
commit 635ae4e3da
23 files changed
+377 -311

No files matched your search

@@ -21,7 +21,7 @@
namespace sts::spl {
class RandomService final : public IServiceObject {
class RandomService final : public sf::IServiceObject {
protected:
enum class CommandId {
GenerateRandomBytes = 0,
@@ -31,10 +31,10 @@ namespace sts::spl {
virtual ~RandomService() { /* ... */ }
private:
/* Actual commands. */
virtual Result GenerateRandomBytes(OutBuffer<u8> out);
virtual Result GenerateRandomBytes(const sf::OutBuffer &out);
public:
DEFINE_SERVICE_DISPATCH_TABLE {
MAKE_SERVICE_COMMAND_META(RandomService, GenerateRandomBytes),
MAKE_SERVICE_COMMAND_META(GenerateRandomBytes),
};
};