aboutsummaryrefslogtreecommitdiff
path: root/src/ui/helper.cpp
blob: 6f67e701198970bbc924050a400bdaa6b1cb1f85 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#include "Helper.hpp"

#include "cru/platform/graph/Factory.hpp"
#include "cru/platform/native/UiApplication.hpp"

namespace cru::ui {
using cru::platform::graph::IGraphFactory;
using cru::platform::native::IUiApplication;

IGraphFactory* GetGraphFactory() {
  return IUiApplication::GetInstance()->GetGraphFactory();
}

IUiApplication* GetUiApplication() { return IUiApplication::GetInstance(); }
}  // namespace cru::ui