refactor(main): move remaining entry related code (#2127)

This commit is contained in:
ReenigneArcher 2024-02-11 14:15:45 -05:00 • committed by GitHub
commit 8689469ea8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
32 changed files with 560 additions and 439 deletions

27
src/globals.cpp Normal file
View file

@ -0,0 +1,27 @@
/**
* @file globals.cpp
* @brief Implementation for globally accessible variables and functions.
*/
#include "globals.h"
/**
* @brief A process-wide communication mechanism.
*/
safe::mail_t mail::man;
/**
* @brief A thread pool for processing tasks.
*/
thread_pool_util::ThreadPool task_pool;
/**
* @brief A boolean flag to indicate whether the cursor should be displayed.
*/
bool display_cursor = true;
#ifdef _WIN32
/**
* @brief A global singleton used for NVIDIA control panel modifications.
*/
nvprefs::nvprefs_interface nvprefs_instance;
#endif