// NeL - MMORPG Framework // Copyright (C) 2010 Winch Gate Property Limited // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as // published by the Free Software Foundation, either version 3 of the // License, or (at your option) any later version. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU Affero General Public License for more details. // // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see . #ifndef COMMON_H #define COMMON_H #if defined(_MSC_VER) && defined(_DEBUG) #define _CRTDBG_MAP_ALLOC #include #include #define DEBUG_NEW new(_NORMAL_BLOCK, __FILE__, __LINE__) #undef realloc #undef free #endif #include #ifdef Q_COMPILER_RVALUE_REFS #undef Q_COMPILER_RVALUE_REFS #endif #include #include #if (QT_VERSION >= QT_VERSION_CHECK(5, 0, 0)) #define USE_QT5 #endif #ifdef USE_QT5 #include #include #endif #include #include #include #include #include #include #include #endif