summaryrefslogtreecommitdiff
path: root/abaddon.hpp
diff options
context:
space:
mode:
authorouwou <26526779+ouwou@users.noreply.github.com>2021-11-04 01:39:56 -0400
committerouwou <26526779+ouwou@users.noreply.github.com>2021-11-04 01:39:56 -0400
commit1f445742b4fbc185fe0e24d9ed2478e4f7495f53 (patch)
tree115717c39b7769a7ad97776fbc299362fd8b10c9 /abaddon.hpp
parentd629846220d069a86b000db213d47c8681e8f57a (diff)
downloadabaddon-portaudio-1f445742b4fbc185fe0e24d9ed2478e4f7495f53.tar.gz
abaddon-portaudio-1f445742b4fbc185fe0e24d9ed2478e4f7495f53.zip
preserve channel list expansion and active channel (#36)
also check getenv in platform
Diffstat (limited to 'abaddon.hpp')
-rw-r--r--abaddon.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/abaddon.hpp b/abaddon.hpp
index 92485fb..0fb4f1f 100644
--- a/abaddon.hpp
+++ b/abaddon.hpp
@@ -84,13 +84,17 @@ public:
static std::string GetCSSPath();
static std::string GetResPath();
+ static std::string GetStateCachePath();
static std::string GetCSSPath(const std::string &path);
static std::string GetResPath(const std::string &path);
+ static std::string GetStateCachePath(const std::string &path);
protected:
void ShowGuildVerificationGateDialog(Snowflake guild_id);
void SetupUserMenu();
+ void SaveState();
+ void LoadState();
Snowflake m_shown_user_menu_id;
Snowflake m_shown_user_menu_guild_id;