#pragma once #include #include "nglloggerhandler.h" #ifndef NGLCOREAPPLICATION_EXPORT #ifdef BUILD_STATIC_LIBRARIES #define NGLCOREAPPLICATION_EXPORT #else #ifdef MAKE_NGLCOREAPPLICATION_LIB #define NGLCOREAPPLICATION_EXPORT Q_DECL_EXPORT #else #define NGLCOREAPPLICATION_EXPORT Q_DECL_IMPORT #endif #endif #endif namespace NGL { class INGLLogger; } class NGLCOREAPPLICATION_EXPORT NGLCoreApplication : public QCoreApplication , public NGL::LoggerHandler { Q_OBJECT public: NGLCoreApplication(int &argc, char **argv); };