Skip to content

Commit

Permalink
add helper method isViewTracking()
Browse files Browse the repository at this point in the history
  • Loading branch information
realSquidCoder committed Feb 1, 2025
1 parent 4ce7628 commit 9a03de7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -819,6 +819,10 @@ namespace {
}
}

bool isViewTracking() {
auto& ssConfig = stonesenseState.ssConfig;
return ssConfig.config.track_mode != Config::TRACKING_NONE;
}

bool loadConfigFile()
{
Expand Down
1 change: 1 addition & 0 deletions Config.h
Original file line number Diff line number Diff line change
Expand Up @@ -77,5 +77,6 @@ struct action_name_mapper {
void (*func)(uint32_t);
};

bool isViewTracking();
bool loadConfigFile();
std::optional<std::string> trim_line(std::string line);

0 comments on commit 9a03de7

Please sign in to comment.