This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

#5620 Convert OSXScreen into Objective C++

  • Loading branch information...
nlyan committed Oct 12, 2016
1 parent d1396c9 commit df88faaad8dccba38f91f026dc09b4984539d239
Showing with 4 additions and 1 deletion.
  1. +2 −0 src/lib/platform/OSXScreen.h
  2. +2 −1 src/lib/platform/{OSXScreen.cpp → OSXScreen.mm}
@@ -344,4 +344,6 @@ class OSXScreen : public PlatformScreen {
Mutex* m_carbonLoopMutex;
CondVar<bool>* m_carbonLoopReady;
#endif
+
+ class OSXScreenImpl* m_impl;
};
@@ -112,7 +112,8 @@ OSXScreen::OSXScreen(IEventQueue* events, bool isPrimary, bool autoShowHideCurso
m_lastSingleClickYCursor(0),
m_autoShowHideCursor(autoShowHideCursor),
m_events(events),
- m_getDropTargetThread(NULL)
+ m_getDropTargetThread(NULL),
+ m_impl(NULL)
{
try {
m_displayID = CGMainDisplayID();

0 comments on commit df88faa

Please sign in to comment.