From a51a54bc5979a2491f152abc47ad54e6b63f27c8 Mon Sep 17 00:00:00 2001 From: Dylam De La Torre Date: Tue, 23 Nov 2021 05:21:56 +0100 Subject: Restructure source and resource files (#46) importantly, res is now res/res and css is now res/css --- state.hpp | 27 --------------------------- 1 file changed, 27 deletions(-) delete mode 100644 state.hpp (limited to 'state.hpp') diff --git a/state.hpp b/state.hpp deleted file mode 100644 index 230808f..0000000 --- a/state.hpp +++ /dev/null @@ -1,27 +0,0 @@ -#include -#include -#include "discord/snowflake.hpp" - -struct ExpansionState; -struct ExpansionStateRoot { - std::map Children; - - friend void to_json(nlohmann::json &j, const ExpansionStateRoot &m); - friend void from_json(const nlohmann::json &j, ExpansionStateRoot &m); -}; - -struct ExpansionState { - bool IsExpanded; - ExpansionStateRoot Children; - - friend void to_json(nlohmann::json &j, const ExpansionState &m); - friend void from_json(const nlohmann::json &j, ExpansionState &m); -}; - -struct AbaddonApplicationState { - Snowflake ActiveChannel; - ExpansionStateRoot Expansion; - - friend void to_json(nlohmann::json &j, const AbaddonApplicationState &m); - friend void from_json(const nlohmann::json &j, AbaddonApplicationState &m); -}; -- cgit v1.2.3