aboutsummaryrefslogtreecommitdiff
path: root/src/ui/helper.cpp
blob: 4d5d86657914167ca24a3ab774fc9348a2247484 (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/ui_application.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