summaryrefslogtreecommitdiff
path: root/src/system_fsm/service_locator.cpp
blob: 1d4d8a65eb62990828f047c74011602a3c2732a9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/*
 * Copyright 2023 jacqueline <me@jacqueline.id.au>
 *
 * SPDX-License-Identifier: GPL-3.0-only
 */

#include "service_locator.hpp"

#include <memory>

#include "nvs.hpp"
#include "touchwheel.hpp"

namespace system_fsm {

auto ServiceLocator::instance() -> ServiceLocator& {
  static ServiceLocator sInstance{};
  return sInstance;
}

}  // namespace system_fsm