spl: update for new-ipc (fixes two bugs in sf)
This commit is contained in:
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),
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user