aboutsummaryrefslogtreecommitdiff
path: root/src/osx/gui/Window.mm
blob: 1ee0299a2d5f65b1d2b9a85180523f145760f82d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#include "cru/osx/gui/Window.hpp"

#include "cru/osx/gui/UiApplication.hpp"

namespace cru::platform::gui::osx {
namespace details {
class OsxWindowPrivate {
  friend OsxWindow;

 public:
  explicit OsxWindowPrivate(OsxWindow* osx_window) : osx_window_(osx_window) {}

  CRU_DELETE_COPY(OsxWindowPrivate)
  CRU_DELETE_MOVE(OsxWindowPrivate)

  ~OsxWindowPrivate() = default;

 private:
  OsxWindow* osx_window_;
};
}

OsxWindow::OsxWindow(OsxUiApplication* ui_application)
    : OsxGuiResource(ui_application), p_(new details::OsxWindowPrivate(this)) {}

OsxWindow::~OsxWindow() {}
}