History

Fix non self-sufficient headers

Clement committed 8 years ago

Commit da9fb9c1 parent ec35462263 files · +629 −600Browse files

Showing the changes to libraries/script-engine/src/EventTypes.cpp (1 of 263 files). Show all

Unified · Split

libraries/script-engine/src/EventTypes.cpp+2−2
@@ -9,6 +9,8 @@ · 8 unmodified lines
99 // See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
1010 //
1111
12+#include "EventTypes.h"
13+
1214 #include "KeyEvent.h"
1315 #include "MouseEvent.h"
1416 #include "SpatialEvent.h"
@@ -16,8 +18,6 @@ · 1 unmodified line
1618 #include "TouchEvent.h"
1719 #include "WheelEvent.h"
1820
19−#include "EventTypes.h"
20−
2121 void registerEventTypes(QScriptEngine* engine) {
2222 qScriptRegisterMetaType(engine, KeyEvent::toScriptValue, KeyEvent::fromScriptValue);
2323 qScriptRegisterMetaType(engine, MouseEvent::toScriptValue, MouseEvent::fromScriptValue);