26 lines
782 B
C++
26 lines
782 B
C++
#ifndef MAIN_HPP
|
|
#define MAIN_HPP
|
|
#include <const.h>
|
|
#include "account.hpp"
|
|
#include "title.hpp"
|
|
#include "util.hpp"
|
|
#include <memory>
|
|
#include <switch.h>
|
|
#include "logger.hpp"
|
|
|
|
typedef enum { SORT_ALPHA, SORT_LAST_PLAYED, SORT_PLAY_TIME, SORT_MODES_COUNT } sort_t;
|
|
|
|
inline float g_currentTime = 0;
|
|
inline AccountUid g_currentUId;
|
|
inline bool g_backupScrollEnabled = 0;
|
|
inline bool g_notificationLedAvailable = false;
|
|
inline bool g_shouldExitNetworkLoop = false;
|
|
inline std::string g_selectedCheatKey;
|
|
inline std::vector<std::string> g_selectedCheatCodes;
|
|
inline u32 g_username_dotsize;
|
|
inline sort_t g_sortMode = SORT_ALPHA;
|
|
inline std::string g_currentFile = "";
|
|
inline bool g_isTransferringFile = false;
|
|
inline const std::string g_emptySave = "New...";
|
|
|
|
#endif |