#ifndef CFGLAZYINITIALIZER_H #define CFGLAZYINITIALIZER_H #include "coreSQLiteStudio_global.h" #include #include class API_EXPORT CfgLazyInitializer { public: CfgLazyInitializer(std::function initFunc, const char* name); static void init(); private: void doInitialize(); std::function initFunc; static QList* instances; }; #endif // CFGLAZYINITIALIZER_H