#ifndef CLIB_PROGRAM_CONFIG_H #define CLIB_PROGRAM_CONFIG_H #include namespace Pol { namespace Clib { class ProgramConfig { public: ProgramConfig() = default; virtual ~ProgramConfig() = default; /** * @brief Returns the name of the currently running program */ static std::string programName(); /** * @brief Returns the directory of the currently running program */ static std::string programDir(); static std::string build_target(); static std::string build_datetime(); /** * @brief Configures the bug reporting system */ static void configureProgramEnvironment( const std::string& programName ); private: static std::string m_programName; static std::string m_programDir; }; } // namespace Clib } // namespace Pol #define PROG_CONFIG Pol::Clib::ProgramConfig #endif // CLIB_PROGRAM_CONFIG_H