mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-08 23:47:42 +00:00
General: Include headers where applicable
Ensures necessary dependencies are always included where applicable, as well as avoiding including dependencies where they aren't necessary.
This commit is contained in:
@@ -1,7 +1,13 @@
|
||||
#include "specter/Control.hpp"
|
||||
|
||||
#include <hecl/CVar.hpp>
|
||||
|
||||
namespace specter {
|
||||
|
||||
std::string_view CVarControlBinding::name([[maybe_unused]] const Control* control) const { return m_cvar->name(); }
|
||||
|
||||
std::string_view CVarControlBinding::help([[maybe_unused]] const Control* control) const { return m_cvar->rawHelp(); }
|
||||
|
||||
Control::Control(ViewResources& res, View& parentView, IControlBinding* controlBinding)
|
||||
: View(res, parentView), m_controlBinding(controlBinding) {}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user