[tools] Generate #include "wayland_pointer.h"

In the client cpp file this include should be generated.
This commit is contained in:
Martin Gräßlin 2016-10-25 14:28:39 +02:00
parent 80d45c4c21
commit 568ab11239

View file

@ -591,7 +591,8 @@ void Generator::generateCppIncludes()
switch (m_project.localData()) {
case Project::Client:
*m_stream.localData() << QStringLiteral("#include \"%1.h\"\n").arg(m_baseFileName.toLower());
*m_stream.localData() << QStringLiteral("#include \"event_queue.h\"\n\n");
*m_stream.localData() << QStringLiteral("#include \"event_queue.h\"\n");
*m_stream.localData() << QStringLiteral("#include \"wayland_pointer.h\"\n\n");
break;
case Project::Server:
*m_stream.localData() << QStringLiteral("#include \"%1_interface.h\"\n").arg(m_baseFileName.toLower());