diff --git a/AppTracker.cpp b/AppTracker.cpp index 7c8f48a..3ccf320 100644 --- a/AppTracker.cpp +++ b/AppTracker.cpp @@ -14,6 +14,8 @@ AppTracker::AppTracker() windowTracker = std::make_unique(); #elif __linux__ windowTracker = std::make_unique(); +#elif __APPLE__ + windowTracker = std::make_unique(); #else throw std::runtime_error("Unsupported OS"); #endif diff --git a/IWindowInterface.cpp b/IWindowInterface.cpp index 49e3098..a25fc99 100644 --- a/IWindowInterface.cpp +++ b/IWindowInterface.cpp @@ -166,4 +166,9 @@ void LinuxTracker::startTracking() XCloseDisplay(display); } -#endif \ No newline at end of file +#endif + +// TODO +void MacOSTracker::startTracking() { + throw std::runtime_error("MacOS has not been implemented yet!"); +} \ No newline at end of file