18 #ifndef __H__OCULAR_RENDERER_WINDOW_MANAGER__H__
19 #define __H__OCULAR_RENDERER_WINDOW_MANAGER__H__
21 #include "WindowDisplay.hpp"
22 #include "WindowDescriptor.hpp"
90 std::list<std::shared_ptr<AWindow>>
listWindows()
const;
117 std::shared_ptr<AWindow>
getWindow(
void* osPointer);
144 std::shared_ptr<AWindow> openWindowWin32(
WindowDescriptor const& descriptor);
146 std::shared_ptr<AWindow> openWindowLinux(
WindowDescriptor const& descriptor);
148 std::shared_ptr<AWindow> connectWindowWin32(
WindowDescriptor const& descriptor,
void* windowID);
149 std::shared_ptr<AWindow> connectWindowOSX(
WindowDescriptor const& descriptor,
void* windowID);
150 std::shared_ptr<AWindow> connectWindowLinux(
WindowDescriptor const& descriptor,
void* windowID);
152 std::list<std::shared_ptr<AWindow>> m_Windows;
153 std::shared_ptr<AWindow> m_MainWindow;
Definition: WindowManager.hpp:50
std::shared_ptr< AWindow > openWindow(WindowDescriptor const &descriptor)
Definition: WindowManager.cpp:48
std::shared_ptr< AWindow > getMainWindow()
Definition: WindowManager.cpp:173
std::shared_ptr< AWindow > connectWindow(WindowDescriptor const &descriptor, void *windowID)
Definition: WindowManager.cpp:59
Definition: WindowDescriptor.hpp:78
Note: Once this library is made dynamic, this will no longer be needed.
Definition: Common.hpp:70
void updateWindows(int64_t time)
Definition: WindowManager.cpp:183
std::list< std::shared_ptr< AWindow > > listWindows() const
Definition: WindowManager.cpp:128
std::shared_ptr< AWindow > getWindow(UUID const &uuid)
Definition: WindowManager.cpp:138
void setMainWindow(UUID const &uuid)
Definition: WindowManager.cpp:178
void closeWindow(UUID const &uuid)
Definition: WindowManager.cpp:70
void closeAllWindows()
Definition: WindowManager.cpp:120
uint32_t getNumWindows() const
Definition: WindowManager.cpp:133