[tools/generator] Improve resource destruction on server side

Authored by graesslin on Oct 20 2016, 12:53 PM.

Description

[tools/generator] Improve resource destruction on server side

The generator misdetected the destructor Requests by looking at the
arguments instead of the type of the request.

In addition the destructor handling changed in KWayland::Server since
the generator got created. There is now a shared implementation for the
Resource destruction. The generator is adjusted to generate the code for
that and implements the destruction for the Global resource destruction.

Details

Committed
graesslinOct 20 2016, 12:53 PM
Parents
R127:ee3f47a597f7: Add request to have focus in a PlasmaShellSurface of Role Panel
Branches
Unknown
Tags
Unknown