CliApplication::CliApplication(int &pArgC, char *pArgV[]) : // NOLINT(hicpp-avoid-c-arrays, modernize-avoid-c-arrays) mPluginManager(nullptr), mLoadedPluginPlugins(Plugins()), mLoadedCliPlugins(Plugins()) { // Create our CLI application mCliApplication = new QCoreApplication(pArgC, pArgV); }
void MetadataList::Save(const boost::filesystem::path& filepath) { BOOST_LOG_TRIVIAL(trace) << "Saving metadata list to: " << filepath; YAML::Emitter yout; yout.SetIndent(2); yout << YAML::BeginMap << YAML::Key << "plugins" << YAML::Value << Plugins() << YAML::Key << "globals" << YAML::Value << messages << YAML::EndMap; boost::filesystem::ofstream uout(filepath); uout << yout.c_str(); uout.close(); }
CliApplication::CliApplication() : mPluginManager(0), mLoadedCliPlugins(Plugins()) { }
CliApplication::CliApplication(QCoreApplication *pApp) : mApp(pApp), mPluginManager(0), mLoadedCliPlugins(Plugins()) { }