aboutsummaryrefslogtreecommitdiffstats
path: root/src/core/GpgFrontendCore.h
diff options
context:
space:
mode:
authorsaturneric <[email protected]>2023-10-23 10:27:25 +0000
committersaturneric <[email protected]>2023-10-23 10:27:25 +0000
commit8fdeb3af49999f29e017b7f7a70bd36f020ba721 (patch)
treedb90267c3c88d488570a8e359bd511b64c5686d8 /src/core/GpgFrontendCore.h
parentfeat: improve project structure and add GRT for modules (diff)
downloadGpgFrontend-8fdeb3af49999f29e017b7f7a70bd36f020ba721.tar.gz
GpgFrontend-8fdeb3af49999f29e017b7f7a70bd36f020ba721.zip
perf: reduce header includes and improve build speed
Diffstat (limited to 'src/core/GpgFrontendCore.h')
-rw-r--r--src/core/GpgFrontendCore.h45
1 files changed, 9 insertions, 36 deletions
diff --git a/src/core/GpgFrontendCore.h b/src/core/GpgFrontendCore.h
index 82785fbe..8478e2f0 100644
--- a/src/core/GpgFrontendCore.h
+++ b/src/core/GpgFrontendCore.h
@@ -26,50 +26,23 @@
*
*/
-#ifndef GPGFRONTEND_GPGFRONTENDCORE_H
-#define GPGFRONTEND_GPGFRONTENDCORE_H
+#pragma once
-#include "GpgFrontend.h"
-
-// gnupg
-#include <gpgme.h>
-
-// std includes
-#include <any>
-#include <cassert>
+// std
#include <filesystem>
-#include <functional>
-#include <map>
#include <memory>
-#include <mutex>
-#include <random>
-#include <set>
-#include <shared_mutex>
-#include <stdexcept>
#include <string>
-#include <typeinfo>
-#include <utility>
#include <vector>
-// boost includes
-#include <boost/date_time.hpp>
-#include <boost/date_time/posix_time/conversion.hpp>
-#include <boost/date_time/posix_time/posix_time.hpp>
-#include <boost/date_time/posix_time/ptime.hpp>
-#include <boost/filesystem/operations.hpp>
-#include <boost/filesystem/path.hpp>
-#include <boost/format.hpp>
-
-// Qt includes
+// Qt
#include <QtCore>
-// libconfig includes
-#include <libconfig.h++>
+// spdlog library configuration
+#define SPDLOG_ACTIVE_LEVEL SPDLOG_LEVEL_TRACE
+#include <spdlog/spdlog.h>
-// json includes
-#include <nlohmann/json.hpp>
+// logbal includes or macroes
+#include "GpgFrontend.h"
-// dll export macro
+// dll export macroes
#include "GpgFrontendCoreExport.h"
-
-#endif // GPGFRONTEND_GPGFRONTENDCORE_H