mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-23 18:02:05 -05:00
LibIPC+IPCCompiler: Remove some unused members from generated messages
This commit is contained in:
parent
20d9c431ce
commit
ef01af1cb2
2 changed files with 2 additions and 4 deletions
|
@ -294,11 +294,9 @@ int main(int argc, char** argv)
|
|||
dbg() << " " << constructor_for_message(name, parameters);
|
||||
dbg() << " virtual ~" << name << "() override {}";
|
||||
dbg() << " virtual i32 endpoint_magic() const override { return " << endpoint.magic << "; }";
|
||||
dbg() << " static i32 static_endpoint_magic() { return " << endpoint.magic << "; }";
|
||||
dbg() << " virtual i32 message_id() const override { return (int)MessageID::" << name << "; }";
|
||||
dbg() << " static i32 static_message_id() { return (int)MessageID::" << name << "; }";
|
||||
dbg() << " virtual String message_name() const override { return \"" << endpoint.name << "::" << name << "\"; }";
|
||||
dbg() << " static String static_message_name() { return \"" << endpoint.name << "::" << name << "\"; }";
|
||||
dbg() << " virtual const char* message_name() const override { return \"" << endpoint.name << "::" << name << "\"; }";
|
||||
dbg() << " static OwnPtr<" << name << "> decode(BufferStream& stream, size_t& size_in_bytes)";
|
||||
dbg() << " {";
|
||||
|
||||
|
|
|
@ -38,7 +38,7 @@ public:
|
|||
|
||||
virtual int endpoint_magic() const = 0;
|
||||
virtual int message_id() const = 0;
|
||||
virtual String message_name() const = 0;
|
||||
virtual const char* message_name() const = 0;
|
||||
virtual MessageBuffer encode() const = 0;
|
||||
|
||||
protected:
|
||||
|
|
Loading…
Add table
Reference in a new issue