From dcf3ba27851d3ed2334853d00a1d9213d09278b8 Mon Sep 17 00:00:00 2001 From: dfighter1985 Date: Thu, 25 Jul 2013 01:35:44 +0200 Subject: [PATCH] Move unix event emitter out of the driver, to NL3D. --HG-- branch : gsoc2013-dfighter --- .../3d/driver/opengl => include/nel/3d}/unix_event_emitter.h | 0 code/nel/src/3d/CMakeLists.txt | 2 ++ code/nel/src/3d/driver/opengl/driver_opengl.h | 2 +- code/nel/src/3d/{driver/opengl => }/unix_event_emitter.cpp | 4 ++-- 4 files changed, 5 insertions(+), 3 deletions(-) rename code/nel/{src/3d/driver/opengl => include/nel/3d}/unix_event_emitter.h (100%) rename code/nel/src/3d/{driver/opengl => }/unix_event_emitter.cpp (99%) diff --git a/code/nel/src/3d/driver/opengl/unix_event_emitter.h b/code/nel/include/nel/3d/unix_event_emitter.h similarity index 100% rename from code/nel/src/3d/driver/opengl/unix_event_emitter.h rename to code/nel/include/nel/3d/unix_event_emitter.h diff --git a/code/nel/src/3d/CMakeLists.txt b/code/nel/src/3d/CMakeLists.txt index 46f4027a8..2305719d8 100644 --- a/code/nel/src/3d/CMakeLists.txt +++ b/code/nel/src/3d/CMakeLists.txt @@ -170,6 +170,8 @@ SOURCE_GROUP(Driver FILES ../../include/nel/3d/shader_visitor.h texture.cpp ../../include/nel/3d/texture.h + unix_event_emitter.cpp + ../../include/nel/3d/unix_event_emitter.h vertex_buffer.cpp ../../include/nel/3d/vertex_buffer.h vertex_buffer_heap.cpp diff --git a/code/nel/src/3d/driver/opengl/driver_opengl.h b/code/nel/src/3d/driver/opengl/driver_opengl.h index bfe73492d..7e49d5003 100644 --- a/code/nel/src/3d/driver/opengl/driver_opengl.h +++ b/code/nel/src/3d/driver/opengl/driver_opengl.h @@ -68,7 +68,7 @@ #elif defined(NL_OS_MAC) #include "mac/cocoa_event_emitter.h" #elif defined (NL_OS_UNIX) -#include "unix_event_emitter.h" +#include "nel/3d/unix_event_emitter.h" #endif // NL_OS_UNIX diff --git a/code/nel/src/3d/driver/opengl/unix_event_emitter.cpp b/code/nel/src/3d/unix_event_emitter.cpp similarity index 99% rename from code/nel/src/3d/driver/opengl/unix_event_emitter.cpp rename to code/nel/src/3d/unix_event_emitter.cpp index c59167183..d8729e032 100644 --- a/code/nel/src/3d/driver/opengl/unix_event_emitter.cpp +++ b/code/nel/src/3d/unix_event_emitter.cpp @@ -14,8 +14,8 @@ // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see . -#include "stdopengl.h" -#include "unix_event_emitter.h" +//#include "stdopengl.h" +#include "nel/3d/unix_event_emitter.h" #if defined(NL_OS_UNIX) && !defined(NL_OS_MAC)