diff options
author | Dominik Holland <dominik.holland@qt.io> | 2021-05-27 17:43:38 +0200 |
---|---|---|
committer | Dominik Holland <dominik.holland@qt.io> | 2021-05-28 14:13:31 +0200 |
commit | b2107c897eb0a945c2a3b756322f261c549c13aa (patch) | |
tree | 72394e20f7996995caa05d27a156f65e9096a918 /src/tools/ivigenerator/templates/frontend/backendinterface.h.tpl | |
parent | e63abd2a122a21623e0c623b94f4719149c1eca7 (diff) |
ivigenerator: Remove the "Module" postfix in the autogenerated classes
The module class which is autogenerated by the ivigenerator always got
a postfix which was used to prevent compilation errors when module and
interface had the same name.
As we don't use any extra postfix for structs or interfaces either
the "Module" postfix is now dropped as well and the module should rather
be renamed already in the IDL file instead.
Change-Id: I91bf95e824436e65e374aaf397ecd5c548444589
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Robert Griebl <robert.griebl@qt.io>
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
Diffstat (limited to 'src/tools/ivigenerator/templates/frontend/backendinterface.h.tpl')
-rw-r--r-- | src/tools/ivigenerator/templates/frontend/backendinterface.h.tpl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tools/ivigenerator/templates/frontend/backendinterface.h.tpl b/src/tools/ivigenerator/templates/frontend/backendinterface.h.tpl index 2eb9b97..699f283 100644 --- a/src/tools/ivigenerator/templates/frontend/backendinterface.h.tpl +++ b/src/tools/ivigenerator/templates/frontend/backendinterface.h.tpl @@ -51,9 +51,9 @@ #define {{oncedefine}} {% if interface.module.tags.config.module %} -#include <{{interface.module.tags.config.module}}/{{module.module_name|lower}}module.h> +#include <{{interface.module.tags.config.module}}/{{module.module_name|lower}}.h> {% else %} -#include "{{module.module_name|lower}}module.h" +#include "{{module.module_name|lower}}.h" {% endif %} {% for inc in interface|struct_includes %} |