8#ifndef GALAXY_CORE_APPLICATION_HPP_
9#define GALAXY_CORE_APPLICATION_HPP_
11#include <SFML/Window/Cursor.hpp>
19 inline __declspec(dllexport)
int AmdPowerXpressRequestHighPerformance = 1;
20 inline __declspec(dllexport) std::uint32_t NvOptimusEnablement = 0x00000001;
24 inline int AmdPowerXpressRequestHighPerformance = 1;
25 inline std::uint32_t NvOptimusEnablement = 0x00000001;
53 explicit App(std::string_view log_dir, std::string_view config_file);
Base level class for any galaxy app.
App(const App &)=delete
Copy constructor.
App & operator=(App &&)=delete
Move assignment operator.
void setup_config(std::string_view config_file)
void setup_logging(std::string_view log_dir)
void load()
Loads the default appdata file.
std::optional< sf::Cursor > m_cursor
SFML cursor handle. Needs to be kept in memory.
App(App &&)=delete
Move constructor.
void handle_events(sf::RenderWindow &window)
App & operator=(const App &)=delete
Copy assignment operator.
App(std::string_view log_dir, std::string_view config_file)
Default constructor.